Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
# PyUAVSim
Light weight Python simulator for small UAVs


Completed Feature List:
## Completed Feature List:
1. Autopilot for fixed wing
2. Sensors (GPS, IMU) with error models
3. Path following and Path manager implemented
4. Changed interfaces so that Users can write apps with the base classes provided

The simulator is near complete with all the necessary bare minimum functional implementation. It should be straightforward to extend its functionality. Feel free to email me (av.sarath@gmail.com) if you have any questions

Extensions:

## How to run:
1) Navigate to PyUAVSim directory
2) If you are using conda environments, activate the one with python 2.7. In my case, that is `source activate py27`
2) Install requirements using `pip install -r requirements.txt`
3) Run a sample code provided with the simulator`python -m examples.trim_and_autopilot`

## Extensions:
1. State estimation using kalman filter/variants
2. Pathplanner class with RRT
3. Wind models is not there due to their slightly complex nature - this will be added at the very end
4. support for quadrotos


Reference: Small Unmanned Arcraft - Theory and Practice by Randal W. Beard and Timothy W. McLain
## Reference:
Small Unmanned Arcraft - Theory and Practice by Randal W. Beard and Timothy W. McLain
Binary file added apps/__init__.pyc
Binary file not shown.
Binary file added apps/__pycache__/__init__.cpython-36.pyc
Binary file not shown.
Binary file not shown.
Binary file added apps/fixedwing_uav_autopilot.pyc
Binary file not shown.
Binary file added apps/fixedwing_uav_trim.pyc
Binary file not shown.
Binary file added controllers/__init__.pyc
Binary file not shown.
Binary file added controllers/pid.pyc
Binary file not shown.
Binary file added examples/__init__.pyc
Binary file not shown.
Binary file added examples/__pycache__/__init__.cpython-36.pyc
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/trim_and_autopilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def main():
ax.set_zlim3d(0, 100)

initial_state = [0, 0, 0, 0.0, 0., 0.0, 0, 0, 0, 0, 0, 0]
tester = Tester(initial_state, 0, '../configs/aerosonde.yaml', ax, T_sim=15.0, dt = 1.0/200.0)
tester = Tester(initial_state, 0, 'configs/aerosonde.yaml', ax, T_sim=15.0, dt = 1.0/200.0)
tester.test_autopilot(72.0, 0, 500, animate = True)
#tester.test_trim(35.0, 0.025, 100, 15000, animate = True)
tester.plot()
Expand Down
Binary file added examples/trim_and_autopilot.pyc
Binary file not shown.
Binary file added uav/__init__.pyc
Binary file not shown.
Binary file added uav/__pycache__/__init__.cpython-36.pyc
Binary file not shown.
Binary file added uav/__pycache__/fixed_wing.cpython-36.pyc
Binary file not shown.
Binary file added uav/autopilot.pyc
Binary file not shown.
Binary file added uav/dynamics.pyc
Binary file not shown.
Binary file added uav/fixed_wing.pyc
Binary file not shown.
Binary file added viewer/__init__.pyc
Binary file not shown.
Binary file added viewer/viewer.pyc
Binary file not shown.