Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not compile micrortps_agent #168

Open
laylow13 opened this issue Nov 12, 2022 · 7 comments
Open

Could not compile micrortps_agent #168

laylow13 opened this issue Nov 12, 2022 · 7 comments

Comments

@laylow13
Copy link

The current version of the repository does not contain the compile options and source code of micrortps_agent and cannot compile micrortps_agent.

@JetJie
Copy link

JetJie commented Nov 14, 2022

The current version of the repository does not contain the compile options and source code of micrortps_agent and cannot compile micrortps_agent.

yes, in the latest version, they have removed the rtps; now it is based microdds. I am also urgent to find a usable cpp offboard example.

@ripdk12
Copy link

ripdk12 commented Nov 15, 2022

I am also having the same problem, please update the documentation which obviously is completely outdated now.

@TSC21
Copy link
Member

TSC21 commented Nov 15, 2022

Please be patient as the documentation is already undergoing an update: PX4/PX4-user_guide#2094

@berndpfrommer
Copy link

I have been using ROS2 for a while, also PX4 based controllers, but I am totally at a loss regarding the use of this repository. I cannot find any agent code. Something changed fundamentally. What is the last version that reasonably correlates with the documentation?

@dagar
Copy link
Member

dagar commented Dec 27, 2022

I have been using ROS2 for a while, also PX4 based controllers, but I am totally at a loss regarding the use of this repository. I cannot find any agent code. Something changed fundamentally. What is the last version that reasonably correlates with the documentation?

@berndpfrommer with current PX4 main/development all you need to do is use the regular micro-ros-agent (snap, docker, etc) and all the typical PX4 builds have "microdds_client" included by default that bridges everything. Feel free to ping me on slack or discord if you have any questions. This all needs to be documented properly before the v1.14 stable release.

@berndpfrommer
Copy link

@dagar Thanks for responding so quickly.
It turns out for my platform (pixracer) the microdds_client is not built by default. That took me a while to figure out. For others struggling with this, you need to edit boards/px4/fmu-v4/default.px4board and add the following line: CONFIG_MODULES_MICRODDS_CLIENT=y.

Plus of course I had to switch off mavlink, switch on the microdds_client in QGroundControl.
This post was very helpful.

@dagar
Copy link
Member

dagar commented Dec 27, 2022

@dagar Thanks for responding so quickly. It turns out for my platform (pixracer) the microdds_client is not built by default. That took me a while to figure out. For others struggling with this, you need to edit boards/px4/fmu-v4/default.px4board and add the following line: CONFIG_MODULES_MICRODDS_CLIENT=y.

Plus of course I had to switch off mavlink, switch on the microdds_client in QGroundControl. This post was very helpful.

If it fits I'd like to squeeze it in everywhere we can by default and make this the norm going forward. There's quite a bit more integration coming that will build on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants