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
1
vote
0 answers

"Switch off" motor with dronekit-python ('glider' as a vehicle)

I'm working on a project which aims to build an autonomous glider to launch from a weather balloon, using a Raspberry Pi, Dronekit, and a PixHawk. To test our navigation algorithms, we're flying the RC plane up to 400ft (legal limit) and then…
TJT
  • 11
  • 1
1
vote
3 answers

DroneKit :Changing groundspeed in AUTO mode/ implementing "MAV_CMD_DO_CHANGE_SPEED"

I need help figuring out how to set groundspeed in AUTO mode (which is apparently implemented with the Mavlink command "MAV_CMD_DO_CHANGE_SPEED"—but I can't find any examples of this). What I thought would work: vehicle.commands.add(Command( 0, 0,…
Amy Chen
  • 11
  • 3
1
vote
2 answers

Changing Mavlink Message Rate ArduPilotMega

I am working on a project that uses Mavlink protocol (in c++) to communicate with the ArduPilotMega (2.6). I am able to read messages such as ATTITUDE for example. The current message rate (for all messages) is 2Hz and I would like to increase this…
A. Sarid
  • 3,916
  • 2
  • 31
  • 56
1
vote
1 answer

Executing a command shell from popen and set other command shell

I'm working in a project with a quadrotor and mavlink. I have successfully installed mavproxy in my Ubuntu PC and and ran it without problems from terminal. When I run mavproxy.py from the terminal and connected a quadrotor with support for mavlink…
0
votes
0 answers

How i can connect orin nx to pixhawk and then to intel d455

Hello im having trouble connecting pixhawk to orange cube with orin nx and then to intel d455. I dont know if i have to install all those packages from that website : https://ardupilot.org/dev/docs/companion-computer-nvidia-tx2.html Jetpack is…
Thanos Rom
  • 123
  • 1
  • 1
  • 8
0
votes
0 answers

Messages Filters:EndPoint port:14553 receives all messages from all other EndPoints even throw i used AllowSrcSysIn from specific Endpoint port:14552

i created two python file to send and receive text message using pymavlink (statustext_send()) with this : sender.py : connection= mavutil.mavlink_connection("udp:14552" , source_system=21) . . . connection.mav.statustext_send( …
0
votes
1 answer

STM32 - problem parsing mavlink 2 using DMA + circular buffer

I'm trying to read from a uart port telemetry from a pixhawk 4 device, and forward it to another. I can read it successfully however I am skipping some messages. I've tried using a buffer with size 1 however I believe that was one of my…
0
votes
0 answers

Why is my Pixhawk 4 refusing to communicate over USB serial?

I'm developing a camera interface for my drone running PX4 on a Pixhawk 4. I have connected my development machine to the Pixhawk via the USB port on the side. Currently my code is this: import time from pymavlink import mavutil def ping(device): …
MerseyViking
  • 389
  • 3
  • 19
0
votes
0 answers

Using Mavlink2rest server to send telemetry data to my program and also be able to send mavlink commands to the drone with Auterion

I'm using a mavlink2rest server to send commands to my drone simulation and also receive the telemetry data. I was using mission planner and I had no problems there but now I need to switch over to Auterion. Does anyone have any idea as how to…
0
votes
1 answer

No JSON sensor message received, [Errno 111] Connection refused sleeping: sim_vehicle.py, Ardupilot Mavlink, MavProxy, WSL2 Win10

When running sim_vehicle, Ubuntu 22.04, WSL2, Win10, all seems to work, except the connection to MAVLINK/MAVproxy. The map appears, the Mavlink window etc., but writing commands: mode guided etc. don't reach the vehicle. WSL has strange IP addresses…
Twenkid
  • 825
  • 7
  • 15
0
votes
0 answers

QGC crashes every time when the AVD runs

I am trying to build the android version of QGC using Qt creator via an emulator. The AVD that I have created runs with the QGC app installed successfully in it. The app opens for 1 minute and then keeps on crashing. Build details: QT 5.15.2 ABI…
0
votes
0 answers

I need to know the best mached mavsdk version for pymavlink 2.4.35

Now I am trying to connect pymavlink and mavsdk to control drone. But all of the command works well (for example : land(), getposition() and so on..) but only hold() function does not run. I think this is the version problem. So I want to know the…
Melvin Lang
  • 199
  • 1
  • 1
  • 14
0
votes
0 answers

Problem with simulating multiple vehicles in ArduPilot SITL through QGroundControl

I am new to everything in ArduPilot and unmanned vehicle control in general. I am hoping someone here can shed some light on what I am struggling with. By referring to the instructions at…
0
votes
0 answers

How to subscribe to the drone's camera, using Mavsdk (Java, Android)

Im making android app, that have to get connection with drone, subscribe to the camera and display video with the any view. Couldnt find any useful documentation for java - just this thing: https://mavsdk.mavlink.io/v1.4/en/faq.html but there is…
Cookie
  • 1
0
votes
1 answer

how to use mavlink_msg_message_interval_encode?

I'm trying to set a msg interval in ardupilot using mavlink. I know about msg MESSAGE_INTERVAL(#244), that may be send to the Pixhawk and I'm trying to do it by mavlink_msg_message_interval_encode(systemId, componentId, message, interval). But I…
Crucian
  • 1
  • 1