mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-19 03:30:35 +08:00
5857cf4799
* Migrate remaining member variable intialization to declarations and employ uniform initialization style. Copy/paste help() and main() methods to the bottom of the file to match convention with other distance sensor drivers. * Refactor the LeddarOne driver class to give scope resultion to the methods that were global and to standardize the implementation against most of the other distance sensor drivers. * Deprecate _reports member var, use of hardware ring buffer, and LeddarOne::read() method. * Deprecate commented (dead) code from the LeddarOne class init() method. * Refactor the LeddarOne class cycle() and collect() methods and create measure() method to untangle the previous logic implementation.