I ran into the same problem very recently, and reverting back to the earlier version solved the problem.
The issue is currently closed due to the fix being made to the most recent version, but I don’t know if anyone has checked if the change is working or not.
For more details, please visit the links below.
Hi @RyanDsouza , @hhjj0506 , the issue is almost fixed as the problems on the PX4 side should be now solved. However, the message definitions of px4_msgs are still out of date (something about a broken CI/CD it seems). You can see here how to manually generate the message definitions in order to use the last version of PX4 without having to revert back. Simply run uorb_to_ros_msgs.py with the PX4-Autopilot/msg/ and the px4_msgs/msg/ paths (adapted to your cases) as first and second argument respectively, and then recompile.
If you have time to check this solution, please let us know the outcome in the above mentioned github issue.
I use ubuntu 20.04, all repository on the current main branches
after having manually updated the msgs definition everything works just fine.
parallels@ubuntu-linux-20-04-desktop:/media/psf/Home/Proj/PX4-Autopilot$ python3 Tools/generate_microRTPS_bridge.py -s msg/sensor_baro.msg -r msg/sensor_combined.msg
python3: can't open file 'Tools/generate_microRTPS_bridge.py': [Errno 2] No such file or directory
You don’t have to generate the whole microRTPS_bridge. You only need to generate the message definitions.
You are running the wrong script.
The right one is uorb_to_ros_msgs.py. Please see the link above.
Thx a lot for your support, @Benja.
I have it working now with the Micro XRCE-DDS and microROS. Though, I couldn’t thorougly test it, yet. Maybe, I’ll run into issues with this setup and have to switch back to the micrortps agent. We will see…