Servers by jDrones

Proximity Sensor - DISTANCE_SENSOR Mavlink Message

Hi everyone,

I have a problem with the proximity sensor configuration via Mavlink Message on my drone. I am using mission planner as a ground controler.

I send Mavlink messages from my drone with DISTANCE_SENSOR message (System ID = 1 and component ID = MAV_COMP_ID_PATHPLANNER (195)).
I have configured AVOID_ENABLE to All and PRX_TYPE to Mavlink on the drone.

I get the attached image. In the mavlink inspector everything seems to work, I do receive the messages in the mission planner but on the other hand in the proximity viewer nothing is displayed. I had already used this method on an old project and it was working fine.

Can you tell me, if it’s just a graphics issue or if there is something I missed.

Thank you in advance.

mission planner is expecting the message to be originating from the autopilot, not a component.

if your component sent out a heartbeat, MP would show it as a separate element in the drop down list in the top right, and then could show the proximity screen for that sysid/compid element.

1 Like

also, have you confirmed that ArduPilot is even processing your component messages? im not sure is a component source is supported

Thanks for your help,

Indeed, I had incorrectly sent my heartbeat message from the component.

Now it’s work fine and I can see data in the proximity screen.

Servers by jDrones