Copter: switch to use new Sonar class to be consistent with plane
This would be great and the future ability to display sonar alt on the OSD.
I would like to second this one.
Will this also make it available to MinimOSD Extra?
Sonar distance via MAVLink is done in master thanks to Ben. https://github.com/diydrones/ardupilot/commit/8c7b4feac11189c3113fd23936fc7555b6daef44
This will go out with -rc2.
We still need to switch to the new class to be consistent with plane but that will happen as a separate step.
Master has been updated to use a rewritten new range finder class that includes support for the i2c maxbotix sonar and the pulsed light laser range finder (pixhawk only). I'll close this item but we will need to test it more when -rc3 goes out.
@Randy : does this mean the analog sonar works as well ?
@badzz, yes, on Pixhawk it'll be analog sonar, i2c sonar, pulsed light sonar, even the fancy SF02 laser range finder from that south african company will work.