beautypg.com
ActivMedia Robotics
A S
UCCESSFUL
C
ONNECTION
.....................................................................................................................21
O
PERATING THE
S
APHIRA
D
EMONSTRATION
LIENT
.................................................................................22
ISCONNECTING
ERIAL
OMMUNICATIONS
(
INTENTIONALLY OR UNINTENTIONALLY
)
....................................23
Q
UICKSTART
T
ROUBLESHOOTING
..............................................................................................................23
CHAPTER 5 JOYDRIVE AND SELF-TESTS ........................................................................................25
J
OYSTICK
.............................................................................................................................25
OYDRIVE
PERATION
...............................................................................................................................25
E
NGAGING
ELF
-T
ESTS
..............................................................................................................................26
M
OTORS
EST
............................................................................................................................................26
ONAR
...............................................................................................................................................27
B
UMPERS
...................................................................................................................................................27
G
RIPPER
.....................................................................................................................................................27
OMPASS
DIGIN
AND
DIGOUT T
.......................................................................................................................28
ANALOG T
.......................................................................................................................................28
U
SER
PWM
..............................................................................................................................................28
CHAPTER 6 PIONEER 2 OPERATING SYSTEM................................................................................29
OMMUNICATION
P
ACKET
ROTOCOL
.......................................................................................................29
Packet Data Types.................................................................................................................................30
Packet Checksum...................................................................................................................................30
Packet Errors ........................................................................................................................................30
ERVER
I
NFORMATION
ACKETS
...............................................................................................................32
OMMANDS
...................................................................................................................................32
Client Command Argument Types.........................................................................................................34
Saphira Client Command Support.........................................................................................................35
ROGRAMMING
P2OS ................................................................................................................................35
Establishing a Client-Server Connection—SYNC .................................................................................35
Autoconfiguration..................................................................................................................................35
Opening the Servers—OPEN ................................................................................................................35
Keeping the Beat—PULSE ....................................................................................................................36
Closing the Connection—CLOSE..........................................................................................................36
OVEMENT
............................................................................................................................36
Pioneer in Motion..................................................................................................................................37
PID Controls .........................................................................................................................................37
Position Integration...............................................................................................................................38
.......................................................................................................................................................38
BUMP_STALL .........................................................................................................................................39
E_STOP
E_STALL ...........................................................................................................................39
XTENDED
..................................................................................................................................40
Packet Processing .................................................................................................................................40
CONFIGpac and CONFIG Command ..................................................................................................40
SERAUXpac and GETAUX ...................................................................................................................41
ENCODERpac and ENCODER Command ...........................................................................................42
GRIPPERpac and GRIPREQUEST.......................................................................................................42
PLAYLISTpac and PLAYLIST Command..............................................................................................42
TCM2pac and TCM2 Command ...........................................................................................................43
NPUT
/ O
UTPUT
(I/O) ................................................................................................................................43
DIGIN, TIMER, and ADSEL .................................................................................................................43
DIGOUT and PSUPOS .........................................................................................................................44
IOpac and IOREQUEST .......................................................................................................................44
Pioneer 2 Arm-related SIPs and Commands.........................................................................................45
ERFORMANCE
EOPLE
OT
IR
................................................................................................................45
CHAPTER 7 UPDATING & RECONFIGURING P2OS........................................................................46
W
HERE TO
ET
P2OS S
OFTWARE
.............................................................................................................46
NSTALLING THE
P2OS U
TILITIES
..............................................................................................................46
PDATING
P2OS........................................................................................................................................46
Step 1. Serial Connection from Computer to Robot ..............................................................................46
v