> For the complete documentation index, see [llms.txt](https://davids-tutorials.gitbook.io/robotics/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://davids-tutorials.gitbook.io/robotics/ignore-extra/dronekit-attempts.md).

# Dronekit Attempts

SOLUTION ON BOTTOM

* dronekit-sitl copter --home=35.9835973,-95.8742309,0,180
* mavproxy.py --master tcp:127.0.0.1:5760 --out udp:127.0.0.1:14551 --out udp:127.0.0.1:14550 Connect tcp:127.0.0.1:5760
* python simple\_goto.py
* error: class Parameters(collections.MutableMapping, HasObservers): AttributeError: module 'collections' has no attribute 'MutableMapping'

attempted solutions

* python -m pip install -U setuptools
* python -m pip install --upgrade pip
* sudo apt remove pipenv && pip install pipenv
* python -m pipenv

solution

* sudo pip uninstall dronekit
* git clone <https://github.com/dronekit/dronekit-python>
* cd dronekit
* sudo python setup.py install

workforce (basic)

* sim\_vehicle.py --console --map
* dronekit-python/example/simple\_goto/simple\_goto.py --connect 127.0.0.1:14450

new solution (gazebo)

* gazebo
* sim\_vehicle.py -v Ar .. (regular)
* dronekit-python/example/simple\_goto/ simple\_goto.py
  * edited python file to do the python
* same with Downloads
