M
OBILE
R
OBOTS
Table 12. AmigoSHcf control commands
COMMAND
DESCRIPTION
KEYWORD
<value>
Alone, a keyword displays current, edited
value. Add argument to change current value.
v
or
view
Display FLASH parameters; use ENTER to continue
display list.
u
or
upload
<motfile>
Upload specified AmigoSH image (.mot) file to
the controller.
r
or
restore
<
paramsfile
>
Restore parameters to values currently stored
in FLASH or, if given, from a paramsfile (.rop)
on disk
save
<
paramsfile
>
Saves current edited values to FLASH or saves
current edited values to paramsfile (.rop) on
disk for later reference.
q
or
quit
Exits AmigoSHcf.
?
or
help
Displays these commands and descriptions.
S
AVE
Y
OUR
W
ORK
While changing parameter values in
AmigoSHcf
interactive mode, you are editing a
temporary copy; your changes are not put into effect in your robot’s FLASH until you
explicitly "
save
" them to the controller.
Also use the
AmigoSHcf
save
command to save a copy of the parameters to a disk file
for later upload. We strongly recommend that you save each version of your robot’s
parameter values to disk for later retrieval should your controller get damaged or its
FLASH inadvertently erased. Default parameter files come with each AmigoSH
distribution, but it is tedious to reconstruct an individual robot’s unique configuration.
Table 13. AmigoSH FLASH configuration parameters
KEYWORD
Type Default Description
TYPE
str
Pioneer
Identifies the robot type.
SUBTYPE
str
Amigo-sh
Identifies the robot model.
NAME
str
not set
Unique name for your robot.
Maximum of 20 characters, no spaces.
S
ERNUM
str
factory Serial number for the robot.
TICKSMM
int
123
Encoder ticks/mm: (ticks per rev x gear-ratio)
(wheel_diameter x PI)
REVCOUNT
int
11548
The number of differential encoder ticks for a
180 degree revolution of the robot.
DRIFTFACTOR
int
0
Value in 1/8192 increments to be added or
subtracted from the left encoder ticks in order
to compensate for tire differences.
LOWBATTERY
int
117
In 1/10 volts; controller alarm activated when
battery charge falls below this value.
SHUTDOWNVOLTS
int
110
In 1/10 volts; controller disconnects client
and signals onboard PC to shutdown when battery
charge falls below this value.
HOSTBAUD
byte
0
Baud rate for client-server HOST serial:
0=9.6k, 1=19.2k, 2=38.4k, 3=56.8k, 4=115.2k.
AUXBAUD
1
byte
0
Baud rate for AUX serial port 1; see HostBaud
AUXBAUD
2
byte
0
Baud rate for AUX serial port 2; see HostBaud
AUXBAUD
3
byte
0
Baud rate for AUX serial port 3; see HostBaud
39