CodeTheRobot

ROS 2 Labs · exercise 08

Controller lifecycle

Walk a controller through the states controller_manager requires before motion.

Lab 08 · ros2_control and diagnostics

Guided steps

  1. 1.configure() moves unconfigured to inactive; activate() only works from inactive.
  2. 2.Refuse to activate a controller that was never configured.
  3. 3.Print the state after each request, like ros2 control list_controllers does.

Your code

Your code is saved in this browser after every run and restored next time.