33This package includes modules and tools to simulate an aerial vehicle similar to a quadcopter, and
44makes it easy to use it for various A.I. applications such as path following, obstacle avoidance, etc.
55
6+ It comes with a bunch of sensors that can be attached to the UAV, such as a Camera (RGB and Depth), IMU (motion), and more to come.
7+ The simulator can have an "objective" set to generate observations for machine learning applications.
8+ 69## Installation
710
811Install the package using pip from :
@@ -13,7 +16,7 @@ pip install git+https://github.com/nb-programmer/dronesim.git
1316
1417## Usage
1518
16- Run the default simulator which launches a window with keyboard controls, Video stream though UDP and a scene with an elliptical path to traverse.
19+ Run the default simulator which launches a window with keyboard controls and a scene with an elliptical path to traverse.
1720
1821To run the simulator, call the package name in the terminal:
1922
@@ -27,11 +30,30 @@ Or alternatively, execute the package using the Python interpreter:
2730$ python -m dronesim
2831```
2932
30- Use the keyboard to control the drone, with the following binds:
33+ Refer to the ` examples/ ` folder for running the simulator with custom controllers
34+ 35+ ## Controls
36+ 37+ ### Simulator controls
38+ 39+ Use the keyboard and mouse to interact with the simulator app.
40+ 41+ The default mouse control is set to ` Free mode ` with mouse for looking.
42+ 43+ Key|Action
44+ ---|---
45+ Esc|Unlock/Lock and Show/Hide mouse
46+ F3|Show debug data
47+ F5|Change camera mode from one of three [ Free, First Person and Third Person]
48+ F6|Toggle control between camera and UAV
49+ F11|Toggle fullscreen
50+ 51+ ### Default drone controls
52+ 53+ Use the keyboard to control the drone or camera, with the following binds:
3154
3255Key|Action
3356---|---
34- R|Reset simulator state
3557I|Take off
3658K|Land
3759W|Move forwards
0 commit comments