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

Understanding Python Code

asked 2012-12-18 09:45:01 -0600

JaRu gravatar image


I tried to understand the Python Code from the locator package and have problems to find the answer what are the parameter "map_frame" and the "odom_frame"? Where gets rospy this parameters?

self.map_frame = rospy.get_param('map_frame', 'map') self.odom_frame = rospy.get_param('odom_frame', 'odom')


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-18 09:49:42 -0600

Lorenz gravatar image

updated 2012-12-18 09:50:15 -0600

Please tag your questions.

It's getting these parameters from the ROS parameter server. Have a look at the ros tutorials.

edit flag offensive delete link more

Question Tools


Asked: 2012-12-18 09:45:01 -0600

Seen: 195 times

Last updated: Dec 18 '12