82 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
0
replies
25
views
MAVLink messages to monitor payload status
Which MAVLink messages can be used to report or monitor payload status in ArduPilot?
I'm working with ArduPilot and a custom payload system. I can send payload commands (e.g., deploy, release, ...
0
votes
0
answers
40
views
SET_POSITION_TARGET_LOCAL_NED (84) method
Now,Already receive setMode method and control uav move. However, the steering function is not currently available.
public void droneControl(String sn, float x, float y, float h, float w) throws ...
0
votes
0
answers
12
views
Horizontal speed is constant despite configuration
I am running SITL px4 simulation with Gazebo as backend simulation engine and visualization, and using QGroundControl as GCS console.
I set the firmware (SITL mode) to MPC_XY_VEL_MAX speed to 20 meter/...
0
votes
1
answer
41
views
EOF error when running Lua script in Mavproxy
I'm trying to use this lua script in a simulation using Mavproxy. Although, whenever I run it, I get this error AP: PreArm: Scripting: Error: ./scripts/teste.lua:53: ex. I use mavproxy.py --master ...
1
vote
2
answers
121
views
How to Set Remote ID for a Drone via MAVLink from GCS?
I am working on a custom implementation to send MAVLink messages from a Ground Control Station (GCS) to a simulated drone. Specifically, I need to set the Remote ID of the drone.
I attempted to use ...
0
votes
1
answer
125
views
How to automatically import .waypoints file into mission planner?
When I run my Python code, I return an output as a .waypoints file and I want to automatically transfer this route to mission planner after the code runs. How can I do this?
I thought about sending it ...
0
votes
0
answers
31
views
How should a server Connection class be implemented to support TCP and UDP connections?
I'm trying to implement the MAVLink protocol in Java. After testing that I can read and write messages properly I would like to create a Connection class that handles the information process, however, ...
0
votes
0
answers
76
views
Python3 Pickling Error in Multithreaded Application upon App Freezing
I have a Python 3.10.11 Application that works fine on development. However, upon freezing the application with PyInstaller (Desktop App) it gives me an error that states that "cannot pickle '...
1
vote
0
answers
64
views
gomavlib Arming Command Not Working with QGroundControl
I'm trying to arm a drone using the gomavlib library and sending the MAV_CMD_COMPONENT_ARM_DISARM command with Param1 set to 1. However, the command doesn't seem to be working with QGroundControl. The ...
0
votes
1
answer
70
views
AssertionError when launching python via systemd [closed]
I seem to be getting an AssertionError with my Python script, but only when I launch it through systemd. Otherwise, it works fine if launched manually from the command line. I thought perhaps it's a ...
0
votes
1
answer
429
views
Get stuck in wait_heartbeat() in Pymavlink HereLink
I am quite new to HereLink and Pymavlink.
I have a HereLink RC controller connected connected to a Linux machine. RC is paired with Airunit:
Air-unit ← - - - - - - → RC ↔ Linux machine (with pymavlink ...
3
votes
0
answers
185
views
How can I publish/subscribe to messages without any loss?
I've been developing an async Rust library for the MAVLink Protocol that will communicate with UAVs.
The library follows a communication flow as described:
The message publisher task receives ...
0
votes
1
answer
165
views
ESP-IDF and MAVLink UART communication problem
I'm trying to move from the Arduino framework to ESP-IDF. I'm attempting to rewrite my code in ESP-IDF, and I'm encountering an issue. This is my code:
#define UART_BUF_SIZE 1024
void read_uart_task(...
0
votes
0
answers
57
views
reduce the size of speed in packet payload
How can I reduce the size of speed data from 4-bytes to 2-bytes in C.
I have a packet payload of 41-bytes I reduced some data and now I have 39-bytes where I want my packet payload to be 36-byte.
The ...
0
votes
1
answer
594
views
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 ...