Skip to Content
Robot Operating System Cookbook
book

Robot Operating System Cookbook

by Kumar Bipin
June 2018
Intermediate to advanced
484 pages
11h 36m
English
Packt Publishing
Content preview from Robot Operating System Cookbook

Base controller

One of the crucial components of the navigation stack is a base controller. It is the only way to effectively control a robot that communicates directly with the hardware of the robot. However, ROS does not provide any common base controller, and so we have to develop a base controller for our mobile robot platform.

The base controller must subscribe to a topic with the name /cmd_vel, which has the message type /geometry_msgs::Twist. This message can also be used on the odometry message that we saw before. As well as this, the base controller has to generate the correct commands for the robot platform with the correct linear and angular velocities.

We can recall the structure of this message by typing the following command ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mobile Intelligent Autonomous Systems

Mobile Intelligent Autonomous Systems

Jitendra R. Raol, Ajith K. Gopal
Wheeled Mobile Robotics

Wheeled Mobile Robotics

Gregor Klancar, Andrej Zdesar, Saso Blazic, Igor Skrjanc

Publisher Resources

ISBN: 9781783987443Supplemental Content