Ask Your Question
0

turtlebot_gazebo demo questions

asked Feb 22

cassander gravatar image cassander
61 5

updated Feb 23

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.

delete close flag offensive retag edit

Comments

Shouldn't this be five questions?

Mac (Feb 22)edit

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

Marcus (Feb 22)edit

@Marcus Thanks for pointing that out. Title changed )

cassander (Feb 23)edit

2 Answers

Sort by » oldest newest most voted
1

answered Feb 22

DimitriProsser gravatar image DimitriProsser flag of United States
6817 23 59 126

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.

link delete flag offensive edit
1

answered Feb 22

hsu gravatar image hsu
3258 7 29 51

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.

link delete flag offensive edit

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 (Feb 23)edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Feb 22

Seen: 76 times

Last updated: Feb 23