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

Last updated