📄 amcl_sensor.cc
字号:
/* * Player - One Hell of a Robot Server * Copyright (C) 2000 Brian Gerkey & Kasper Stoy * gerkey@usc.edu kaspers@robotics.usc.edu * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *//////////////////////////////////////////////////////////////////////////////// Desc: AMCL sensor // Author: Andrew Howard// Date: 6 Feb 2003// CVS: $Id: amcl_sensor.cc,v 1.4.4.2 2006/07/13 17:59:43 gerkey Exp $/////////////////////////////////////////////////////////////////////////////#ifdef HAVE_CONFIG_H#include "config.h"#endif#include "amcl_sensor.h"////////////////////////////////////////////////////////////////////////////////// Default constructorAMCLSensor::AMCLSensor(AdaptiveMCL & aAMCL) : AMCL(aAMCL){ return;}AMCLSensor::~AMCLSensor(){}////////////////////////////////////////////////////////////////////////////////// Load settingsint AMCLSensor::Load(ConfigFile* cf, int section){ return 0;}////////////////////////////////////////////////////////////////////////////////// Unload the modelint AMCLSensor::Unload(void){ return 0;}////////////////////////////////////////////////////////////////////////////////// Set up the underlying odom device.int AMCLSensor::Setup(void){ return 0;}////////////////////////////////////////////////////////////////////////////////// Shutdown the underlying odom device.int AMCLSensor::Shutdown(void){ return 0;}////////////////////////////////////////////////////////////////////////////////// Get new sensor data (non-blocking)/*AMCLSensorData *AMCLSensor::GetData(void){ return NULL;}*/////////////////////////////////////////////////////////////////////////////////// Apply the action modelbool AMCLSensor::UpdateAction(pf_t *pf, AMCLSensorData *data){ return false;}////////////////////////////////////////////////////////////////////////////////// Initialize the filterbool AMCLSensor::InitSensor(pf_t *pf, AMCLSensorData *data){ return false;}////////////////////////////////////////////////////////////////////////////////// Apply the sensor modelbool AMCLSensor::UpdateSensor(pf_t *pf, AMCLSensorData *data){ return false;}#ifdef INCLUDE_RTKGUI////////////////////////////////////////////////////////////////////////////////// Setup the GUIvoid AMCLSensor::SetupGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig){ return;}////////////////////////////////////////////////////////////////////////////////// Shutdown the GUIvoid AMCLSensor::ShutdownGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig){ return;}////////////////////////////////////////////////////////////////////////////////// Draw sensor datavoid AMCLSensor::UpdateGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig, AMCLSensorData *data){ return;}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -