localize_interface.h

Go to the documentation of this file.
00001 /*********************************************************
00002  *
00003  * This source code is part of the Carnegie Mellon Robot
00004  * Navigation Toolkit (CARMEN)
00005  *
00006  * CARMEN Copyright (c) 2002 Michael Montemerlo, Nicholas
00007  * Roy, and Sebastian Thrun
00008  *
00009  * CARMEN is free software; you can redistribute it and/or 
00010  * modify it under the terms of the GNU General Public 
00011  * License as published by the Free Software Foundation; 
00012  * either version 2 of the License, or (at your option)
00013  * any later version.
00014  *
00015  * CARMEN is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied 
00017  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00018  * PURPOSE.  See the GNU General Public License for more 
00019  * details.
00020  *
00021  * You should have received a copy of the GNU General 
00022  * Public License along with CARMEN; if not, write to the
00023  * Free Software Foundation, Inc., 59 Temple Place, 
00024  * Suite 330, Boston, MA  02111-1307 USA
00025  *
00026  ********************************************************/
00027 
00028 
00030 // @{
00031 
00040 #ifndef CARMEN_LOCALIZE_INTERFACE_H
00041 #define CARMEN_LOCALIZE_INTERFACE_H
00042 
00043 #include "localize_messages.h"
00044 
00045 #ifdef __cplusplus
00046 extern "C" {
00047 #endif
00048 
00049 void
00050 carmen_localize_subscribe_globalpos_message(carmen_localize_globalpos_message
00051                                             *globalpos,
00052                                             carmen_handler_t handler,
00053                                             carmen_subscribe_t subscribe_how);
00054 
00055 void
00056 carmen_localize_unsubscribe_globalpos_message(carmen_handler_t handler);
00057 
00058 void 
00059 carmen_localize_subscribe_particle_message(carmen_localize_particle_message 
00060                                            *particle, carmen_handler_t handler,
00061                                            carmen_subscribe_t subscribe_how);
00062 
00063 void
00064 carmen_localize_unsubscribe_particle_message(carmen_handler_t handler);
00065 
00066 void 
00067 carmen_localize_subscribe_initialize_message(carmen_localize_initialize_message *init_msg,
00068                                              carmen_handler_t handler, 
00069                                              carmen_subscribe_t subscribe_how);
00070 
00071 void
00072 carmen_localize_unsubscribe_initialize_message(carmen_handler_t handler);
00073 
00074 void
00075 carmen_localize_subscribe_initialize_placename_message(carmen_localize_initialize_placename_message 
00076                                                        *initialize,
00077                                                        carmen_handler_t handler,
00078                                                        carmen_subscribe_t subscribe_how);
00079 
00080 void
00081 carmen_localize_unsubscribe_initialize_placename_message(carmen_handler_t handler);
00082 
00083 void 
00084 carmen_localize_subscribe_sensor_message(carmen_localize_sensor_message 
00085                                          *sensor_msg, carmen_handler_t handler,
00086                                          carmen_subscribe_t subscribe_how);
00087 
00088 void
00089 carmen_localize_unsubscribe_sensor_message(carmen_handler_t handler);
00090 
00091 void 
00092 carmen_localize_initialize_gaussian_command(carmen_point_t mean,
00093                                             carmen_point_t std);
00094 
00095 void carmen_localize_initialize_uniform_command(void);
00096 
00097 void carmen_localize_initialize_placename_command(char *placename);
00098 
00099 void
00100 carmen_localize_correct_odometry(carmen_base_odometry_message *odometry, 
00101                                  carmen_localize_globalpos_message *globalpos);
00102 
00103 void
00104 carmen_localize_correct_laser(carmen_robot_laser_message *laser, 
00105                               carmen_localize_globalpos_message *globalpos);
00106 
00107 int carmen_localize_get_map(int global, carmen_map_t *map);
00108 
00109 int carmen_localize_get_globalpos(carmen_localize_globalpos_message **globalpos);
00110 
00111 #ifdef __cplusplus
00112 }
00113 #endif
00114 
00115 #endif
00116 // @}

Generated on Wed Apr 5 18:34:18 2006 for CARMEN by  doxygen 1.4.4