I use the mavlink2rest API and main commands are working well (arm, disarm, etc.).
This being, I encounter some troubles in 2 cases:
1 - when sending commands that are not of the same type. For instance, when I use the gripper (command of type MAV_CMD_DO_SET_SERVO) and then go forward (command of type MANUAL_CONTROL), I need to (re)arm the engine so that it works. I don’t think it is normal…
2 - When I send lots of calls to go in one direction. For instance, when I go forward and send the command as long as I stay with the key pressed, the engine disarm automatically.
My questions :
Do I need to arm every time I use a command of type MANUAL_CONTROL ?
Do I need to send command at a regular frequency, so that engine remains armed ?
Thank you for your answers and advices