Questions tagged [dronekit-python]

DroneKit-Python is for questions on the Python library for the DroneKit set of APIs for drones from 3D Robotics.

DroneKit is a set of APIs created by 3D Robotics. The Dronekit-Python tag is specifically for questions related to its Python library.

124 questions
0
votes
1 answer

local_frame attribute returns none after vehicle is armed (ardurover-sitl)

I'm using python-droneKit along with dronekit-sitl / rover-2.50, and when I try to acquire the vehicle.location.local_frame NED coordinates (after the vehicle has been armed) I only get None values. I'd appreciate if you could help me in this…
Armajo
  • 1
  • 1
0
votes
1 answer

drone-kit Python is not connecting with Iris+

I'm trying to build my first dronekit python program, and I'm doing some tests with some examples but I couldn't connect to my UAV(Iris+). I plugged the usb radio(3DR 915 MHz) and I put vehicle = connect('/dev/ttyUSB0', wait_ready=True). Actually I…
JamesThiago
  • 33
  • 1
  • 8
0
votes
2 answers

pip install dronekit --upgrade does not work

I am trying to upgrade my Dronekit 2.0.0rc.4 As of 10 minutes ago, they are up to 2.0.0cr.10 I need this version because apparently the older versions don't have a way to adjust baud rate when using 3DR radios. I try pip install dronekit…
Scaredrone
  • 11
  • 4
0
votes
1 answer

No way to adjust baud rate in connect() with Dronekit 2 and 3DR Radios and Pixhawk?

I am unable to connect to my Pixhawk drone with 3DR radios and Dronekit 2 and Python code. I am able to connect with a USB cable attached to Pixhawk. I suspect the problem is the baud rate with the radios are too high. There seems to be no way to…
Scaredrone
  • 11
  • 4
0
votes
1 answer

dronekit install error: instructions are not working

I followed the instructions to install dronekit-python as described in the Getting Started page. I ran the following command: pip install dronekit and I got a message: Cold notfind a version that satisfies the requirements dronekit (from …
Bimo
  • 21
  • 2
0
votes
1 answer

No distribution matching the version for dronekit error when installing dronekit-Python

Followed all instructions on 3D Robotics Getting Started page for Windows installation of Dronekit-python. As per instructions, installed WinPython to use dronekit-python. As per instructions I open the WinPython Command Prompt and ran the following…
Scaredrone
  • 11
  • 4
0
votes
1 answer

Dronekit-Python over AeroCore

Teoretically, Dronekit-Python run over any hardware which supports MavLink. I tried to run dronekit over Gumstix AeroCore but I've only got reach the prompt MAV> and nothing more happens Someone knows what's missing? Thanks in advance
0
votes
1 answer

ArduPilot, Dronekit-Python, Mavproxy and Mavlink - Hunt for the Bottleneck

I have Ardupilot on plane, using 3DR Radio back to Raspberry Pi on the ground doing some advanced geo and attitude based maths, and providing audio feedback to pilot (rather than looking to screen). I am using Dronekit-python, which in turn uses…
gibbo9000
  • 1
  • 3
0
votes
1 answer

Dronekit-Python - Stop Mavproxy Downloading Logs

I am using Ardupilot in the plane and a Raspberry Pi running dronekit-python at the ground end across 3DR radio - with the Pi not controlling anything, just providing feedback to the pilot when they breach certain things like the boundary of a…
gibbo9000
  • 1
  • 3
0
votes
1 answer

Run Flask via MavProxy (NoneType has no attribute startswith)

Initialising the following Flask webserver using api start app.py: from flask import Flask app = Flask(__name__) Gives the error: Exception in APIThread-0: 'NoneType' object has no attribute 'startswith' Traceback (most recent call last): File…
alexdavey
  • 672
  • 1
  • 9
  • 15
0
votes
2 answers

dronekit set_position_target_local_ned_encode

Running dronekit-python with ArduCopter as SITL. When specifying a velocity (only) in the set_position_local_ned_encode, the drone moves for a few seconds and stops. This happens both with the example code (guided_set_speed_yaw.py) and a very small…
ejg2putt
  • 3
  • 2
0
votes
1 answer

Controlling movement without GPS

I was trying to use the DroneKit-Python API to control the movement of a drone. I've been reading what it's in that link, but I can't find what I need. I want to be able to run the code with the dron indoors (and of course outdoors), so I can't rely…
Zevesh
  • 81
  • 1
  • 9
0
votes
1 answer

How to install OpenCV on Solo 3dr

How to install OpenCV or Python-OpenCV on 3dr Solo computer (Linux 3dr_solo 3.10.17 armv71)? Is there any .tar or .rpm package available for download?
0
votes
1 answer

Dronekit API Python: How to connect to the same vehicle from 2 different processes?

I am looking for help working with the same vehicle from 2 different processes. I have one SITL instance runnning. I am trying to connect to this same instance from both the main process of my DroneKit script and from a sub-process spawned in the…
benblass
  • 146
  • 1
  • 4
0
votes
1 answer

Use DroneKit to build a Ground Control Station for Windows

On the DroneKit.io page, it mentions using DroneKit Python when creating Ground Control Stations for Windows. However, there appears to be no documentation for this. Is it meant to simply simulate a com port and act as a proxy for other Ground…
Indeed
  • 139
  • 14
1 2 3
8
9