Skip to content

Commit

Permalink
LeddarOne: Refactor the driver to standardize against other distance …
Browse files Browse the repository at this point in the history
…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
mcsauder authored and dagar committed Jun 29, 2019
1 parent 309322c commit 5857cf4
Showing 1 changed file with 388 additions and 300 deletions.
Loading

0 comments on commit 5857cf4

Please sign in to comment.