Classes | Defines | Enumerations | Functions | Variables
robot_params.hpp File Reference
#include <string>
Include dependency graph for robot_params.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bumper_def_t
struct  RobotParams_t
struct  sonar_pose_t

Defines

#define ARGINT   0x3B
#define ARGNINT   0x1B
#define ARGSTR   0x2B
#define ARMINFOPAC   161
#define ARMPAC   160
#define CMUCAM_IMAGE_HEIGHT   143
#define CMUCAM_IMAGE_WIDTH   80
#define CMUCAM_MESSAGE_LEN   10
#define DEFAULT_P2OS_PORT   "/dev/ttyS0"
#define DEFAULT_P2OS_TCP_REMOTE_HOST   "localhost"
#define DEFAULT_P2OS_TCP_REMOTE_PORT   8101
#define DTOR(a)   M_PI * a / 180.0
#define ENCODER   0x90
#define GRIPclose   2
#define GRIPdeploy   8
#define GRIPhalt   15
#define GRIPopen   1
#define GRIPpress   16
#define GRIPstop   3
#define GRIPstore   7
#define GYROPAC   0x98
#define LIFTcarry   17
#define LIFTdown   5
#define LIFTstop   6
#define LIFTup   4
#define MOTOR_DEF_MAX_SPEED   0.5
#define MOTOR_DEF_MAX_TURNSPEED   DTOR(100)
#define P2OS_CYCLETIME_USEC   200000
#define P2OS_NOMINAL_VOLTAGE   12.0
#define PLAYER_NUM_ROBOT_TYPES   30
#define RTOD(a)   180.0 * a / M_PI
#define SERAUX   0xB0
#define SERAUX2   0xB8
#define STATUSMOVING   0x33
#define STATUSSTOPPED   0x32
#define SYNC0   0
#define SYNC1   1
#define SYNC2   2

Enumerations

enum  P2OSCommand {
  PULSE = 0, OPEN = 1, CLOSE = 2, ENABLE = 4,
  SETA = 5, SETV = 6, SETO = 7, MOVE = 8,
  ROTATE = 9, SETRV = 10, VEL = 11, HEAD = 12,
  DHEAD = 13, SAY = 15, JOYINFO = 17, CONFIG = 18,
  ENCODER = 19, RVEL = 21, DCHEAD = 22, SETRA = 23,
  SONAR = 28, STOP = 29, DIGOUT = 30, VEL2 = 32,
  GRIPPER = 33, ADSEL = 35, GRIPPERVAL = 36, GRIPPERPACREQUEST = 37,
  IOREQUEST = 40, PTUPOS = 41, TTY2 = 42, GETAUX = 43,
  BUMP_STALL = 44, TCM2 = 45, JOYDRIVE = 47, MOVINGBLINK = 49,
  HOSTBAUD = 50, AUX1BAUD = 51, AUX2BAUD = 52, ESTOP = 55,
  ESTALL = 56, GYRO = 58, CALCOMP = 65, TTY3 = 66,
  GETAUX2 = 67, ARM_INFO = 70, ARM_STATUS = 71, ARM_INIT = 72,
  ARM_CHECK = 73, ARM_POWER = 74, ARM_HOME = 75, ARM_PARK = 76,
  ARM_POS = 77, ARM_SPEED = 78, ARM_STOP = 79, ARM_AUTOPARK = 80,
  ARM_GRIPPARK = 81, ROTKP = 82, ROTKV = 83, ROTKI = 84,
  TRANSKP = 85, TRANSKV = 86, TRANSKI = 87, SOUND = 90,
  PLAYLIST = 91, SOUNDTOG = 92, POWER_PC = 95, POWER_LRF = 96,
  POWER_5V = 97, POWER_12V = 98, POWER_24V = 98, POWER_AUX_PC = 125,
  POWER_TOUCHSCREEN = 126, POWER_PTZ = 127, POWER_AUDIO = 128, POWER_LRF2 = 129,
  LATVEL = 110, LATACCEL = 113, SETLATV = 0
}

Functions

void initialize_robot_params (void)

Variables

RobotParams_t PlayerRobotParams []

Define Documentation

#define ARGINT   0x3B

Definition at line 201 of file robot_params.hpp.

#define ARGNINT   0x1B

Definition at line 202 of file robot_params.hpp.

#define ARGSTR   0x2B

Definition at line 203 of file robot_params.hpp.

#define ARMINFOPAC   161

Definition at line 197 of file robot_params.hpp.

#define ARMPAC   160

Definition at line 196 of file robot_params.hpp.

#define CMUCAM_IMAGE_HEIGHT   143

Definition at line 220 of file robot_params.hpp.

#define CMUCAM_IMAGE_WIDTH   80

Definition at line 219 of file robot_params.hpp.

#define CMUCAM_MESSAGE_LEN   10

Definition at line 221 of file robot_params.hpp.

#define DEFAULT_P2OS_PORT   "/dev/ttyS0"

Definition at line 224 of file robot_params.hpp.

#define DEFAULT_P2OS_TCP_REMOTE_HOST   "localhost"

Definition at line 225 of file robot_params.hpp.

#define DEFAULT_P2OS_TCP_REMOTE_PORT   8101

Definition at line 226 of file robot_params.hpp.

#define DTOR (   a)    M_PI * a / 180.0

Definition at line 229 of file robot_params.hpp.

#define ENCODER   0x90

Definition at line 192 of file robot_params.hpp.

#define GRIPclose   2

Definition at line 207 of file robot_params.hpp.

#define GRIPdeploy   8

Definition at line 213 of file robot_params.hpp.

#define GRIPhalt   15

Definition at line 214 of file robot_params.hpp.

#define GRIPopen   1

Definition at line 206 of file robot_params.hpp.

#define GRIPpress   16

Definition at line 215 of file robot_params.hpp.

#define GRIPstop   3

Definition at line 208 of file robot_params.hpp.

#define GRIPstore   7

Definition at line 212 of file robot_params.hpp.

#define GYROPAC   0x98

Definition at line 195 of file robot_params.hpp.

#define LIFTcarry   17

Definition at line 216 of file robot_params.hpp.

#define LIFTdown   5

Definition at line 210 of file robot_params.hpp.

#define LIFTstop   6

Definition at line 211 of file robot_params.hpp.

#define LIFTup   4

Definition at line 209 of file robot_params.hpp.

#define MOTOR_DEF_MAX_SPEED   0.5

Definition at line 68 of file robot_params.hpp.

#define MOTOR_DEF_MAX_TURNSPEED   DTOR(100)

Definition at line 69 of file robot_params.hpp.

#define P2OS_CYCLETIME_USEC   200000

Definition at line 76 of file robot_params.hpp.

#define P2OS_NOMINAL_VOLTAGE   12.0

Definition at line 80 of file robot_params.hpp.

#define PLAYER_NUM_ROBOT_TYPES   30

Definition at line 65 of file robot_params.hpp.

#define RTOD (   a)    180.0 * a / M_PI

Definition at line 230 of file robot_params.hpp.

#define SERAUX   0xB0

Definition at line 193 of file robot_params.hpp.

#define SERAUX2   0xB8

Definition at line 194 of file robot_params.hpp.

#define STATUSMOVING   0x33

Definition at line 191 of file robot_params.hpp.

#define STATUSSTOPPED   0x32

Definition at line 190 of file robot_params.hpp.

#define SYNC0   0

Definition at line 83 of file robot_params.hpp.

#define SYNC1   1

Definition at line 84 of file robot_params.hpp.

#define SYNC2   2

Definition at line 85 of file robot_params.hpp.


Enumeration Type Documentation

Enumerator:
PULSE 
OPEN 
CLOSE 
ENABLE 
SETA 
SETV 
SETO 
MOVE 
ROTATE 
SETRV 
VEL 
HEAD 
DHEAD 
SAY 
JOYINFO 
CONFIG 
ENCODER 
RVEL 
DCHEAD 
SETRA 
SONAR 
STOP 
DIGOUT 
VEL2 
GRIPPER 
ADSEL 
GRIPPERVAL 
GRIPPERPACREQUEST 
IOREQUEST 
PTUPOS 
TTY2 
GETAUX 
BUMP_STALL 
TCM2 
JOYDRIVE 
MOVINGBLINK 
HOSTBAUD 

(for patrolbot)

AUX1BAUD 

2=38400, 3=57600, 4=115200

AUX2BAUD 

3=57600, 4=115200

ESTOP 

3=57600, 4=115200

ESTALL 
GYRO 
CALCOMP 
TTY3 
GETAUX2 
ARM_INFO 
ARM_STATUS 
ARM_INIT 
ARM_CHECK 
ARM_POWER 
ARM_HOME 
ARM_PARK 
ARM_POS 
ARM_SPEED 
ARM_STOP 
ARM_AUTOPARK 
ARM_GRIPPARK 
ROTKP 
ROTKV 
ROTKI 
TRANSKP 
TRANSKV 
TRANSKI 
SOUND 
PLAYLIST 
SOUNDTOG 
POWER_PC 

diable(0) sound

POWER_LRF 
POWER_5V 
POWER_12V 
POWER_24V 
POWER_AUX_PC 
POWER_TOUCHSCREEN 
POWER_PTZ 
POWER_AUDIO 
POWER_LRF2 
LATVEL 
LATACCEL 
SETLATV 

lateral deceleration (-, mm/sec2)

Definition at line 87 of file robot_params.hpp.


Function Documentation

void initialize_robot_params ( void  )

Definition at line 2122 of file robot_params.cpp.


Variable Documentation

Definition at line 2119 of file robot_params.cpp.



p2os_driver
Author(s): Hunter L. Allen , David Feil-Seifer , Aris Synodinos , Brian Gerkey, Kasper Stoy, Richard Vaughan, Andrew Howard, Tucker Hermans, ActivMedia Robotics LLC, MobileRobots Inc.
autogenerated on Wed Mar 27 2019 02:34:57