-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Odometry on the Thymio II will always be an approximation. However the odometry calculation in thymio_motion.aesl (see formula) has proven to be useful, especially in Scratch integration. The formula used, from [Lucas 2000], is inexpensive and appropriate for the Thymio II.
A simple addition to the firmware could perform this systematically on a variable odo[3] containing x, y, theta. If necessary a further value could be reserved for calibration.
This should be more accurate than the Aesl code it would replace (lines 167–174), in particular by avoiding precision and rounding errors.
An optimized version of this code, updated at 100 Hz, could be added to motor_new_analog.
Users would write to the odo variable to set a known initial position.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels