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
00039 #ifndef CARMEN_LOGWRITE_H
00040 #define CARMEN_LOGWRITE_H
00041
00042 #include <carmen/carmen.h>
00043 #include <carmen/carmen_stdio.h>
00044
00045 #define CARMEN_LOGFILE_HEADER "# CARMEN Logfile"
00046
00047 void carmen_logwrite_write_robot_name(char *robot_name,
00048 carmen_FILE *outfile);
00049
00050 void carmen_logwrite_write_header(carmen_FILE *outfile);
00051
00057 void carmen_logwrite_write_odometry(carmen_base_odometry_message *odometry,
00058 carmen_FILE *outfile, double timestamp);
00059
00066 void carmen_logwrite_write_laser_laser(carmen_laser_laser_message *laser,
00067 int laser_num, carmen_FILE *outfile,
00068 double timestamp);
00069
00076 void carmen_logwrite_write_robot_laser(carmen_robot_laser_message *laser,
00077 int laser_num, carmen_FILE *outfile,
00078 double timestamp);
00079
00082 void carmen_logwrite_write_param(char *module, char *variable, char *value,
00083 double ipc_time, char *hostname,
00084 carmen_FILE *outfile, double timestamp);
00085
00090 void carmen_logwrite_write_sync(carmen_logger_sync_message *sync_message,
00091 carmen_FILE *outfile);
00092
00098 void carmen_logwrite_write_truepos(carmen_simulator_truepos_message *truepos,
00099 carmen_FILE *outfile, double timestamp);
00100
00106 void carmen_logwrite_write_localize(carmen_localize_globalpos_message *msg,
00107 carmen_FILE *outfile, double timestamp);
00108
00114 void carmen_logger_write_gps_gpgga(carmen_gps_gpgga_message *gps_msg,
00115 carmen_FILE *outfile,
00116 double timestamp);
00117
00123 void carmen_logger_write_gps_gprmc(carmen_gps_gprmc_message *gps_msg,
00124 carmen_FILE *outfile,
00125 double timestamp);
00126
00127 #endif
00128