ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2016-10-26 02:16:35 -0500 | received badge | ● Student (source) |
2014-10-10 10:06:29 -0500 | received badge | ● Famous Question (source) |
2013-10-22 02:15:57 -0500 | received badge | ● Notable Question (source) |
2013-08-19 02:55:34 -0500 | received badge | ● Popular Question (source) |
2013-08-19 01:53:07 -0500 | commented question | Force subscriber to process messages in the right order I just realized that my problem only exists if I use a tf::MessageFilter when subscribing. Nevertheless, I don't understand why the messages are not processed in the order of their time stamps, since they all have the same frame_id, so the transforms should be available for older messages first. |
2013-08-17 07:33:50 -0500 | asked a question | Force subscriber to process messages in the right order I have a single publisher that publishes messages at high frequency (1800 Hz), and a subscriber in another node. I realized that the messages are not always processed sequentially. I verified this by doing the following: in the callback function, I output a warning every time the seq number of the processed message is lower than the seq number of the message processed in the previous call of the callback. My question: is there a way to force a subscriber to process the incoming messages exactly in the order of the seq numbers in their header? (up to now I thought this would be the case by default with a single subscriber/publisher system, but apparently it isn't...) Any help is greatly appreciated! |
2011-07-12 23:25:09 -0500 | received badge | ● Teacher (source) |
2011-07-12 22:10:33 -0500 | received badge | ● Editor (source) |
2011-07-12 22:09:37 -0500 | answered a question | vslam does not publish visual odometry data . I did the following: in the file vslam_system/src/nodes/stereo_vslam_node.cpp go to line 159 and replace "if (0)" by "if (1)" (then do a rosmake vslam_system) |
2011-04-27 23:44:57 -0500 | received badge | ● Taxonomist |
2011-03-02 21:48:27 -0500 | asked a question | Odometry publisher node hangs when subscriber is disconnected Hi, I have the following problem: I'm running a node on one computer which publishes nav_msgs::Odometry messages (ROS master running on this machine). Another computer is connected via Wi-Fi, and there's a node which subscribes to the odometry topic. Now, when the Wi-Fi connection is interrupted, the publisher node freezes. It starts publishing again when the connection is re-established. The strange thing is that it only happens with Odometry messages. Below is a simple example node with two publishers which I used to reproduce the problem. Now if I run this on one machine and on the other I do a "rostopic echo chatter2", then disconnect the Wi-Fi, the publisher node shuts down. However, if I do a "rostopic echo chatter1" and disconnect the Wi-Fi, nothing happens. Does anyone have an idea how I can avoid the publishing node hanging when the subscriber is disconnected? |