I need to write a simple program to send MAV_CMD_DO_MOTOR_TEST messages … I tought to use mavsdk::MAVLinkPasstrough … I noticed that using this kind of plugins lead to a compilation error:

/opt/mavsdk/include/mavsdk/plugins/mavlink_passthrough/mavlink_include.h:3: error: mavlink/v2.0/common/mavlink.h: No such file or directory
    3 | #include "mavlink/v2.0/common/mavlink.h"

It can be fixed in this way:

#include "mavsdk/mavlink/v2.0/common/mavlink.h"

Please note that this file is generated every time proto files are modified and compiled