Ask Your Question

How can I check the time response of my model in Gazebo?

asked 2015-04-17 06:14:18 -0500

Alvaro Salcedo gravatar image

Hi Ros users!

I would like to know the time response of my model P3DX in Gazebo. I am going to explain it:

I am using ROS indigo, Gazebo2 and linux 14.04. I have a model P3DX (ua_p3dx_pkg). When I sent a linear velocity of 1m/s for example I wonder long does it take to reach that velocity my model. Maybe 0.2sec or samethink like that.

Is there any way to know that?

Thank you so much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-04-20 01:10:49 -0500

marguedas gravatar image

Hi, Gazebo publishes the pose and the twist of every link on /gazebo/link_states topic.
You should be able to plot the velocity of a given link using this message.

To know the index of the link you want to monitor you can check its index in the list /gazebo/link_states/name
Then you can plot /gazebo/link_states/twist[INDEX_YOU_FOUND].

I don't know how often this message is published but it should allow you to monitor your twist and thus know how long it takes to reach the desired velocity.

Hope this helps,

edit flag offensive delete link more


Thank you so much!!!

Alvaro Salcedo gravatar image Alvaro Salcedo  ( 2015-04-20 03:36:57 -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

1 follower


Asked: 2015-04-17 06:14:18 -0500

Seen: 104 times

Last updated: Apr 20 '15