imu.h

来自「机器人仿真软件」· C头文件 代码 · 共 69 行

H
69
字号
/* *  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: Sensor model for IMU. * Author: Andrew Howard * Date: 8 Aug 2003 * CVS: $Id: imu.h,v 1.3 2003/08/17 18:51:44 inspectorg Exp $ *************************************************************************/#ifndef IMU_H#define IMU_H#include "../pf/pf.h"#include "../pf/pf_pdf.h"#ifdef __cplusplusextern "C" {#endif  // Model informationtypedef struct{  // UTM heading  double utm_head;    // Expected bearing error  double err_head;  } imu_model_t;// Create an sensor modelimu_model_t *imu_alloc();// Free an sensor modelvoid imu_free(imu_model_t *sensor);// Set the observed heading (utm)void imu_set_utm(imu_model_t *self, double utm_head);// The sensor model functiondouble imu_sensor_model(imu_model_t *self, pf_vector_t pose);#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?