esimkowitz / sphero-rvr-ros2

Containerized ROS2 Node for Sphero RVR
Other
3 stars 1 forks source link

Something changed and now it is harder to open the serial port #12

Closed esimkowitz closed 1 year ago

esimkowitz commented 1 year ago

I think this may have changed in one of the updates to Raspbian. Now, simply running the container with the mounted serial port isn't enough to get the Sphero client to connect. I have been able to get it to connect by first running python3 sphero-sdk/sphero-sdk-raspberry-python/getting_started/observer/leds/set_multiple_leds.py and then running the ros2 bringup package, but to do this I've had to open a shell to the container. I need to figure out a way to restore the connection to the port before the ros2 app runs.

esimkowitz commented 1 year ago

Mitigated by running the setAllLeds script at container startup to claim the serial port.