PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.15k stars 13.35k forks source link

Make target px4_sitl_rtps not found. #20524

Closed JetJie closed 1 year ago

JetJie commented 1 year ago

Describe the bug

After git clone the latest version, I could not make the px4_sitl_rtps version, it shows px4_stil_rtps not found. but for the px4_sitl, it works well. I switch to the old stable version, like release/1.13 or release/1.12. I can make the px4_stil_rtps, but it is not successful.

Log Files and Screenshots

xaveir@xaveir-desktop:~/PX4-Autopilot$ make px4_sitl_rtps Makefile:523: *** "Make target px4_sitl_rtps not found. It either does not exist or px4_sitl_rtps cannot be the first argument. Use 'make help|list_config_targets' to get a list of all possible [configuration] targets.". Stop. Screenshot from 2022-10-31 15-45-47

beniaminopozzan commented 1 year ago

The micrortps module, and thus all rtps targets have been removed (#20227). Now you have to use the microdds module and you can see here (https://github.com/Jaeyoung-Lim/px4-offboard) an example of how to interface it in ROS2. Don't be scared by

Currently need to be run from this https://github.com/PX4/PX4-Autopilot/pull/20227"

as that PR has already been merged.

The new documentation is WIP.

JetJie commented 1 year ago

The micrortps module, and thus all rtps targets have been removed (#20227). Now you have to use the microdds module and you can see here (https://github.com/Jaeyoung-Lim/px4-offboard) an example of how to interface it in ROS2. Don't be scared by

Currently need to be run from this #20227"

as that PR has already been merged.

The new documentation is WIP.

I follow the example you mentioned Should I install the micro-ros? It shows that micro-ros-agent: command not found.

beniaminopozzan commented 1 year ago

Yes, you should. Depending on your system you can compile it from source or install it from snap or both.

JetJie commented 1 year ago

Yes, you should. Depending on your system you can compile it from source or install it from snap or both.

It works, thank you for your answer. And looking forward to a tutorial in the px4 website.

JetJie commented 1 year ago

The micrortps module, and thus all rtps targets have been removed (#20227). Now you have to use the microdds module and you can see here (https://github.com/Jaeyoung-Lim/px4-offboard) an example of how to interface it in ROS2. Don't be scared by

Currently need to be run from this #20227"

as that PR has already been merged.

The new documentation is WIP.

is there any c++ example? or any tutorial?

junwoo091400 commented 1 year ago

Please check out the new documentation still pending: https://github.com/PX4/PX4-user_guide/pull/2094