63
edits
Changes
→Some consideration about "AP_RangeFinder" library
=Implement Sonar support into Pixhawk firmware=
In order to add the Waytronic sonar support in the Pixhawk fw we first need to implement a new library class for our specific device (AP_RangeFinder_WayTronic18mSerial) in the /ardupilot/libraries/ folder and then integrate it in the generic "RangeFinder" class.
==Some consideration about "AP_RangeFinder" library==
TODO:
#Define a new RangeFinder driver type adding a member in the "RangeFinder_Type" enum.(RangeFinder.h)#Add the device support for the sonar in the "void RangeFinder::detect_instance(uint8_t instance)" method so it can be detected.(RangeFinder.cpp)
#....(you tell me 師傅 (shifu))