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 SIMULATOR_INTERFACE_H
00039 #define SIMULATOR_INTERFACE_H
00040
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif
00044
00045 #include <carmen/carmen.h>
00046
00047 int
00048 carmen_simulator_set_truepose(carmen_point_t *point);
00049
00050 void
00051 carmen_simulator_subscribe_truepos_message(carmen_simulator_truepos_message
00052 *truepos,
00053 carmen_handler_t handler,
00054 carmen_subscribe_t subscribe_how);
00055 int
00056 carmen_simulator_query_truepos(carmen_simulator_truepos_message **truepos_msg);
00057
00058 void
00059 carmen_simulator_subscribe_objects_message(carmen_simulator_objects_message
00060 *objects,
00061 carmen_handler_t handler,
00062 carmen_subscribe_t subscribe_how);
00063 int
00064 carmen_simulator_query_objects(carmen_simulator_objects_message **objects_msg);
00065
00066 int
00067 carmen_simulator_set_object(carmen_point_t *point, double speed,
00068 carmen_simulator_object_t type);
00069
00070 void carmen_simulator_connect_robots(char *other_central);
00071
00072 void carmen_simulator_clear_objects(void);
00073
00074 void carmen_simulator_next_tick(void);
00075
00076 #ifdef __cplusplus
00077 }
00078 #endif
00079
00080 #endif
00081