Specifications & Controls
rotation which AmigoSH uses to compute speed and distance traveled.
DriftFactor
, a
signed integer measured in 1/8192 units, gets added to or subtracted from the left-wheel
encoder’s value to compensate for unevenly sized tires.
See Chapters 5 and 6 for a detailed description of AmigoBot’s odometry measures and
controller-FLASH related variables.
S
AFETY
A
MIGO
SH W
ATCHDOGS
AmigoSH contains a FLASH-settable client
WatchDog
that will halt the robot’s motion if
communications between a PC client and the robot server are disrupted for a set time
interval. The robot will automatically resume activity, including motion, as soon as
communications are restored.
AmigoSH also contains a stall monitor. If the drive exerts a PWM pulse that equals or
exceeds a configurable level (
StallVal
) and the wheels fail to turn, the motors relax
(power off) for a configurable amount of time (
StallWait
). The server software also
notifies the client which motor is stalled. When the
StallWait
time elapses, motor power
automatically switches back on and motion continues under client control.
You may reconfigure these and many other FLASH-based parameter values to suit your
application. See Chapter 6,
Updating & Reconfiguring AmigoSH
, for details.
14