You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Maybe using motor.*.speed rather than motor.*.target would be more accurate, but because of the noise in speed it might be better to use a low-pass filter on target–speed as suggested by [Wang 2013]
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.The text was updated successfully, but these errors were encountered: