Hi All,
I am attempting to use a Raspberry Pi 4 running Ubuntu 22.04 and ROS2 to control a SpeedyBeeF405Wing autopilot over serial.
I have followed the instructions for setting up ros2 and setting up ros2 with the SITL. I am able to get the SITL running and can see /ap topics in other terminals when running the SITL.
But, I would like to actually connect the autopilot to the raspberry pi. To do this I am running the micro ros agent using the following command:
and it seems to be running normally, but when I run ros2 topic list
in another terminal, all I get is
I suspect I might need to upload different firmware to the autopilot to enable the proper communication protocol. This appears to be the case when connecting the autopilot via ethernet, but I am unsure if this applies to systems using serial.
As an aside, I am currently trying to do this via usb because I am getting the following error when attempting to use /dev/ttyS0 despite the user pi1 being a member of the dialout group.
If anyone has any advice on this error, that would be appreciated.
Thanks!