Open bmegli opened 5 years ago
Main loop time measurments at 926f9afefe20c986a2fd861a05975b7478251475
Max 26 us
Max 62 us with ongoing USB (non-blocking) communication
Max 51 us, Max 64 with ongoing USB (non-blocking) communication
RPLidar CRC takes around 5 us
As above (no difference)
CRC is simple XOR, it may be easily calculated while receiving data, instead of after packet completion.
At this point not worth it.
The main time consumer seems to be RPLidar
Main loop time measurments at 926f9afefe20c986a2fd861a05975b7478251475
IMU (USFS) only
Max 26 us
RPLidar only
Max 62 us with ongoing USB (non-blocking) communication
IMU + RPLidar
Max 51 us, Max 64 with ongoing USB (non-blocking) communication
RPLidar CRC takes around 5 us
IMU + encoders + RPLidar
As above (no difference)