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

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

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

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
1

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

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

Comments

Thank you so much!!!

Alvaro Salcedo gravatar image Alvaro Salcedo  ( 2015-04-20 03:36:57 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 238 times

Last updated: Apr 20 '15