# Sending custom messages

**URL:** <https://discuss.px4.io/t/sending-custom-messages/19792>\
**Category:** MAVLink\
**Created:** [November 27, 2020, 8:56pm UTC](https://discuss.px4.io/t/sending-custom-messages/19792 "2020-11-27T20:56:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdobrea](https://discuss.px4.io/user_avatar/discuss.px4.io/mdobrea/32/7568_2.png) [@mdobrea](https://discuss.px4.io/u/mdobrea)\
**Post date:** [November 27, 2020, 8:56pm UTC](https://discuss.px4.io/t/sending-custom-messages/19792/1 "2020-11-27T20:56:16Z")

</div>

Hi to everyone!

I try to understand how to send a custom message from a companion computer to a base station for the last two weeks. Most schematically, the situation is as follows:

Companion computers (NavQ) ==1==\> FMU (RDDRONE-FMUK66) ==2==\> base station (PC-Laptop)

On the NavQ a python app is working.

1 =\> serial link  
2 =\> telemetry link (433 MHz)

I made some progress (I am able to send a custom message from the FMU to the base station, and the connection between NavQ and the FMU is working), but I cannot understand the big picture of the main concepts. How can a custom message be relayed through the FMU? How to send the custom message from the Python app placed on the companion computer, and how it is forwarded to the base station? Please, can someone help me?

Thank you very much!!!

---

<div class="post-metadata">

**Author:** ![mdobrea](https://discuss.px4.io/user_avatar/discuss.px4.io/mdobrea/32/7568_2.png) [@mdobrea](https://discuss.px4.io/u/mdobrea)\
**Post date:** [November 30, 2020, 9:09pm UTC](https://discuss.px4.io/t/sending-custom-messages/19792/2 "2020-11-30T21:09:25Z")

</div>

From the last post I made some progress, but right now I have another problem:

Based on the MAVLink Messaging tutorial ([https://dev.px4.io/v1.10/en/middleware/mavlink.html](https://dev.px4.io/v1.10/en/middleware/mavlink.html)) I followed all the step, but when I compile the code I get the error:

error: ‘MavlinkOrbSubscription’ does not name a type in mavlin\_messages.c.

Searching I found that the MavlinkOrbSubscription class is included in the mavlink\_orb\_subscription.h file. But, I do not have a such file in all the project. I installed the PX4 using:

$ git clone --recursive [https://github.com/PX4/Firmware.git](https://github.com/PX4/Firmware.git) px4-firmware

Please, do you have a solution? Thank you very much!

Dobrea Dan.
