Hello!
We are working on a project to make the FCC that uploaded Custom PX4 Firmware accessible only to certain Custom QGroundStations.
Currently, we are trying to implement the function by comparing the git hash value.
Is there a way to send a message from QGroundControl to PX4?
Or is there an easy way to get PX4 to connect to only certain ground stations?
Thank you in advance.
NIA1995
November 1, 2023, 11:36am
2
As a new way to implement the function, I changed the id value of Heartbeat in Mavlink Message from 0 to 3, created a new library through mavlink Generator, applied it to PX4 firmware and QGroundControl, and tried to communicate through USB connection, but it was not recognized.
NIA1995
November 21, 2023, 4:29am
3
This issue has been resolved.
The reason why communication was not possible even if the id value of the heartbeat message was changed was because the CRC information did not match.
Use common.xml for PX4, all.xml for QGC, or ArduPilotMega.xml.
But in my case, there was a mistake in QGroundControl. Now PX4 and QGC normally communicate with heartbeats with three id values.
Below is the reference data.
https://dev.qgroundcontrol.com/master/en/custom_build/mavlink.html
Hi!
I have an issue with sending a custom mavlink message and receiving it in QGroundControl.
I have been following this and this .
Here is what I did so far:
Declare ca_trajectory.msg:
uint64 timestamp
uint64 time_start_usec
uint64 time_stop_usec
uint32 coefficients
uint16 seq_id
#TOPICS ca_trajectory
Add the message to common.xml
<message id="401" name="CA_TRAJECTORY">
<description>This message encodes all of the raw rudder sensor data from the USV.</description>
<fiel…