iRobotEducation / create3_examples

Example nodes to drive the iRobot® Create® 3 Educational Robot
BSD 3-Clause "New" or "Revised" License
51 stars 12 forks source link

Create 3 dance example should return control of the lights to the robot #46

Open alsora opened 1 year ago

alsora commented 1 year ago

Create 3 dance example should return control of the lights to the robot.

Currently, when the dance ends, the robot remains with colored lights. This requires to manually issue

ros2 topic pub /cmd_lightring irobot_create_msgs/msg/LightringLeds "{override_system: false, leds: [{red: 255, green: 0, blue: 0}, {red: 0, green: 255, blue: 0}, {red: 0, green: 0, blue: 255}, {red: 255, green: 255, blue: 0}, {red: 255, green: 0, blue: 255}, {red: 0, green: 255, blue: 255}]}" -1

to return control to the robot.