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

How can I add a new message in the mavlink protocol?

I'm new in Mavlink, I want to add a new message in the Mavlink protocol and send it each second periodically. How can I do it?
Oscar MV
  • 63
  • 1
  • 1
  • 7
2
votes
3 answers

Drone-kit Python would not let me change modes in the simulator while in air

Whenever I try changing modes in the air, drone-kit python script continues to leave the copter in GUIDED mode. I essential want my python script to allow my drone to fly through a certain location and switch its mode to LOITER in the air and stay…
2
votes
2 answers

Install SITL Error: what am I missing?

I am stuck with getting the SITL to install and I have tried many ways. Please I don't know how to proceed. I followed the instructions in http://dev.ardupilot.com/wiki/sitl-nati ... _in_cygwin I am able to make px4-v2 The paths are set correctly in…
Bimo
  • 21
  • 2
2
votes
2 answers

High-rate telemetery / position / attitude

From a high level, I am trying to combine my Pixhawk telemetry data (specifically GPS position and vehicle attitude) with other sensor data on my RaspPi 2, that is connected via DroneKit. I have the Pixhawk connected via the GPIO header, at a 115200…
Mike Klinker
  • 33
  • 1
  • 3
2
votes
3 answers

Run python script with droneapi without terminal

I managed to run examples in command prompt after running mavproxy.py and loading droneapi. But when I double click on on my script, it throws me "'local_connect' is not defined", it runs in terminal as was told above, but I cannot run it only with…
Sony Nguyen
  • 103
  • 1
  • 1
  • 4
1
vote
1 answer

Dronekit-sitl fails to bind on default port 5760

I have dronekit-sitl installed in a python3 virtual environment on my Windows 10 machine and have used it before by running dronekit-sitl copter with no issues. However, as of today I am running across what seems to be a permission issue when trying…
kyrlon
  • 1,065
  • 2
  • 8
  • 16
1
vote
1 answer

Android Studio Error Manifest merger failed : Apps targeting Android 12 exported already exists

I'm not good at English, so I use a translator. I'm sorry. I'm working on a project to control drones on mobile, and I'm going to find a module called dronekit and use it, but when I apply it, the same error appears. Manifest merger failed :…
mist-rain
  • 11
  • 1
1
vote
0 answers

Mavproxy + mission planner + dronekit with no companion computer

I’m trying to connect mavproxy, mission planner and dronekit to my hexa. i am not using a companion computer my setup is as follows: i have a pc running windows for mission planner and on that same pc im running a virtual machine with ubuntu 16.04…
1
vote
1 answer

Dronekit upload to Pixhawk 4 - rounding issue

When I upload to the Pixhawk via Mission Planner, and then download it again, there doesn't seem to be any issue. But when I use Dronekit to upload a mission file, it comes back looking very strange. Here's the (simplified) code I use to…
catokass
  • 31
  • 4
1
vote
2 answers

Drone SDK supporting free-flight control

This is my first time getting into drones. I am looking at DJI drones, currently as it seems most promising from a documentation and reviews point of view. Basically, I would like to program a drone(s) to fly a certain pattern and take pictures when…
1
vote
1 answer

Takeoff after Landing using Dronekit

I am using a Pixhawk 2.1 Cube on Arducopter v3.6.4 with a Raspberry Pi 3 Model B running dronekit scripts. What I want to do is takeoff, go to a point and land there and after some time take off and return to the home location or some other point. I…
SohaibAJ
  • 83
  • 9
1
vote
2 answers

DroneKit for DJI drone

I am learning to control drone using different SDKs or development kits and came across the dronekit. What droneKit do is: DroneKit-Python 2.x helps you create powerful apps for UAVs. These apps run on a UAV’s Companion Computer, and augment the…
Muhammad Faizan Khan
  • 10,013
  • 18
  • 97
  • 186
1
vote
0 answers

Connecting to bebop parrot drone via wifi with dronekit

I have a parrot bebop drone and I was curious if you can use the connect() method from dronekit to connect to it with the wifi that is built into the drone. connect() has connection string to use if connected to windows via usb or 3DR Telemetry…
1
vote
0 answers

Unable to do SITL simulation with Dronekit + APM Planner on Mac

I want to do SITL simulation with Dronekit + MissionPlanner on Mac, and tried to follow this page and this video. But I couldn't do that. The procedures I did are listed below. $ pip2 install dronekit $ pip2 install dronekit-sitl $ pip2 install…
1
vote
0 answers

Providing Virtual Distance Sensor Measurements to Autopilot

I am trying to provide virtual rangefinder module measurements to the autopilot. So far i found the following…
hello
  • 33
  • 4