Good day all
Getting my feet wet with Mavlink.
I would like to add object avoidance to my drone and I have been reading a few
posts on this topic. Including this one:
My setup -
Sensor TFMiniPlus ( lidar )
companion computer : Teensy 4.0
( I actually have two quads. This one is based on the pixhawk 2.4.8 and I am
starting with this one as this is my “try-it-first-drone”. But ultimately I want
to transfer it to my other quad based on the Pixhack V3x )
On the 2.4.8 I am running copter 3.55 and on the pixhack V3 I am runing 4.06.
I have coded the sensor-interface code and I can also receive the heartbeat messages from the 2.4.8.
Port 2 on Teensy : connected to drone ( Mavlink )
Port 3 on Teensy : connected to TFmini+
I have checked the contents of the message been sent to the drone and it seems correct. BUt my MP still says : Bad LiDAR health. Which to me means it is not receiving the messages I am sending.
Oh… my settings are
Now my question:
From what I have been reading , certain commands ( like Param request ) will result in a response.
Does the mavlink message MAVLINK DISTANCE MESSAGE also yield a response that I can look out for ? If so, then I can use the response or lack thereof, to judge if the FC is receiving my message ?
I couldn’t find a place where MP can show me the mavlink messages, hoping I can use that to see if the FC is receiving my message.