-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Description
UserRoi* VL53L1X::getUserRoi(){ |
Hi @Grahldg ,
I was testing ROI functions and I've noticed a small bug in the conversions (lines 311 and 313) from getUserRoi().
roi->topLeftY = (2 * row - height) >> 1; roi->bottomRightY = (2 * row + height) >> 1;
Checked the equivalent function within the API (file vl53l1_api.c), so the lines mentionned above should be as following:
roi->topLeftY = (2 * row + height) >> 1; roi->bottomRightY = (2 * row - height) >> 1;
Cheers,
Metadata
Metadata
Assignees
Labels
No labels