Skip to content

Simple directional control for mavlink enabled drones using dronekit

License

Notifications You must be signed in to change notification settings

djnugent/dronedirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DroneDirect

This is a directional control library for Dronekit.

Run instructions

Setting up your Solo development environment

  1. Install solo-cli with pip install -UI git+https://github.com/3drobotics/solo-cli (you may need sudo for pip installs)
  2. Install virtualenv with pip install virtualenv

Preparing your directory

  1. Git clone this directory, then navigate to it in your terminal
  2. Run pip install -r requirements.txt to install dependencies
  3. Run python setup.py install to install local dependencies

Running code on Solo

  1. Run solo script pack while connected to the internet to bundle your script
  2. Turn on your Solo and connect to its Wifi from your computer
  3. Run solo script run <myscript.py>

only applies to code run onboard solo (i.e. helloworld, not virtual joystick)

Examples

Examples can be found in the Example folders

helloworld.py

Run this script on Solo

This program will draw 3DR in the sky. It is designed to be run onboard solo. It utilizes DroneDirect which allows for directional control using dronekit Default size(scale = 5.0) is 22x8 meters. Change the scale factor to increase size.

template.py

This program is a template for using DroneDirect.

virtual_joystick.py

Run this script locally while connected to Solo's wifi; it will pass commands to Solo

This program will allow you to control solo's xy using an on screen joystick. It is designed to be run on a GCS. It utilizes DroneDirect which allows for directional control using dronekit

License

LGPLv3

About

Simple directional control for mavlink enabled drones using dronekit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages