Based on the MAVLink Messaging tutorial (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 px4-firmware
Please, do you have a solution? Thank you very much!