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

Warthog simulation feature for AirSim #4419

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open

Conversation

akhil22
Copy link

@akhil22 akhil22 commented Mar 17, 2022

Fixes: #

About

This fork adds warthog simulation feature to AirSim

How Has This Been Tested?

I have tested the build on Linux and Windows. I have implemented an LQR controller for controlling the linear and angular velocities of Warthog similar to the real platform. State reports the kinematics, current linear and angular velocities. I have also added GPS, Camera and IMU sensors and tested them on both Linux and Windows machines. I would like to know more about what else needs to be tested.

Screenshots (if appropriate):

Video of warthog in AirSim: https://www.youtube.com/watch?v=vDzQvWTwmo4
Simple Dynamics used for LQR controller: https://drive.google.com/file/d/1xUc0-XfjgKZ9gfnNCg-f8MUYjp6Mdx2W/view?usp=sharing
python code used for solving dynamics (input left and right torque to linear and angular acceleration): https://drive.google.com/file/d/1HF3zj5fVHGSblILoWhxdF8fmkBT8AF-L/view?usp=sharing
matlab code used to get lqr gains based on the state space model above: https://drive.google.com/file/d/1AqzvGMRKqa68v3cs89iybHY7jMyIZwKv/view?usp=sharing

If you want to use Warthog for RL and if you need to speed up the simulation use this matlab script to calculate gains
for LQR (This is the discrete version and works better when step size is big)
https://drive.google.com/file/d/1zGl1sf25q-HaZZM4sRZLCJJhT4aoAjeg/view?usp=sharing

@ghost
Copy link

ghost commented Mar 17, 2022

CLA assistant check
All CLA requirements met.

@akhil22 akhil22 changed the title Warthog Warthog simulation feature for AirSim Mar 17, 2022
@jonyMarino jonyMarino changed the base branch from master to main July 17, 2022 13:17
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.

None yet

2 participants