Questions tagged [dronekit]

DroneKit is for general architectural or setup questions for 3D Robotics drone APIs.

DroneKit is a set of APIs created by 3D Robotics. This tag is specifically for general architectural and setup questions.

108 questions
0
votes
2 answers

Dronekit python vehicle connect timeout

I am trying to run a helloworld.py using dronekit on my solo drone. My environment is dronekit==2.7.0 pymavlink>=2.0.0 When I try to run the simple helloworld example the vehicle.connect() timesout. ERROR LOADING MAVNATIVE - falling back to python…
Jerome Anthony
  • 7,823
  • 2
  • 40
  • 31
0
votes
1 answer

Dronekit python goto_position_target_local_ned()

Running dronekit-python with ArduCopter as SITL was successful.(APM:Copter V3.4-dev) Then,I run the same code on the real copter(APM:Copter V3.2.1) is not work. The code is from dronekit's example. Any ideas or pointers are appreciated.
0
votes
1 answer

How to extract EXTRA_PARAMETER data during PARAMETER_RECEIVED event?

Using Dronekit Android, I'm listening to events in onDroneEvent. One of those events is AttributeEvent.PARAMETER_RECEIVED I'm able to get other attributes, like attitude, battery, signal rssi, etc. Just don't know how to get access to the…
Newtonian
  • 11
  • 2
0
votes
1 answer

How to run java code on the companion/controller computer in dronekit?

I'm using dronekit with SITL/3DR solo for a minimalistic prototype. At one point I would like to move some of the ground control station code (written in Java/Scala) to the companion computer for better real-time handling. Only to find that Java is…
tribbloid
  • 4,026
  • 14
  • 64
  • 103
0
votes
1 answer

DJIBaseProduct model is UnknownAircraft DJI SDK

getFirmwarePackageVersionWithCompletion error 1012 -(void) sdkManagerProductDidChangeFrom:(DJIBaseProduct*) oldProduct to:(DJIBaseProduct*) newProduct{ ShowResult(newProduct.model); } The newProduct variable is not null yet it says unknown…
user2918201
  • 52
  • 1
  • 7
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

run python code with opencv environment and dronekit

I write a python 2.7 program that use opencv for image processing and control a drone with a kit. if I run the the code with opencv environment,means that I have (cv) before the user name in python (ubuntu) , I get this error message No module…
user3527538
  • 39
  • 1
  • 9
0
votes
2 answers

drone developing - some general questions

I want to develop some application that could work with drone. I looking on the SDK of DJI and i don't understand how can i develop to their drone - because i want to write a code that can make the fly by self according to the information that…
Yanshof
  • 9,659
  • 21
  • 95
  • 195
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

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

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
0
votes
2 answers

How can I send MAVLink commands directly using Dronkit-Android?

I am trying to have it go on a mission by only setting to auto. After some research it cannot perform the takeoff on the mission as it requires initiate throttle to begin that. With more research to by pass this I can use MAV_CMD_MISSION_START. Only…
zyeek
  • 1,277
  • 12
  • 27