Hi,
I use an arduino to send DISTANCE_SENSOR ([ #132 ] and OBSTACLE_DISTANCE ([ #330 ] messages through serial interface to a CUBE flight controller.
I can see with success the messages in the QGroundcontrol but when I test my hexacopter, it react to theses messages in order to do the terrain following or the collision prevention.
For Collision Prevention I set the MPC_COL_PREV_D to 6 m.
For Terrain Following I set:
EKF2_HGT_MODE=0
EKF2_RNG_AID=1
MPC_ALT_MODE=1
I need help to understand why the flight controller receive the messages with success but don’t react to them.
Thanks for the log. Unfortunately I cannot tell much from it because the logging profile doesn’t contain the messages used to do Collision Prevention. Could you please provide a log with the parameter SDLOG_PROFILE set to also log Computer Vision and Avoidance topics. Thanks
I’ll will do other flight with SDLOG_PROFILE set to log Computer Vision and Avoidance topics and I make it available.
Thank you for you help in this issue
As far as I can tell the collision prevention is working. This is from your log. In flight review if you scroll down the bottom you can see the collision prevention warning