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

External physics engine #3626

Merged
merged 5 commits into from
Apr 30, 2021

Conversation

jonyMarino
Copy link
Collaborator

About

This contribution helps in a recurring issue that is to use the AirSim vehicle with all its perception capabilities and integrations together with an external physics engine or flight dynamics model or driven by another simulator. Together with the possibility of being able to change the visualization of the vehicle from AirSim to another particular one (another mesh), this makes AirSim a very flexible simulator to create your own models (see for example Fixedwing-Airsim).
This also helps in another recurring theme that is to reproduce a trajectory, already preset or saved, in the Airsim vehicle.

How Has This Been Tested?

Running external_physics_engine.py already present in this PR.

Screenshots (if appropriate):

2021-04-23

@jonyMarino jonyMarino changed the title Pr/external physics engine External physics engine Apr 23, 2021
Copy link
Contributor

@zimmy87 zimmy87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple style/naming comments

AirLib/include/physics/DebugPhysicsBody.hpp Outdated Show resolved Hide resolved
AirLib/include/physics/ExternalPhysicsEngine.hpp Outdated Show resolved Hide resolved
PythonClient/multirotor/external_physics_engine.py Outdated Show resolved Hide resolved
@jonyMarino
Copy link
Collaborator Author

Thanks for the review @zimmy87!

@nikitabeebe
Copy link

Has there been any more progress towards an external engine model? Looking to use it for a fixed-wing plane physics (in lieu of JSBSim physics like the link of FixedWing-AirSim posted above)

@jonyMarino
Copy link
Collaborator Author

Hi @nikitabeebe! Which external physics engine are you looking for to use?

@nikitabeebe
Copy link

nikitabeebe commented Jun 4, 2021

@jonyMarino I'm still not sure. I'm looking into the different options, (Gazebo, Bullet, or simply UE4's CHAOS) aiming to try to sync it with AirSim over the next month or so, as I've read about some attempts using ArduPilot as well as JSBSim, but haven't seen too much success yet. I was hoping to avoid rewritting AirSim's FastEnginePhysics entirely. Do you have suggestions? (My only main criteria is it models a fixed wing UAV for GPS and IMU sensory processing, sticking with SITL and using an XBox controller)

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

Successfully merging this pull request may close these issues.

3 participants