Ask Your Question

Definition of Service "/turtlebot/set_parameters"?

asked 2012-11-20 00:10:10 -0500

mind4z gravatar image

updated 2014-01-28 17:14:18 -0500

ngrennan gravatar image

For my bachelors thesis I'm programming an iRobot Create using ROS Fuerte and the turtlebot_node package with Python.
The Problem is that ~cmd_vel_timeout is set to 0.6 Seconds by default and this is very annoying since I don't want to send it the same vector (if it hasn't changed) for moving every half second.
Using rosnode info turtlebot I've seen that there is a service called /turtlebot/set_parameters and I'd like to use this service in my Python program to change the value of ~cmd_vel_timeout.
So here is my problem:
Where is the service /turtlebot/set_parameters defined so I can use it with rospy.ServiceProxy(..)?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-11-20 00:58:30 -0500

dornhege gravatar image

You can find out where the service is defined using rosservice type <srv>.

Besides that, the setting of cmd_vel_timeout to 0.6s is very reasonable and in general should NOT be set very high. Resending the same velocity is the right thing to do! The reason for that is safety. If the control program crashes/is stopped, you don't want the robot continuing to go with the last set velocity. I'd highly recommend not changing that.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2012-11-20 00:10:10 -0500

Seen: 749 times

Last updated: Nov 20 '12