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
1 answer

Using usb to connect Android to Pixhawk

I am looking for a way to connect my pixhawk to an android device using the USB(OTG) cable. After doing some research i figured there is two possible ways to do that. Either using the micro usb port on the pixhawk or just using a USB FTDI cable to…
HAOUAS Khaled
  • 40
  • 1
  • 6
0
votes
1 answer

Creating a subclass without direct access to the parent class __init__() function

I'm using the DroneKit API in Python for controlling a drone using a companion computer. I'm trying to create a class, Vehicle, which inherits from the Vehicle class in DroneKit. The purpose of this class is for me to override some methods present…
0
votes
0 answers

can dronekit be use with cx-10wd-tx mini

I am a programmer and just started getting into drones. I stumbled across dronekit and got to thinking about controlling the drone with code. so i am kind of new to this and really need some help. i want to control a mini drone with code. i want to…
0
votes
1 answer

Which is the best cryptographic algorithm to secure MAVLink protocol?

I'm new in MAVLink. Now, I'm trying to check data loss between drone and GCS. After that I want to use one of the cryptographic algorithms to secure MAVLink protocol. Which one is the best? Thanks & Regards
0
votes
1 answer

Get drone flying state vi Drone kit

Is there a way to get the flying state of the drone using dronekit ? and by flying state I mean: Landed, Taking off, hovering, flying, landing
HAOUAS Khaled
  • 40
  • 1
  • 6
0
votes
1 answer

Can't install modules via pip

I can't install MAVProxy module via pip. The error appears which shows: I have tried to install with sudo -H flag but the error always appears and I can't install anything with pip.
wosker4yan
  • 187
  • 1
  • 3
  • 12
0
votes
0 answers

Android, Dronekit

I am develop an application for Rover to management by joystick. I need to create remote control to set direction of moving rover (left, right, forward, back). I'm trying to realize it by following…
Anonymous
  • 301
  • 3
  • 8
0
votes
2 answers

DroneKit mission not sent to drone

I'm trying to create simple mission using Drone-Kit android. Mission myMission = new Mission(); myMission.clear(); Takeoff to = new Takeoff(); ReturnToLaunch rtl = new ReturnToLaunch(); //set Altitude in…
Seiran
  • 126
  • 9
0
votes
1 answer

DroneKit simple takeoff not working

I'm trying to make a simple Takeoff command. Here is the code below: ControlApi.getApi(this.drone).takeoff(10, new AbstractCommandListener() { @Override public void onSuccess() { } @Override …
Seiran
  • 126
  • 9
0
votes
1 answer

Failsafes simulations

I need to simulate failsafes or mechanical failures described in Diagnosing problems. Is this possible using SITL/DroneKit ?
0
votes
1 answer

Dronekit Python - Is it possible to send commands from Nodejs?

I'm trying to use Dronekit Python 2 for creating a minimalistic GCS (ground station). From the examples it looks like python scripts always finish and the connection with the vehicle is lost. That said, Is there any way to code a python script that…
0
votes
1 answer

DroneKit Cloud not found error page

The link for the DroneKit Cloud docs takes me to a not found error page. Is this project still active? Or, has it been discontinued? Thanks!
grath
  • 66
  • 1
  • 9
0
votes
1 answer

Build Target for dronekit-sitl

How do you build Copter firmware for dronekit-sitl? I can do either make px4-v2 or make sitl but neither seems right. The latest firmware dronekit sitl offers is 3.3 and I would like to try out 3.4 (and eventually make some of my own changes and…
schrödinbug
  • 692
  • 9
  • 19
0
votes
0 answers

dronekit-android API addMavlinkObserver causes system crash

I am using dronekit-android packages that can successfully connect to PX4 board. However, I try to receive the mavlink message in a while 1 thread, the receive API addMavlinkObserver causes the system crash. After the drone is connected, I simply…
Sean Hsu
  • 11
  • 2
0
votes
3 answers

How to do «go to left/right/forward/backward» with python dronekit?

I am using APM for autopiloting my hexacopter and following this tutorial. by looking at this available commands, I cannot see how one can command the drone to go to left/right/forward/backward? Can anybody help me on this?
dariush
  • 3,191
  • 3
  • 24
  • 43