Servers by jDrones

Range Finder for Altitude hold flights

Hello Friends,
I want my plane to maintain altitude in steady flight based on readings it gets from low level sensor or a RADAR based altimeter. Is this something already in the code with “rangefinder.h” or the code needs to modified or compiled to enable me to use the sensor. I plan on using special sensors to maintain low level flights at below 30metres.
Thanks in advance. Looking forward to hear from all!!!


I have a similar problem, I am trying to simulate an external range finder with sending a mavlink_distance_sensor_t message from ground station to arduplane but nothing happens. I would like to achieve ‘altitude hold’ mode flight.
Which modes I shoud use? It should run in AUTO MODE or other? Do I need to set some other parameters ?
What is missing?
Thanks in advance.

Best Regards,

Servers by jDrones