wifi.h

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

H
71
字号
/* *  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 models for wifi. * Author: Andrew Howard * Date: 30 May 2003 * CVS: $Id: wifi.h,v 1.2 2003/06/02 15:33:45 inspectorg Exp $ *************************************************************************/#ifndef WIFI_H#define WIFI_H#include "../pf/pf.h"#include "../pf/pf_pdf.h"#include "../map/map.h"#ifdef __cplusplusextern "C" {#endif  // Model informationtypedef struct{  // Pointer to the map map  map_t *map;  // Observed levels  int level_count;  int levels[MAP_WIFI_MAX_LEVELS];  } wifi_t;// Create an sensor modelwifi_t *wifi_alloc(map_t *map);// Free an sensor modelvoid wifi_free(wifi_t *sensor);// Set the observed wifi levelsvoid wifi_set_levels(wifi_t *self, int level_count, int levels[]);// The sensor model functiondouble wifi_sensor_model(wifi_t *self, pf_vector_t pose);#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

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