src
gmcl
sensors
gmcl_sensor.cpp
Go to the documentation of this file.
1
//this package is based on amcl and has been modified to fit gmcl
2
/*
3
* Author: Mhd Ali Alshikh Khalil
4
* Date: 20 June 2021
5
*
6
*/
7
8
//amcl author clarification
9
/*
10
* Player - One Hell of a Robot Server
11
* Copyright (C) 2000 Brian Gerkey & Kasper Stoy
12
* gerkey@usc.edu kaspers@robotics.usc.edu
13
*
14
* This library is free software; you can redistribute it and/or
15
* modify it under the terms of the GNU Lesser General Public
16
* License as published by the Free Software Foundation; either
17
* version 2.1 of the License, or (at your option) any later version.
18
*
19
* This library is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22
* Lesser General Public License for more details.
23
*
24
* You should have received a copy of the GNU Lesser General Public
25
* License along with this library; if not, write to the Free Software
26
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27
*
28
*/
30
//
31
// Desc: AMCL sensor
32
// Author: Andrew Howard
33
// Date: 6 Feb 2003
34
// CVS: $Id: amcl_sensor.cc 7057 2008-10-02 00:44:06Z gbiggs $
35
//
37
38
39
#include "
gmcl/sensors/gmcl_sensor.h
"
40
41
using namespace
gmcl
;
42
44
// Default constructor
45
GMCLSensor::GMCLSensor
()
46
{
47
return
;
48
}
49
50
GMCLSensor::~GMCLSensor
()
51
{
52
}
53
55
// Apply the action model
56
bool
GMCLSensor::UpdateAction
(
pf_t
*pf,
GMCLSensorData
*data)
57
{
58
return
false
;
59
}
60
61
63
// Initialize the filter
64
bool
GMCLSensor::InitSensor
(
pf_t
*pf,
GMCLSensorData
*data)
65
{
66
return
false
;
67
}
68
69
71
// Apply the sensor model
72
bool
GMCLSensor::UpdateSensor
(
pf_t
*pf,
GMCLSensorData
*data)
73
{
74
return
false
;
75
}
76
77
78
#ifdef INCLUDE_RTKGUI
79
81
// Setup the GUI
82
void
GMCLSensor::SetupGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig)
83
{
84
return
;
85
}
86
87
89
// Shutdown the GUI
90
void
GMCLSensor::ShutdownGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig)
91
{
92
return
;
93
}
94
95
97
// Draw sensor data
98
void
GMCLSensor::UpdateGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig,
GMCLSensorData
*data)
99
{
100
return
;
101
}
102
103
#endif
gmcl::GMCLSensor::GMCLSensor
GMCLSensor()
Definition:
gmcl_sensor.cpp:45
gmcl::GMCLSensor::~GMCLSensor
virtual ~GMCLSensor()
Definition:
gmcl_sensor.cpp:50
gmcl
Definition:
gmcl_laser.h:43
gmcl::GMCLSensorData
Definition:
gmcl_sensor.h:93
_pf_t
Definition:
pf.h:150
gmcl::GMCLSensor::InitSensor
virtual bool InitSensor(pf_t *pf, GMCLSensorData *data)
Definition:
gmcl_sensor.cpp:64
gmcl_sensor.h
gmcl::GMCLSensor::UpdateAction
virtual bool UpdateAction(pf_t *pf, GMCLSensorData *data)
Definition:
gmcl_sensor.cpp:56
gmcl::GMCLSensor::UpdateSensor
virtual bool UpdateSensor(pf_t *pf, GMCLSensorData *data)
Definition:
gmcl_sensor.cpp:72
gmcl
Author(s): Mhd Ali Alshikh Khalil, adler1994@gmail.com
autogenerated on Wed Mar 2 2022 00:20:14