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

IndexError: bytearray index out of range? Python

I tried to send commands through Pymavlink #233 But as I input the data. The data is in binary. It comes with this error. Does anyone know what the following error means? return MAVLink_message.pack(self, mav, 35, struct.pack(’
Joseph Lim
  • 11
  • 1
  • 4
0
votes
2 answers

Connect mavlink (on RPi) with QGroundControl

I am trying to connect Mavlink (installed on RPi) with QGroundControl via 3DR Radio Telemetry as to transmit telemetry data from RPi without dependency of Ardupilot/Px4 flightcontrollers. I want to achieve transmitting data such as GPS or Postion…
TheLazy
  • 253
  • 1
  • 15
0
votes
1 answer

Trying to install mavlink using anaconda. I keep getting " UnsatisfiableError: The following specifications were found to be in conflict:"

As you can see I am trying to install mavlink using Anaconda. My main goal is to use mavgraph to graph log files for a quadcopter I am working on. Any help would be appreciated. Thank you. Here is the code from my terminal: $ conda install -c brenda…
0
votes
1 answer

how does mavlink or any other over-the-air protocol come in play with software?

I'm trying to understand how one software such as Mission Planner or APM2 or QGroundControl works from beginning to end. So, each application/software source code does not directly execute passing mavlink protocols, correct? Are the mavlink…
0
votes
1 answer

Python, DroneKit, Pixhawk and ArduPilot Mission Planner: how to send text messages via the built-in telemetry to a ground station

I am working on a student project involving a drone which runs on the Pixhawk platform but has a 'companion computer' in the form of a Raspberry Pi. The Pi runs its own Python software and uses DroneKit (and therefore MAVLink?) to communicate with…
jt78
  • 906
  • 2
  • 10
  • 22
0
votes
1 answer

What are the arguments needed for ConnectionParameter?

I've been following 3DR Dronekit-Android step-by-step project to create a mission planner app on Android Studio. I am stuck on creating a method for connecting via UDP. extraParams.putInt(ConnectionType.EXTRA_UDP_SERVER_PORT,…
0
votes
0 answers

yaw angle reading probemc#

I have a little problem with my yaw angle. I am developing an application that calibrates my magneto. But when I'm reading my angles from the at-sensor, I have something very weird for the yaw angle. Normally I should have something stable, but I…
0
votes
1 answer

Dronekit Python didn't go to specific location

I have problem about Dronekit on Python My project about receive GPS Location from Android application and Launch drone flying to that Position, Everything work fine but problem is Drone can takeoff but drone didn't go to that Location(Testing 10+…
0
votes
1 answer

Converting mavlink c library to dll

Is it possible to convert MAVLink C library to .so using eclipse? I'm trying to call mavlink library from lunix RT on myRio1900 board.
Alex
  • 1
  • 1
0
votes
1 answer

How to get Waypoints information from Pixhawk and send it to Raspberry while the mission is uploaded through mission planner?

I am working on a project using a fixed wings UAV. I want to perform RC override when UAV reaches certain waypoints. I have defined the waypoints and uploaded the mission to Pixhawk using Misison Planner I have a 4G module connected to Raspberry Pi…
0
votes
0 answers

C - Mavlink program : sendto fails and returns EINVAL while connecting to a drone

I'm trying to use a mavlink sample developed by Parrot to control a Bebop2 using mavlink protocol (link here). In order to send a message to the drone, they use the sendto function but I encounter an issue I cannot resolve : everytime I try to make…
0
votes
1 answer

use mavlink without qgroundcontrol

I'm trying to conect my PX4Flow sensor to a raspberry pi. It seems that nearly everybody is using qgroundcontrol to access and control it. But as I'd like to integrate it into some bigger program, I'd like to control it with some self-written simple…
0
votes
1 answer

How to convert message type Float64 to Float32

I'm trying to publish data from the topic /mavros/global_position/compass_hdg which is a Float64 type message (std_msgs/Float64) but none of the Float64 type topics are publishing data on my Nvidia Jetson TX1. So I figured, since Float32 types work…
afkhero
  • 16
  • 1
  • 5
0
votes
1 answer

Mavlink pre-flight configuration

I'm using mavlink with a pixhawk flight controller. I receive messages from heartbeat thought I don't know how to receive information about it's altitude, pitch, roll or yaw. When I connect pixhawk through qgroundcontrol application I immediately…
Artemis
  • 271
  • 1
  • 2
  • 8
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