Questions tagged [mavlink]

MAVLink or Micro Air Vehicle Link is a protocol for communicating with small unmanned vehicle.

MAVLink or Micro Air Vehicle Link is a protocol for communicating with small unmanned vehicle. It is designed as a header-only message marshaling library. MAVLink was first released early 2009 by Lorenz Meier under LGPL license.

79 questions
5
votes
0 answers

_UnixSelectorEventLoop' object has no attribute '_ssock

I am running an async method inside an interval schedule method and sending data to websocket after every second. It works fine for a while but after sometime below error appear in celery worker terminal. I using python 3.8.5 and djnago 3.1.7. Can…
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…
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

Have any of these attempts to get GPS time into a mavlink been successful?

I'm trying to get GPS time out of a pixhawk. I've found a bunch of discussions about such but none that appear to have been resolved. Is there any update? This guy and this guy were both told to just use system time (which is not UTC) I also tried…
r4space
  • 31
  • 4
2
votes
1 answer

How to check if the drone is armed or not using MAVLink/MAVProxy?

I want to run a python script when the drone is armed and stop running that python script when the drone is disarmed using MAVProxy. To check that I want to first check if the drone is armed or not. I tried 2 types of code but both of them are…
2
votes
4 answers

Is there C++ SDK for mavlink - Ardupilot?

I want to control Ardupilot drones (for example in Gazebo simulator) using C++ (NOT ROS). Dronekit is a great tool for python but I want something similar using C++. MAVSDK is only compatible with PX4 but I need it for Ardupilot. Is there C++ SDK…
Roy Amoyal
  • 717
  • 4
  • 14
2
votes
0 answers

PX4 rotation over z axis low yaw_rate

The goal I want to achieve is to rotate the drone over z axis slow and when it detects an object it will stop rotating. The first node is publishing the string "Searching" and the second node is subscribing to it. So every time it receives…
Diego
  • 21
  • 2
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
1 answer

Handling of ROS / MAVROS messages on bare metal hardware

I have a project which involves simple serial communication with a proxy using a predefined small subset of MAVLink and ROS / MAVROS messages. I'm running on my own bare metal embedded ARM Cortex F4 hardware with no underlying operating system…
Max van Daalen
  • 317
  • 2
  • 14
2
votes
0 answers

Android Studio Gradle Sync Failed. Cause: org.gradle.api.internal.file.DefaultSourceDirectorySet

I just can't figure this out and am not sure where to look or how to read the log file. Could anyone help? Is this because of Kotlin? This is the error message: Gradle sync failed: Cause:…
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
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
1
vote
1 answer

MAVLink communication unreliable with RFD868x

I'm working on a communication system with RFD868x module, which is supporting mavlink. I'm writing the programs in python with pymavlink. First I test the system with this code: import json import time from pymavlink import mavutil my_dict = { …
1
vote
1 answer

MAVLink listener for specific message

Using MAVLink Router, I created three local host endpoints (bottom left window of the image) and I am able to see the live data through QGroundControl ports 14550 in the MAVLink Inspector, but I can't seem to grab the data in my listen.py script. I…
oofmeister
  • 31
  • 3
1
2 3 4 5 6