atlas_messages.h
Go to the documentation of this file.
1 
6 #ifndef _ATLAS_MESSAGES_H_
7 #define _ATLAS_MESSAGES_H_
8 
15 #define ATLAS_RESET_OCCURRED_NAME "atlas_reset_occurred"
16 typedef carmen_default_message atlaso_reset_occurred_message;
17 
21 #define ATLAS_RESET_COMMAND_NAME "atlas_reset_command"
22 typedef carmen_default_message atlas_reset_command_message;
23 
27 typedef struct {
28  double timestamp;
29  double brake;
30  double dir;
31  double speed;
32  int priority;
33  double life;
34  char *host;
36 
40 #define ROBOT_MOTION_COMMAND_NAME (char*)"robot_motion_command"
41 
45 #define ROBOT_MOTION_COMMAND_FMT (char*)"{double,double,double,double,int,double,string}"
46 
50 typedef struct {
51  double timestamp;
52  int turnright;
53  int turnleft;
54  int headlights;
55  int taillights;
57  char *host;
59 
63 #define ROBOT_LIGHTS_COMMAND_NAME (char*)"robot_lights_command"
64 
68 #define ROBOT_LIGHTS_COMMAND_FMT (char*)"{double,int,int,int,int,int,string}"
69 
74 typedef struct
75 {
76  double timestamp;
77  int vert_sign;
78  char* host;
80 
84 #define ROBOT_VERT_SIGN_COMMAND_NAME (char*)"robot_vert_sign_command"
85 
89 #define ROBOT_VERT_SIGN_COMMAND_FMT (char*)"{double,int,string}"
90 
94 typedef struct {
95  double timestamp;
96  double brake;
97  double dir;
98  double speed;
99  double x;
100  double y;
101  double orientation;
103  int turnright;
104  int turnleft;
109  int vert_sign;
110  int errors;
111  char *host;
113 
117 #define ROBOT_STATUS_NAME (char*)"robot_status"
118 
122 #define ROBOT_STATUS_FMT (char*)"{double,double,double,double,double,double,double,double,int,int,int,int,int,int,int,int,string}"
123 
127 typedef struct {
128  double timestamp;
129  int toggle;
130  char *host;
132 
136 #define ROBOT_BRAKE_TOGGLE_NAME (char*)"robot_brake_toggle_status"
137 
141 #define ROBOT_BRAKE_TOGGLE_FMT (char*)"{double,int,string}"
142 
143 
144 #endif
145 
double distance_traveled
absolute Orientation (rad)
carmen_default_message atlaso_reset_occurred_message
This is the command message, that controls the speed and direction of the atlas robots.
Lights command message.
double orientation
absolute Y position (m)
double dir
values 0-1, 0 without brake 1-full brake
robot_vert_sign_command_message struct where is defined all 6 different signs.
double dir
0- not braking, 1-full brake
int turnright
Total distance traveled (m)
double life
1-inf. to overrride FIFO
Base status message for the atlas robots.
double speed
radians acc. param_daemon
char * host
-1 keep that message being executed forever. 0-inf period that the motion message can be kept alive ...
carmen_default_message atlas_reset_command_message
double y
absolute X position (m)
double speed
radians
char * host
enum @ atlas_interface.h


atlasmv_base
Author(s): David Gameiro, Jorge Almeida
autogenerated on Mon Mar 2 2015 01:31:28