Hi @Cristian-wp , param1 is used to set the base_mode variable, to sub_mode, see the actual implementation of VEHICLE_CMD_DO_SET_MODE:
You want base_mode=VEHICLE_MODE_FLAG_CUSTOM_MODE_ENABLED (1) in order to enter OFFBOARD:
Hi @Cristian-wp , param1 is used to set the base_mode variable, to sub_mode, see the actual implementation of VEHICLE_CMD_DO_SET_MODE:
You want base_mode=VEHICLE_MODE_FLAG_CUSTOM_MODE_ENABLED (1) in order to enter OFFBOARD: