WAM Arm – User’s Manual
www.barrett.com
© 2008 Barrett Technology®, Inc.
Document: D1001, Version: AH.00
49 of 80
8 Troubleshooting
8.1 Checking the Error Log
One of the first steps to diagnosing many WAM problems is to examine the error log file
/var/log/syslog. Here is a normal startup log for a 7-DOF WAM:
Jul 29 20:27:41 WAM WAM: ...Starting btdiag program...
Jul 29 20:27:44 WAM WAM: Waking all pucks
Jul 29 20:27:44 WAM WAM: getBusStatus(): canReadMsg returned error
Jul 29 20:27:45 WAM last message repeated 22 times
Jul 29 20:27:45 WAM WAM: getBusStatus: Only status != -1 is shown.
Jul 29 20:27:45 WAM WAM: getBusStatus: status[1] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[2] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[3] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[4] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[5] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[6] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[7] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[10] = 2
Jul 29 20:27:45 WAM WAM: About to allocate space for 8 nodes
Jul 29 20:27:45 WAM WAM: getBusStatus(): canReadMsg returned error
Jul 29 20:27:45 WAM last message repeated 22 times
Jul 29 20:27:45 WAM WAM: getBusStatus: Only status != -1 is shown.
Jul 29 20:27:45 WAM WAM: getBusStatus: status[1] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[2] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[3] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[4] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[5] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[6] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[7] = 2
Jul 29 20:27:45 WAM WAM: getBusStatus: status[10] = 2
Jul 29 20:27:45 WAM WAM: Puck: ID=1 CTS=4096 IPNM=2700.00 PIDX=0 GRPB=1
Jul 29 20:27:45 WAM WAM: Puck: ID=2 CTS=4096 IPNM=2562.00 PIDX=1 GRPB=1
Jul 29 20:27:45 WAM WAM: Puck: ID=3 CTS=4096 IPNM=2562.00 PIDX=2 GRPB=1
Jul 29 20:27:45 WAM WAM: Puck: ID=4 CTS=4096 IPNM=2700.00 PIDX=3 GRPB=1
Jul 29 20:27:45 WAM WAM: Puck: ID=5 CTS=4096 IPNM=4961.00 PIDX=0 GRPB=2
Jul 29 20:27:45 WAM WAM: Puck: ID=6 CTS=4096 IPNM=4961.00 PIDX=1 GRPB=2
Jul 29 20:27:45 WAM WAM: Puck: ID=7 CTS=4096 IPNM=17474.00 PIDX=2 GRPB=2
Jul 29 20:27:45 WAM WAM: Actuator data dump:
Jul 29 20:27:45 WAM WAM: [0]:Bus-0,ID-1,G-1,O-0,M-0,Off-0,Enc-4096
Jul 29 20:27:45 WAM WAM: [1]:Bus-0,ID-2,G-1,O-1,M-0,Off-0,Enc-4096
Jul 29 20:27:45 WAM WAM: [2]:Bus-0,ID-3,G-1,O-2,M-0,Off-0,Enc-4096
Jul 29 20:27:45 WAM WAM: [3]:Bus-0,ID-4,G-1,O-3,M-0,Off-0,Enc-4096
Jul 29 20:27:45 WAM WAM: [4]:Bus-0,ID-5,G-2,O-0,M-0,Off-0,Enc-4096
Jul 29 20:27:45 WAM WAM: [5]:Bus-0,ID-6,G-2,O-1,M-0,Off-0,Enc-4096
Jul 29 20:27:45 WAM WAM: [6]:Bus-0,ID-7,G-2,O-2,M-0,Off-0,Enc-4096
Jul 29 20:27:45 WAM WAM: Data for Bus 0
Jul 29 20:27:45 WAM WAM: Bus Data: There were 7 Pucks sorted by ID
Jul 29 20:27:45 WAM WAM: [0]: Actuator 0 Puck 1
Jul 29 20:27:45 WAM WAM: [1]: Actuator 1 Puck 2
Jul 29 20:27:45 WAM WAM: [2]: Actuator 2 Puck 3
Jul 29 20:27:45 WAM WAM: [3]: Actuator 3 Puck 4
Jul 29 20:27:45 WAM WAM: [4]: Actuator 4 Puck 5
Jul 29 20:27:45 WAM WAM: [5]: Actuator 5 Puck 6
Jul 29 20:27:45 WAM WAM: [6]: Actuator 6 Puck 7
Jul 29 20:27:45 WAM WAM: Bus Data: There were 2 Groups
Jul 29 20:27:45 WAM WAM: Group 1: A0 P1 A1 P2 A2 P3 A3 P4
Jul 29 20:27:45 WAM WAM: Group 2: A4 P5 A5 P6 A6 P7 A-1 P0
Jul 29 20:27:45 WAM WAM: device_name=WAM7
Jul 29 20:27:45 WAM WAM: wam->name=WAM7
Jul 29 20:27:45 WAM WAM: bus=0, num_actuators=7