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

Feature request: Compile custom Gazebo plugins in the project repository #73

Open
damanikjosh opened this issue Jan 16, 2025 · 0 comments

Comments

@damanikjosh
Copy link

damanikjosh commented Jan 16, 2025

Hi,
I was wondering if it’s possible to set up this package to compile custom source code when running make px4_sitl gz_<model>.

For example, when creating custom vehicles like the Advanced Plane in the docs, you need to compile a custom Gazebo plugin. I’m also planning to develop a USV (Unmanned Surface Vehicle) for PX4 simulation using the USV models and plugins from osrf/vrx.

Instead of working on plugins directly in the upstream Gazebo repo, it seems more common now to keep custom plugins in the project repo and compile them there. This is actually encouraged in the Gazebo project template.

My idea is to add a src folder to include custom plugins and scripts, and have any needed code in there compiled when running make px4_sitl gz_<model>.

Let me know what you think about this approach!

Edit: I didn't mean to discourage contribution on the upstream Gazebo repo, but this approach allows flexibility in building custom vehicles that require custom plugins.

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

1 participant