arduino-libraries / Arduino_AlvikCarrier

Mozilla Public License 2.0
0 stars 1 forks source link

ToF 8x8 raw data? #18

Open metanav opened 1 month ago

metanav commented 1 month ago

I could not find any functions for the 8x8 raw ToF data. Also, the ucPack does not support packing/unpacking 64 data points.

gbr1 commented 1 month ago

Hi @metanav !

To run 8x8 mode you have to change size parameter to 8 in the constructor of SensorTofMatrix class. To get sensor data, you can use update method and results contains measurements if update return true.

About data trasmission: it takes quite long time to trasmit that amount of data which doesn't allow required control loop on stock firmware so we avoided the ucpack update. If you want to contribute, feel free to open a PR

metanav commented 1 month ago

Hi @gbr1,

Thanks for your suggestons! I would need to add code in the 3 repos! I will do one by one. I have opened a PR at ucPack first: https://github.com/gbr1/ucPack/pull/10