Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 16:47
    EmirhanKarahan opened #1070
  • 13:25
    4NTH3L1OS commented #1069
  • 12:50
    prashanthravi19 opened #1069
  • 12:19
    sakaryag commented #1066
  • Sep 25 05:21
    Benix6 edited #1068
  • Sep 25 05:20
    Benix6 opened #1068
  • Sep 24 08:44
    darpant-289 closed #1067
  • Sep 24 05:46
    darpant-289 opened #1067
  • Sep 23 13:28
    atomattias edited #148
  • Sep 23 13:28
    atomattias opened #148
  • Sep 23 11:19
    atomattias edited #1066
  • Sep 23 05:27
    atomattias opened #1066
  • Sep 21 14:13
    mustafa-gokce opened #1065
  • Sep 18 14:10
    FedePeralta closed #1045
  • Sep 18 14:10
    FedePeralta commented #1045
  • Sep 17 07:22
    rajivrawat982 commented #685
  • Sep 17 07:20
    rajivrawat982 commented #685
  • Sep 16 13:49
    shacharp edited #1064
  • Sep 16 13:49
    shacharp opened #1064
  • Sep 16 09:45
    rekhyzakaria55 opened #1063
i am using python3 in Linux now
@Guohao91 Thanks!
does anyone know if the raw command "mavutil.mavlink.MAV_CMD_CONDITION_YAW" can be used under NoGPS mode?
does anybody know why mavutil.mavlink.MAV_FRAME_BODY_OFFSET_NED doesn't work with Rover? any other command that can send velocity movement to Rover?
Eesh Vij
Does anyone know how I can send continuous yaw correction to the aircraft without the yaw commands overriding each other? For instance if I want the aircraft to follow me and I am constantly sending it yaw commands for heading correction in accordance to how I move.
does anyone has sent pozyx data to a drone using dronekit and ardupilot ?
I am having timeout exception after a number of wait_ready calls continously untill home locaiton is received. Do any of you know the solution?
Suvrajit Sarkar
Has anybody implemented dronekit with naze32?
can somebody help me with this issue dronekit/dronekit-python#1033
Hi, I'm following this guide I'm at 'Connecting an additional Ground Station'
when I execute the command --master tcp: --sitl --out --out the file opens up
it opens in visual studio code, but as per a tutorial I saw this shouldn't happen
can someone pls help?
I'm on Windows 10
I uninstalled visual studio code, now I'm getting The system cannot execute the specified program.
I used the command by navigating to file, that worked
python --master tcp: --sitl --out --out
Dear All, I am a student. For my Master Thesis i am working on a project where - I am trying to create an indoor (warehouse) environment, in that indoor environment I want to fly my SITL drone and want to simulate the performance. Now I want to create the environment with Gazebo and using ardupilot- gazebo i can put my SITL drone into it. Now to write the autonomous software I want to use Dronekit (because of better documentation ). I really need some help from some one who has experience with similar project. I would really appreciate any of your suggestions or responses. One thing : I am completely new with this stuffs - even new in this kind of communities ..
Hi everyone, i have an interesting problem. Although the mavlink connection is successful, the drone data does not appear in the software and the drone does not move. In fact, the drone is connected and the task begins. However, it seems as if it has never been connected on the mission planner screen. Waiting in case of disarm. Does anyone have an idea about this issue?
Hi all, I have a question. I'm running dronekit on a virtual machine running linux 16.04 and on the same PC I'm running mission planner. I'm trying to connect dronekit via 3dr radio. I'm using mavproxy as the master and then I'm forking out to 2 udp ports as follows:
@DoneMan --master=/dev/ttyUSB0 --baudrate=57600 --out= --out= the first --out is for dronekit and the second --out is for mission planner. The master is using the 3dr radio to connect to the drone. I'm able to connect to the drone threw mission planner and am able to send simple mavproxy commands to the drone. When I try to connect a dronekit script to connect to the drone I get a timeout error... after 30 seconds. My dronekit script comment code is: vehicle=connect('', wait_ready=True) but I get the timeout error. Ia it even possible to connext dronekit via telemetry radio? Or do I have to run it on a companion computer?
2 replies
is it true that dronekit developers have stooped maintaining and supporting it?
Hey all, I am using Dronekit to get GPS data from Pixhawk to Rpi using telemetry 2 and storing the GPS data in a CSV format on Rpi.
I want to change the frequency of GPS (UBlox 7m) data from pixhawk and tried it by changing the SR2_Position parameter to 1 Hz, but it keeps on changing back. I have even tried to change the Telemetry Rates position to -1 in Mission Planner and "set streamrate -1" inside
But the issue still persists, can anyone please help me with this?
Hiren Namera
Hello i want to get data from px4 using mavlink in dronekit-python? Data which i need is distance sensor Data like Lidar down, up which we can see in QGC like this.
eachine drones is compatible with the dronekit sdk?
Joshua Ermias
Hey everyone, I am trying to use an NVIDIA Jetson Nano with my px4 Pixhawk connected over serial (/dev/ttyTHS1). I can successfully run mavproxy with (sudo python3 --master=/dev/ttyTHS1 --baudrate 115200 --aircraft file) and I am able to connect and arm. However, I tried this (vehicle = connect('/dev/ttyTHS1', wait_ready=True, baud=115200)) dronekit command to connect to the pixhawk and I am having no luck (WARNING:dronekit:Link timeout, no heartbeat in last 5 seconds). Anyone have any thoughts?
1 reply
Juan de Dios Yáñez
@joshjle Try connect by usb all times. Too is posible that your pixhawk need more time for be ready.
Hey guys. I'm new to drone-kit. I want to fly the drone indoors through dronekit. Take off, reaching a respective altitude, then fly forward backward left and right. I can achieve all this through drone-kit python with GPS enabled. I pass the velocity commands through send_ned_velocity function. However, to fly indoors, I can't rely on GPS. How should I approach this?
Joshua Ermias
@juandediosyanez I got it working! The issue was I was using PX4 firmware instead of Ardupilot, and DroneKit does not have strong support for that system
Hi guys. I just wonder is there any good reference to show how to control gimbal?
hi @gauravshukla914 even we are working on same project we are using px4flow and lidar and configured all parameters still we are not getting result.
I wonder if anyone can help
I am trying to run object tracking to control ardupulot
Does anyone know of any tuto
I asked this question in pymavlink as well. I am trying to debug an issue where I am listening for all mavlink message types but I am getting nothing. However I am connected to the vehicle and I can request vehicle info.
I am also able to see mavlink messages elsewhere.
hi has anyone tried to send mavlink message with droneit from a docker container specially, sending a message_factory ?
Cole Rawie


I have a question regarding the landing_target_encode() and the vehicle.connect() function and wasn't sure where else to post it.

I am using vehicle.message_factory.landing_target_encode() to send the message Landing_Target to a Pixhawk cube black running ArduCopter 4.0.3. The message contains x and y coordinants of an ArUco tag, used for conducting precision landing. When the tag and the drone are stationary (meaning x and y should be nonchanging), I have wildly changing x and y values. I'm wondering if this is due to corruption of the mavlink message before it reaches the Flight Controller. If needed, I'd be happy to provide flight logs.

The script is running on a Raspberry Pi 3b+ which is connect to the Flight Controller via UART. I am noticing when I run the Raspberry pi with a virtual flight controller (RPi connected to PC running SITL, Simulator in the Loop) that the Link from the RPi will go down every 10 seconds or so. I'm wondering if this may be an issues with the vehicle.connect() call... I've changed my python scripting to send a message 2x a second, so I'm not sure why I still am having the link drop out on SITL.

If anyone has any advice, I am all ears!

Thanks for your time.

Hello everyone been tryin to connect Rpi 3 b+ to my pixhawk 2.4.8 via dronekit for some scripting but stuck at below error message anyone can help me out to fix this issue thx !
Yusuf Uçan
Hello, want to create a connection between pixhawk and raspberry pi 4 model B. I explained my problem on stackoverflow. Can someone help me please?
Richard Abrich
Hello everyone! Is there a list of hardware devices that dronekit currently supports?
Hi! I want to steer a pixhawk with cube through DroneKit on a Raspberry Pi. Why is it recommended to connect a Pi via Telem2 and not USB?
Hi, i connected my Pi4 to my APM via MicroUsb. Everything works fine but a simple script takes like 15 seconds to finish? Can i do something so i make things faster? Thanks you already.