- Install for all users
- Destination directory: C:\Python2.7
- Add python.exe to Path
- >python -V
- >pip install virtualenv
- >md SRG-Bots
- >cd SRG-Bots
- >virtualenv dronekit_env
- >dronekit_env\Scripts\activate.bat
- >pip install dronekit dronekit-sitl mavproxy wget
- >dronekit_env\Scripts\dronekit-sitl.exe copter-3.3
- >cd SRG-Bots
- >dronekit_env\Scripts\activate.bat
- >python dronekit_env\Scripts\mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551
- >cd SRG-Bots
- >dronekit_env\Scripts\activate.bat
- >python
- >>>import wget
- >>>wget.download('https://github.com/dronekit/dronekit-python/raw/master/examples/simple_goto/simple_goto.py')
- >>>quit()
- >python simple_goto.py --connect "udp:127.0.0.1:14551"
1 comments:
In the 7th step the command should use Scripts instead of Script
>dronekit_env\Scripts\dronekit-sitl.exe copter-3.3
Post a Comment