Still waiting for a review, I’m afraid. It’s up to the upstream ROS community, now.
Can I implement it locally
While you’re waiting, you can remove it from your package.xml altogether and make your part in snapcraft look something like this:
parts:
my-part-name:
plugin: colcon
# ...
stage-packages: [python3-serial]
Did that building now
It worked, but am python3-serial is behaving differently inside the snap. Do i need special permission to access the serial port in a snap
For strictly-confined snaps, yes, you do. This is covered under the serial-port interface. Sadly it’s rather hard to experiment with though, because you have to write your own gadget to create one. You can enable hotplugging, if you’re up for trying an experimental feature, or you can use devmode
as your confinement for now.
trying devmode and see
It worked. You the best. devmode fixed the serial port issue. Finally snap my own ros2 rover
Awesome, congratulations!