00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00029
00030
00038 #ifndef SEGWAY_MESSAGES_H
00039 #define SEGWAY_MESSAGES_H
00040
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif
00044
00045 typedef struct {
00046 double timestamp;
00047 char *host;
00048 double pitch, pitch_rate;
00049 double roll, roll_rate;
00050 double lw_velocity, rw_velocity;
00051 double tv, rv;
00052 double x, y, theta;
00053 } carmen_segway_pose_message;
00054
00055 #define CARMEN_SEGWAY_POSE_NAME "carmen_segway_pose"
00056 #define CARMEN_SEGWAY_POSE_FMT "{double,string,double,double,double,double,double,double,double,double,double,double,double}"
00057
00058 typedef struct {
00059 double timestamp;
00060 char *host;
00061 int percent;
00062 } carmen_segway_battery_message;
00063
00064 #define CARMEN_SEGWAY_BATTERY_NAME "carmen_segway_battery"
00065 #define CARMEN_SEGWAY_BATTERY_FMT "{double,string,int}"
00066
00067 #define CARMEN_SEGWAY_KILL_NAME "carmen_segway_kill"
00068 #define CARMEN_SEGWAY_KILL_FMT ""
00069
00070 #ifdef __cplusplus
00071 }
00072 #endif
00073
00074 #endif