ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks for this example; i have tried to run your main but i have this error:

Apr 13, 2014 11:33:58 AM org.ros.internal.node.client.Registrar INFO: MasterXmlRpcEndpoint URI: http://localhost:11311 Apr 13, 2014 11:33:58 AM org.ros.internal.node.client.Registrar onPublisherAdded INFO: Registering publisher: Publisher, TopicIdentifier>, Topic, TopicDescription>>> Apr 13, 2014 11:33:58 AM org.ros.internal.node.client.Registrar callMaster INFO: Response, TopicIdentifier>, Topic, TopicDescription>>> Apr 13, 2014 11:33:58 AM org.ros.internal.node.client.Registrar onPublisherAdded INFO: Registering publisher: Publisher, TopicIdentifier>, Topic, TopicDescription>>> Apr 13, 2014 11:33:58 AM org.ros.internal.node.client.Registrar callMaster INFO: Response, TopicIdentifier>, Topic, TopicDescription>>> Apr 13, 2014 11:33:58 AM org.apache.xmlrpc.server.XmlRpcStreamServer execute

SEVERE: execute: Error while performing request org.apache.xmlrpc.server.XmlRpcNoSuchHandlerException: No such handler: requestTopic at org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping.getHandler(AbstractReflectiveHandlerMapping.java:195) at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:42) at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83) at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182) at org.apache.xmlrpc.webserver.Connection.run(Connection.java:175) at org.apache.xmlrpc.util.ThreadPool$MyThread.runTask(ThreadPool.java:71) at org.apache.xmlrpc.util.ThreadPool$MyThread.run(ThreadPool.java:87)

Do you have any idea whi I have this error?

Thanks

Thanks for this example; i have tried to run your main but i have this error:

Apr 13, 2014 11:33:58 AM org.ros.internal.node.client.Registrar

Apr 13, 2014 2:40:16 PM org.ros.internal.node.client.Registrar <init>
INFO: MasterXmlRpcEndpoint URI: http://localhost:11311 Apr 13, 2014 11:33:58 AM org.ros.internal.node.client.Registrar onPublisherAdded http:/localhost:11311
Apr 13, 2014 2:40:16 PM org.ros.internal.node.client.Registrar onPublisherAdded
INFO: Registering publisher: Publisher, TopicIdentifier>, Topic, TopicDescription>>> Apr 13, 2014 11:33:58 AM org.ros.internal.node.client.Registrar callMaster INFO: Response, TopicIdentifier>, Topic, TopicDescription>>> Apr 13, 2014 11:33:58 AM org.ros.internal.node.client.Registrar onPublisherAdded Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</rosjava/talker, http:/localhost:42089/>, TopicIdentifier</rosout>>, Topic<TopicIdentifier</rosout>, TopicDescription<rosgraph_msgs/Log, acffd30cd6b6de30f120938c17c593fb>>>>
Apr 13, 2014 2:40:16 PM org.ros.internal.node.client.Registrar callMaster
INFO: Response<Success, Registered [/rosjava/talker] as publisher of [/rosout], [http://ubuntu:42979/]>
Apr 13, 2014 2:40:16 PM org.ros.internal.node.topic.DefaultPublisher$1 onMasterRegistrationSuccess
INFO: Publisher registered: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</rosjava/talker, http:/localhost:42089/>, TopicIdentifier</rosout>>, Topic<TopicIdentifier</rosout>, TopicDescription<rosgraph_msgs/Log, acffd30cd6b6de30f120938c17c593fb>>>>    
Apr 13, 2014 2:40:16 PM org.ros.internal.node.client.Registrar onPublisherAdded
INFO: Registering publisher: Publisher, TopicIdentifier>, Topic, TopicDescription>>> Apr 13, 2014 11:33:58 AM org.ros.internal.node.client.Registrar callMaster INFO: Response, TopicIdentifier>, Topic, TopicDescription>>> Apr 13, 2014 11:33:58 AM Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</rosjava/talker, http:/localhost:42089/>, TopicIdentifier</chatter>>, Topic<TopicIdentifier</chatter>, TopicDescription<std_msgs/String, 992ce8a1687cec8c8bd883ec73ca41d1>>>>
Apr 13, 2014 2:40:16 PM org.ros.internal.node.client.Registrar callMaster
INFO: Response<Success, Registered [/rosjava/talker] as publisher of [/chatter], []>
Apr 13, 2014 2:40:16 PM org.ros.internal.node.topic.DefaultPublisher$1 onMasterRegistrationSuccess
INFO: Publisher registered: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</rosjava/talker, http:/localhost:42089/>, TopicIdentifier</chatter>>, Topic<TopicIdentifier</chatter>, TopicDescription<std_msgs/String, 992ce8a1687cec8c8bd883ec73ca41d1>>>>
Apr 13, 2014 2:40:16 PM org.apache.xmlrpc.server.XmlRpcStreamServer execute

execute SEVERE: execute: Error while performing request request org.apache.xmlrpc.server.XmlRpcNoSuchHandlerException: No such handler: requestTopic at org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping.getHandler(AbstractReflectiveHandlerMapping.java:195) at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:42) at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83) at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182) at org.apache.xmlrpc.webserver.Connection.run(Connection.java:175) at org.apache.xmlrpc.util.ThreadPool$MyThread.runTask(ThreadPool.java:71) at org.apache.xmlrpc.util.ThreadPool$MyThread.run(ThreadPool.java:87)

requestTopic at org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping.getHandler(AbstractReflectiveHandlerMapping.java:195) at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:42) at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83) at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182) at org.apache.xmlrpc.webserver.Connection.run(Connection.java:175) at org.apache.xmlrpc.util.ThreadPool$MyThread.runTask(ThreadPool.java:71) at org.apache.xmlrpc.util.ThreadPool$MyThread.run(ThreadPool.java:87)

My roscore is start and if i write on a new shell "rostopic list" i see my topic (chatter); i have this error after few moments i run my main. The talker is created but it publish nothing. Do you have any idea whi I have this error?

Thanks