Ask Your Question
0

turtlebot_gazebo demo questions

asked 2012-02-22 08:06:58 -0500

cassander gravatar image

updated 2012-02-23 01:17:47 -0500

I have a few questions regarding the turtlebot_gazebo demo.

1 > Does the physics simulator gazebo limit the frame rate at 25 fps?

2 > What happens when a node publishes messages to a topic faster than they are being consumed? Do the messages wait in a queue to be consumed?

3 > And is it possible to have a computation graph where nodes are written using different client libraries?

4 > Could you also please tell what is the meaning of the term RMS Error in gazebo?

5 > How can a node consume and produce messages to the same topic? Is it some kind of closed feedback loop control for that particular node?

Thanks and regards.

edit retag flag offensive close merge delete

Comments

Shouldn't this be five questions?

Mac gravatar image Mac  ( 2012-02-22 13:11:51 -0500 )edit

I agree! At least put the common topic of all questions in the title, e.g. "turtlebot_gazebo demo details".

bit-pirate gravatar image bit-pirate  ( 2012-02-22 13:50:25 -0500 )edit

@Marcus Thanks for pointing that out. Title changed )

cassander gravatar image cassander  ( 2012-02-23 01:18:13 -0500 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2012-02-22 08:39:02 -0500

DimitriProsser gravatar image

1) The "frame rate" of Gazebo (the rate at which it's drawn to screen) is based on your computer's hardware. Gazebo runs two threads, a physics thread and a render thread. The physics thread's update rate can be set in the .world file.

2) ROS queues all incoming messages until nodes are able to service those callbacks. This queue length is specified in the constructor of a subscriber.

3) If by "different client libraries" you mean, "can you use C++ and Python for different nodes in the same graph?", then the answer is yes. You may be some nodes in C++ and some in Python with no problem at all.

4) I will omit this for someone more with more Gazebo knowledge.

5) It is not recommended to have a node subscribe to and publish to the same topic. You should have two different topics for this. Since you cannot know which node publishes a certain message on a topic, you could cause a lot of confusion doing this.

edit flag offensive delete link more
1

answered 2012-02-22 15:12:52 -0500

hsu gravatar image

4) RMS error displayed in gazebo (electric) is the root-mean-squared value of the change in Lagrange multipliers (Δλ) as described here. It's an approximate indicator of how much the constraint satisfaction step has converged under the quickstep algorithm.

edit flag offensive delete link more

Comments

Im sorry but that just flew over my head. In any case, is this something that I have to be consciously aware while using ROS and gazebo?

cassander gravatar image cassander  ( 2012-02-23 04:28:28 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-02-22 08:06:58 -0500

Seen: 178 times

Last updated: Feb 23 '12