erratic/robot_params.h
1 
25 #ifndef _ROBOT_PARAMS_H
26 #define _ROBOT_PARAMS_H
27 
28 #include "libplayerinterface/player.h"
29 
30 void initialize_robot_params(void);
31 
32 #define PLAYER_NUM_ROBOT_TYPES 30
33 
34 
35 typedef struct
36 {
37  double AngleConvFactor; //
38  const char* Class;
39  double DiffConvFactor; //
40  double DistConvFactor; //
41  int FrontBumpers; //
42  double GyroScaler; //
43  int HasMoveCommand; //
44  int Holonomic; //
45  int IRNum; //
46  int IRUnit; //
47  int LaserFlipped; //
48  const char* LaserIgnore;
49  const char* LaserPort;
50  int LaserPossessed; //
51  int LaserPowerControlled; //
52  int LaserTh; //
53  int LaserX; //
54  int LaserY; //
55  int MaxRVelocity; //
56  int MaxVelocity; //
57  int NewTableSensingIR; //
58  int NumFrontBumpers; //
59  int NumRearBumpers; //
60  double RangeConvFactor; //
61  int RearBumpers; //
62  int RequestEncoderPackets; //
63  int RequestIOPackets; //
64  int RobotDiagonal; //
65  int RobotLength; //
66  int RobotRadius; //
67  int RobotWidth; //
68  int RobotAxleOffset; //
69  int RotAccel; //
70  int RotDecel; //
71  int RotVelMax; //
72  int SettableAccsDecs; //
73  int SettableVelMaxes; //
74  const char* Subclass;
75  int SwitchToBaudRate; //
76  int TableSensingIR; //
77  int TransAccel; //
78  int TransDecel; //
79  int TransVelMax; //
80  int Vel2Divisor; //
81  double VelConvFactor; //
82  int NumSonars;
83  player_pose3d_t sonar_pose[32];
84  int NumIR;
85  player_pose3d_t IRPose[8];
87 
88 
89 //extern RobotParams_t PlayerRobotParams[];
90 //extern RobotParams_t erratic_params;
91 
92 extern RobotParams_t *RobotParams[];
93 
94 #endif
A pose in space.
Definition: player.h:228
Definition: erratic/robot_params.h:35