Fawkes API  Fawkes Development Version
amcl_sensor.cpp
1 /***************************************************************************
2  * amcl_sensor.cpp: AMCL sensor
3  *
4  * Created: Thu May 24 18:52:54 2012
5  * Copyright 2000 Brian Gerkey
6  * 2000 Kasper Stoy
7  * 2012 Tim Niemueller [www.niemueller.de]
8  ****************************************************************************/
9 
10 /* This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Library General Public License for more details.
19  *
20  * Read the full text in the LICENSE.GPL file in the doc directory.
21  */
22 
23 /* From:
24  * Player - One Hell of a Robot Server (LGPL)
25  * Copyright (C) 2000 Brian Gerkey & Kasper Stoy
26  * gerkey@usc.edu kaspers@robotics.usc.edu
27  */
28 ///////////////////////////////////////////////////////////////////////////
29 // Desc: AMCL sensor
30 // Author: Andrew Howard
31 // Date: 6 Feb 2003
32 ///////////////////////////////////////////////////////////////////////////
33 
34 #include "amcl_sensor.h"
35 
36 using namespace amcl;
37 
38 /// @cond EXTERNAL
39 
40 ////////////////////////////////////////////////////////////////////////////////
41 // Default constructor
42 AMCLSensor::AMCLSensor()
43 {
44  return;
45 }
46 
47 AMCLSensor::~AMCLSensor()
48 {
49 }
50 
51 ////////////////////////////////////////////////////////////////////////////////
52 // Apply the action model
53 bool
54 AMCLSensor::UpdateAction(pf_t *pf, AMCLSensorData *data)
55 {
56  return false;
57 }
58 
59 ////////////////////////////////////////////////////////////////////////////////
60 // Initialize the filter
61 bool
62 AMCLSensor::InitSensor(pf_t *pf, AMCLSensorData *data)
63 {
64  return false;
65 }
66 
67 ////////////////////////////////////////////////////////////////////////////////
68 // Apply the sensor model
69 bool
70 AMCLSensor::UpdateSensor(pf_t *pf, AMCLSensorData *data)
71 {
72  return false;
73 }
74 
75 #ifdef INCLUDE_RTKGUI
76 
77 ////////////////////////////////////////////////////////////////////////////////
78 // Setup the GUI
79 void
80 AMCLSensor::SetupGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig)
81 {
82  return;
83 }
84 
85 ////////////////////////////////////////////////////////////////////////////////
86 // Shutdown the GUI
87 void
88 AMCLSensor::ShutdownGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig)
89 {
90  return;
91 }
92 
93 ////////////////////////////////////////////////////////////////////////////////
94 // Draw sensor data
95 void
96 AMCLSensor::UpdateGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig, AMCLSensorData *data)
97 {
98  return;
99 }
100 
101 #endif
102 
103 /// @endcond