MomsFriendlyRobotCompany / pycreate2

library for iRobot Create 2
https://pypi.org/project/pycreate2/
MIT License
69 stars 44 forks source link

Sensors commands and storing the information #2

Closed walchko closed 7 years ago

walchko commented 7 years ago

The way the library handles sensor packets seems overly complex and long ... there has to be a better way.

Maybe just have the packet decoders and leave it up to the programmer to figure out a way (that works nicely for them) to handle the sensor info?

walchko commented 7 years ago

I think I am doing better:

walchko commented 7 years ago

new get_sensors() only returns packet 100 (all sensors)