I would like your opinion regarding a project I am trying to achieve.
I have a drone equipped with a pixhawk and a raspberry Pi 3, the two are linked in order to create an autonomous flight mode. I generate mavlink messages from raspberry, the code is in C.
Let me explain, I would like to be able to fly the drone using Mavlink messages. I have already done some research and I came across the messages MAV_LOCAL_POSITION_NED and MAV_GLOBAL_POSITION_INT, but I would like to be able to give a relative displacement order which does not depend on the NED convention.
For example, I would like to be able to give the order to move the drone X meters to the right (of the drone) without taking care the NED orientation.
I could see that you could use MAVSDK except that my code is in C, and that MAVSDK is available in C ++. Do you have any alternatives for or ideas for making this movement?
Thank you for your help