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

How to use dronekit with SITL vagrant VM from dev Wiki

I am following the getting started instructions in DroneKit-Python to set up DroneKit in a VM. To make things easier for myself I started by Setting up SITL using Vagrant. However I can't work out how to have SITL running and talk to it from the…
Hamish Willee
  • 372
  • 1
  • 3
  • 11
5
votes
1 answer

How to send waypoints programmatically to drone?

I am very new at this and trying to get an understanding of this. I have read a lot on the DroneKit-Python site trying to figure out how exactly am I able to communicate with it. Drone I am currently using is Iris+ I have looked more and there are…
zyeek
  • 1,277
  • 12
  • 27
4
votes
2 answers

Change velocity with message to Mavlink

I'm trying to move a vehicle by changing the velocity. I've been able to perform the operation successfully in Python, but for my project I can not use Python, so I'm using Android to try to make the same operation. The working functionality in…
4
votes
0 answers

Android DroneKit over Bluetooth

I currently purchased the 3DR bluetooth module for pixhawk to transfer telemetry data to an android phone. I am able to connect to the device, i.e. the bluetooth module turns solid red. However, the android program says that the phone and pixhawk…
dylan7
  • 803
  • 1
  • 10
  • 22
4
votes
1 answer

Connect Dronekit and Mission Planner simultaneously to Pixhawk over 3DR radio

I like Dronekit for controlling my copter, and I like Mission Planner for monitoring my copter during a flight. I'd really like to have both sets of functionality. Is there a way to connect Dronekit and Mission Planner to the Pixhawk at the same…
aknight0
  • 163
  • 2
  • 14
3
votes
0 answers

How do I get the GPS_velocity?

How to get the previous_lat,lon and current_lat, lon, then caculate the speed each 0.1s. I have some code about cacluate the distance with different lat ,lon. but i don't now how to calcute vehicle itself distance and velocity. from __future__…
YUKI
  • 29
  • 1
3
votes
2 answers

How to set GUIDED_NOGPS mode with Arducopter on Dronekit?

How do I command Arducopter to enter guided_nogps mode? I am planning to operate in a gps denied environment, and although other posts indicate this is possible with guided-nogps, I cannot see how to set that mode. Using Dronekit (python)…
M Isted
  • 31
  • 1
  • 4
3
votes
2 answers

MAVProxy installed by Python can't find required modules

I installed droneapi in the same manner given in the tutorial. However, it's missing all of the important modules that come with MAVProxy, such as console, wx, etc. Was it supposed to install these modules, or should I move them over from MAVProxy…
Indeed
  • 139
  • 14
3
votes
1 answer

Failed to resolve 3DR Services library dependency while syncing Gradle in Android Studio

I'm working through this example on the DroneKit Android documentation website. When I sync the Gradle after adding the 3DR Services library dependency "com.o3dr.android:droneKit-android:2.3.11", I receive: Error:(24,13): Failed to resolve:…
2
votes
1 answer

Dronekit-python running in docker connecting to MAVProxy on host

I am using dronekit-python in a docker container and am attempting to connect to an instance of MAVProxy running on my host machine (Mac OSX) using the following command: vehicle = connect('udp:host.docker.internal:14551', wait_ready=True) but am…
2
votes
1 answer

Can i connect to pixhawk with python?

I want to connect pixhawk without Mission Planner because Mission Planner supported Python 2.7 script but i work on Python 3.7 so can i connect to pixhawk Just Python with telemetry module? OS: Win 10
M. Sahin
  • 35
  • 1
  • 6
2
votes
2 answers

Example to connect from container to host service

I am new to Docker and Drone Programming. I was able to deploy a python script (that contains dronekit code) to docker container on my Windows 10. To run the script, I need to connect to a service on my host. I have provided a snippet below, Windows…
San123
  • 86
  • 1
  • 7
2
votes
2 answers

How can I arm and takeoff the drone with Pixhawk and raspberry by dronekit python

We have bought a Pixhawk 2.1 flight controller , and we are working on a university project ; the project is that we have to solve a puzzle by a drone ( which contains a raspberry pi 3 ) and send the right way coordinates to a small car . Our…
2
votes
1 answer

Dronekit python vehicle connection timeout

we are having a bit of trouble getting Dronekit working with our copter. Thus far we have tested everything using SITL and it all works fine, however this success has not transferred across to the real thing very well. Our setup is: Windows GCS…
SCTaylor
  • 131
  • 3
  • 12
2
votes
3 answers

Is DJI SDK communicate with MAVLink protocol?

I am making an app for Auto Boat system and as I read the Doc of Drone Kit API . This API is not for iOS. I have searched for another one which is DJI SDK . I am using pixhawk device for flight controller and it listen MAVLink protocol . I just want…
Harish Singh
  • 765
  • 1
  • 12
  • 23
1
2 3 4 5 6 7 8