sailboat_main.servo.servo_node module
- class sailboat_main.servo.servo_node.Servo
Bases:
NodeROS2 Node responsible for subscribing to the ‘servo’ topic and delegating the received messages to the appropriate servo handler.
- destroy_node()
Override the destroy_node method to clean up resources used by the servo handler.
- listener_callback(msg)
Callback function for the ‘servo’ topic. Delegates the message to the servo handler.
- sailboat_main.servo.servo_node.main(args=None)