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

What is meaning of Operator's topics ?

asked 2016-06-30 06:51:33 -0500

RosUser gravatar image

What does the blue and the green line means in Rviz while using tutorial2 for autonomous not manually (joystick) ?

According to The blue line is the input command. The input command /cmd has messeage content of (Velocity, Turn, and Mode), But /Operator/desired message is complete different !?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-30 08:35:00 -0500

Sebastian Kasperski gravatar image

These are just visualizations of the input and have the type: nav_msgs/GridCells. They show the trajectory the robot would follow given this command. In fact, only the turn is visualized, not the velocity and mode.

edit flag offensive delete link more


From /cmd topic, turn has only one parameter, but /Operator/desired shows x and y. Is it because operator node convert the value of turns into locations in x and y ?

RosUser gravatar image RosUser  ( 2016-06-30 10:29:23 -0500 )edit

Yes, the turn is the angle that the robot will turn around. So -1 is a left turn in place, 0 is a straight move and 1 a right turn in place.

Sebastian Kasperski gravatar image Sebastian Kasperski  ( 2016-07-01 09:28:29 -0500 )edit

Thanks a lot for all the help during my semester Sebastian :) My exam is over now and in future I will see if I can buy or make a robot, then can run with ROS then it will be fun to implement nav2d :D

RosUser gravatar image RosUser  ( 2016-07-12 03:03:42 -0500 )edit

Question Tools

1 follower


Asked: 2016-06-30 06:51:33 -0500

Seen: 208 times

Last updated: Jun 30 '16