Closed billmania closed 11 months ago
Instead of appending ServoAngle messages to a list attribute of the ServoAngles message, define a new message named Servos. Servos will have support for 16 servos, via the Servo message. Each servo will have an attribute for:
The Servos message will be suitable for use with Slider and Joystick widgets, including their configured keys.
Implement four methods in Servos:
The move method will be executed by a thread in a loop waiting on the GO Event. A second thread will set the GO Event every MOVE_PERIOD. Each time there has been a change to the commands for the servos, the GO Event will be set.
Set some constants:
Instead of only commanding servos to attain a specific angular position, provide a means to treat them like motors. This new capability will support commanding the servo to rotate in a specific direction at a specific RPM.
Required by rq_ui Issue 130, requires rq_msgs Issue 8, and described by Configuring and using servos
For future reference: ROS2 MoveIt! Servo