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
1
vote
0 answers

DroneKit Joystick Override

I'm trying to figure out if it's possible to use DroneKit to override joystick control when it's enabled in Mission Planner. In my scenario if I enable joystick in Mission Planner and forcibly close Mission Planner, the joystick still maintains…
Josh
  • 11
  • 2
1
vote
1 answer

Camera Events Dronekit

Is it possible to take an image or video using dronekit for 3DR solo? Is there an event to listen to when a pilot takes a snapshot or video from ground control station?
Krishna
  • 11
  • 4
1
vote
1 answer

vehicle.location.local_frame return none

I use px4 AC3.5.4 with raspberry. My target is autonomous positioning drone in his local frame without global (gps). I arming drone in GUIDED_NOGPS mode and takeoff. I make request for my position in local frame with next command:…
1
vote
1 answer

dronekit newbie query with hello.py example

I have installed dronekit and dronekit sitl and created the hello.py example and I get the following eror I am a novice so sorry if its obvious. This is the output I am running on a raspberry 3 under debian with python 2.7 . Here is the code print…
Gusisin
  • 41
  • 4
1
vote
1 answer

Dronekit Example Follow Me Python Script not working

I try to run an example script from dronekit. the code is looks like this : import gps import socket import time from droneapi.lib import VehicleMode, Location def followme(): """ followme - A DroneAPI example This is a somewhat more 'meaty'…
1
vote
0 answers

Importing DroneKit in IronPython

I need to create a wrapper between C # and Python.The main task is in the management of quadrocopter (3DR Solo) in C #. Typically, the control of the quadrocopter (3DR Solo) is performed via DroneKit. My searches led me to IronPython. Can I import…
1
vote
0 answers

Dronekit apm2.6 rpi3 not receiving velocity commands

Currently have a raspberry pi connected through mavlink to an apm2.6 running arducopter 3.2.1. I am able to run a python script that can arm and take off the drone no problem, but when I try to send velocity commands to move the quad in a direction…
1
vote
1 answer

Is it possible to control Pixhawk quadcopter with a Taranis and a DroneKit script simultaneously?

I have successfully tested basic DroneKit scripts on a companion computer (Raspberry Pi) to achieve autonomous flight on Pixhawk controlled 3DR ArduCopter. The RPi is also connected to various sensors, and crunches that data in real time in the same…
1
vote
0 answers

"Switch off" motor with dronekit-python ('glider' as a vehicle)

I'm working on a project which aims to build an autonomous glider to launch from a weather balloon, using a Raspberry Pi, Dronekit, and a PixHawk. To test our navigation algorithms, we're flying the RC plane up to 400ft (legal limit) and then…
TJT
  • 11
  • 1
1
vote
1 answer

Dronekit Android Drone Constructor doesn't accept context

I try to write an Android app to read some data from my drone. In the example I saw on github and in the Javadoc the constructor of a new Drone need a context. But my Drone in Android Studio does not accept any parameter.…
Christidoc
  • 11
  • 2
1
vote
2 answers

Changing Mavlink Message Rate ArduPilotMega

I am working on a project that uses Mavlink protocol (in c++) to communicate with the ArduPilotMega (2.6). I am able to read messages such as ATTITUDE for example. The current message rate (for all messages) is 2Hz and I would like to increase this…
A. Sarid
  • 3,916
  • 2
  • 31
  • 56
1
vote
1 answer

CommandSequence taking too long to download

With both DKPy-SITL and our APM2 board, the wait_ready method is causing our program to raise an API Exception due to the command list (waypoints) taking too long to download. In the past (with droneapi) this wasn't an issue for me. Some waypoints…
Indeed
  • 139
  • 14
1
vote
1 answer

Is it possible to control an actuator using dronekit python?

I would like to know if it's possible to control an actuator using drone-kit python. In my case I'm using an IRIS+ with pixhawk and I would like to control a robot gripper(servo) and a gopro camera. I have a raspberry PI 2 with a WIFI dongle. Thanks…
JamesThiago
  • 33
  • 1
  • 8
1
vote
1 answer

Dronekit android tower telemetry update frequency

I've just started looking into building something using dronekit. Before I dive headfirst into this (and I fully realize this might be a difficult question to answer): What kind of telemetry update frequency can I expect from the 3DR services…
Trondh
  • 3,221
  • 1
  • 25
  • 34
1
vote
3 answers

DroneKit: Failed to connect to /dev/tty.usbmodem1411 : 'Serial' object has no attribute 'setBaudrate'

Following the DroneKit instructions, I was able to run the hello.py code from their QuickStart guide: http://python.dronekit.io/guide/quick_start.html. However, when I try to run their basic mission example, I get the setBaudrate error in the…
LBoeg
  • 23
  • 1
  • 7