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

How can I see the velocity response graph?

asked 2015-04-15 08:58:20 -0500

Alvaro Salcedo gravatar image

Hello ROS users:

I am using linux 14.04, Ros indigo and Gazebo2. I would like to know how I can visualize the velocity response graph of my p3dx model. I explain it: I have a p3dx model in Gazebo and I send angular and linear velocity to it with "rostopic pub..." , so I would like to visualize the velocity response of the model p3dx with rqt because I want to know the time constant of my model. It seems like pose turtlebox in this tutorial http://wiki.ros.org/ROS/Tutorials/Und... (point 1.5) but with /p3dx/cmd_vel topic to visualize.

How can I do that?

Thank you so much!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-04-15 11:49:27 -0500

marcoesposito1988 gravatar image

It depends on the controller you are using.

For example the joint_trajectory_controller publishes a control_msgs::JointTrajectoryControllerState which already includes "error" as a field, that you can directly plot.

edit flag offensive delete link more

Comments

First of all, thanks for you reply!

What do you mean with controller? I think I have to subcribe to a topic (I don´t know in wich one) for obtain the velocity response. But maybe I can do that with rqt but I don´t know how. did you mean that I can visualize the trajectory Controller in rqt? Thanks

Alvaro Salcedo gravatar image Alvaro Salcedo  ( 2015-04-15 18:42:09 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-04-15 08:58:20 -0500

Seen: 600 times

Last updated: Apr 15 '15