Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LeddarOne: Refactor the driver to standardize against other distance …
…sensor drivers. (#11858) * 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.
- Loading branch information