-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Port px4vision airframe to gz environment #21409
Conversation
…rden, everything seems functionnal.
With Gazebo Garden, everything seems functionnal.
…aguer/PX4-Autopilot into port-px4vision-to-gz
Hi @TheotimeBalaguer , how did you start your simulations/tests? The usual make px4_sitl gz_px4vision doesn't work. Which is expected as you did not define an suitable airframe for that model. Even spawning the model manually from the Gazebo GUI doesn't work: Error [SDF.cc:154] Tried to use callback in sdf::findFile(), but the callback is empty. Did you call sdf::setFindCallback()?
Error [parser.cc:748] Error finding file [/home/pozzan/git/PX4-Autopilot-gz/Tools/simulation/gz/models/px4vision/px4vision.sdf]. |
Thanks for the review @beniaminopozzan, What I found : the targets for Gazebo simulation are defined in Now, the command Thanks all for the help ! 👍 |
@TheotimeBalaguer Since this contains mesh files and is redundant to the x500_depth model, Would it be possible to put this up on ignition fuel? |
Sure, but the best would be to upload it with the PX4 account on fuel, like the x500 model. I don't know who manages this kind of things. |
@TheotimeBalaguer If you can tell me your user name for Ignition Fuel, I can add you to the PX4 organization: https://app.gazebosim.org/PX4 |
@Jaeyoung-Lim my Ignition Fuel username is Tbalaguer. Thanks ! |
@TheotimeBalaguer Done! Let me know if you can upload the model! Thanks! |
@Jaeyoung-Lim Thank you, I imported the px4vision model to Fuel (PX4 organization) and changed to a Fuel import in the .sdf file. I removed the meshes to reduce a bit the size of the PX4 project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks!
This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: https://discuss.px4.io/t/px4-community-q-a-april-12-2023/31552/1 |
Solved Problem
"PX4 Vision" Airframe availability for simulation in Gazebo
Fixes #{Github issue ID}
Solution
Test coverage
Context
Related links, screenshot before/after, video