Skip to Content
ROS Programming: Building Powerful Robots
book

ROS Programming: Building Powerful Robots

by Anil Mahtani, Luis Sanchez, Enrique Fernandez, Aaron Martinez, Lentin Joseph
March 2018
Intermediate to advanced content levelIntermediate to advanced
1396 pages
42h 14m
English
Packt Publishing
Content preview from ROS Programming: Building Powerful Robots

The pan controller configuration file

The pan controller configuration file contains the configuration of the controller that the controller spawner node is going to create. Here is the pan.yaml file definition for our controller:

    pan_controller: 
        controller: 
            package: dynamixel_controllers 
            module: joint_position_controller 
            type: JointPositionController 
        joint_name: pan_joint 
        joint_speed: 1.17 
        motor: 
            id: 1 
            init: 512 
            min: 316 
            max: 708 

In this configuration file, we have to mention the servo details, such as ID, initial position, minimum and maximum servo limits, servo moving speed, and joint name. The name of the controller is pan_controller, and it's a joint position controller. We are writing one controller configuration for ID 1 because ...

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

Programming Robots with ROS

Programming Robots with ROS

Morgan Quigley, Brian Gerkey, William D. Smart
Machine Learning Design Patterns

Machine Learning Design Patterns

Valliappa Lakshmanan, Sara Robinson, Michael Munn

Publisher Resources

ISBN: 9781788627436Supplemental Content