amcl_sensor.cc

00001 /*
00002  *  Player - One Hell of a Robot Server
00003  *  Copyright (C) 2000  Brian Gerkey   &  Kasper Stoy
00004  *                      gerkey@usc.edu    kaspers@robotics.usc.edu
00005  *
00006  *  This program is free software; you can redistribute it and/or modify
00007  *  it under the terms of the GNU General Public License as published by
00008  *  the Free Software Foundation; either version 2 of the License, or
00009  *  (at your option) any later version.
00010  *
00011  *  This program is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *  GNU General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU General Public License
00017  *  along with this program; if not, write to the Free Software
00018  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  *
00020  */
00022 //
00023 // Desc: AMCL sensor 
00024 // Author: Andrew Howard
00025 // Date: 6 Feb 2003
00026 // CVS: $Id: amcl_sensor.cc 3540 2006-04-21 09:22:51Z thjc $
00027 //
00029 
00030 #ifdef HAVE_CONFIG_H
00031 #include "config.h"
00032 #endif
00033 
00034 #include "amcl_sensor.h"
00035 
00036 
00038 // Default constructor
00039 AMCLSensor::AMCLSensor(AdaptiveMCL & aAMCL) : AMCL(aAMCL)
00040 {
00041   return;
00042 }
00043 
00044 AMCLSensor::~AMCLSensor()
00045 {
00046 }
00047 
00048 
00050 // Load settings
00051 int AMCLSensor::Load(ConfigFile* cf, int section)
00052 {
00053   return 0;
00054 }
00055 
00056 
00058 // Unload the model
00059 int AMCLSensor::Unload(void)
00060 {  
00061   return 0;
00062 }
00063 
00064 
00066 // Set up the underlying odom device.
00067 int AMCLSensor::Setup(void)
00068 {
00069   return 0;
00070 }
00071 
00072 
00074 // Shutdown the underlying odom device.
00075 int AMCLSensor::Shutdown(void)
00076 {
00077   return 0;
00078 }
00079 
00080 
00082 // Get new sensor data (non-blocking)
00083 /*AMCLSensorData *AMCLSensor::GetData(void)
00084 {
00085   return NULL;
00086 }
00087 */
00088 
00090 // Apply the action model
00091 bool AMCLSensor::UpdateAction(pf_t *pf, AMCLSensorData *data)
00092 {
00093   return false;
00094 }
00095 
00096 
00098 // Initialize the filter
00099 bool AMCLSensor::InitSensor(pf_t *pf, AMCLSensorData *data)
00100 {
00101   return false;
00102 }
00103 
00104 
00106 // Apply the sensor model
00107 bool AMCLSensor::UpdateSensor(pf_t *pf, AMCLSensorData *data)
00108 {
00109   return false;
00110 }
00111 
00112 
00113 #ifdef INCLUDE_RTKGUI
00114 
00116 // Setup the GUI
00117 void AMCLSensor::SetupGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig)
00118 {
00119   return;
00120 }
00121 
00122 
00124 // Shutdown the GUI
00125 void AMCLSensor::ShutdownGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig)
00126 {
00127   return;
00128 }
00129 
00130 
00132 // Draw sensor data
00133 void AMCLSensor::UpdateGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig, AMCLSensorData *data)
00134 {
00135   return;
00136 }
00137 
00138 #endif

Last updated 12 September 2005 21:38:45