ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

*low level* messages in ROS (Indigo)

asked 2017-04-03 08:42:39 -0600

matansar gravatar image

Hello everyone,

I'm beginner in ROS and I have a question about the messages in ROS. Are there low level messages in ROS? For example, if i want to move the robot to location (x,y), I need to send a MoveBaseGoal message. I want to know if there is a way to see messages that directly go to motor (if they exist)?


edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2017-04-03 11:59:30 -0600

ahendrix gravatar image

Most robots implement a cmd_vel topic with the geometry_msgs/Twist type which commands the linear and angular velocities of your mobile base. This isn't quite raw motor commands, but it's much closer to an actuator command.

Some robots perform the conversion from cmd_vel to raw motor commands in the driver node or on the embedded motor controller board, and some robots do the conversion to raw motors commands in a ROS nodes and publish additional topics that are then passed to the motor control node. You'll need to refer to the documentation for your specific robot to find out how it does this. (You may also be able to figure out by inspecting the list of topics when your robot is running)

edit flag offensive delete link more


I have tried to find some documentation about my robot. I works on Armadillo robot (robotican, Indigo). Do you know some links for documentation? Thanks!

matansar gravatar image matansar  ( 2017-04-04 02:50:50 -0600 )edit

A quick search on the ROS wiki finds and , and this tutorial for sending cmd_vel :

ahendrix gravatar image ahendrix  ( 2017-04-04 14:21:55 -0600 )edit

answered 2017-04-03 22:54:08 -0600

updated 2017-04-03 22:59:13 -0600

you can set the logger to rospy.DEBUG, there are many other levels like rospy.DEBUG, rospy.INFO, rospy.WARN, rospy.ERROR, and rospy.FATAL.

  log4cxx::LoggerPtr my_logger =
    log4cxx::Logger::getLogger( ROSCONSOLE_DEFAULT_NAME );

and log everthing with the object my_logger

the official doc is more descriptive

edit flag offensive delete link more


I don't see how this answers the question of how to send commands to a robot's motors.

ahendrix gravatar image ahendrix  ( 2017-04-03 23:37:51 -0600 )edit

But this logger is related to regular msgs, isn't? I want to know if there are ways to research lower level msgs, like direct commands to the motor.

matansar gravatar image matansar  ( 2017-04-04 02:49:30 -0600 )edit

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: 2017-04-03 08:42:39 -0600

Seen: 151 times

Last updated: Apr 03 '17