代码搜索结果
找到约 3,108 项符合
Sensor 的代码
analog.c
//-----------------------------------------------------------------------------
// Net ANALOG.C
//
// This module handles the analog inputs which are external temperature
// sensor, the on-chip te
analog.c
//-----------------------------------------------------------------------------
// Net ANALOG.C
//
// This module handles the analog inputs which are external temperature
// sensor, the on-chip te
odometrysensor.h
#ifndef ODOMETRYSENSOR_H
#define ODOMETRYSENSOR_H
#include
#include
namespace GMapping{
class OdometrySensor: public Sensor{
public:
OdometrySensor(const s
odometrysensor.cpp
#include "odometrysensor.h"
namespace GMapping{
OdometrySensor::OdometrySensor(const std::string& name, bool ideal): Sensor(name){ m_ideal=ideal;}
};
makefile
-include ../../global.mk
OBJS= sensor.o sensorreading.o
-include ../../build_tools/Makefile.generic-shared-object
sensoreading.h
#ifndef SENSORREADING_H
#define SENSORREADING_H
#include "sensor.h"
namespace GMapping{
class SensorReading{
public:
SensorReading(const Sensor* s=0, double time=0);
inline double getTime() con
sensorreading.h
#ifndef SENSORREADING_H
#define SENSORREADING_H
#include "sensor.h"
namespace GMapping{
class SensorReading{
public:
SensorReading(const Sensor* s=0, double time=0);
virtual ~SensorReading();
sensorreading.cpp
#include "sensorreading.h"
namespace GMapping{
SensorReading::SensorReading(const Sensor* s, double t){
m_sensor=s;
m_time=t;
}
SensorReading::~SensorReading(){
}
};
rangesensor.h
#ifndef RANGESENSOR_H
#define RANGESENSOR_H
#include
#include
#include
namespace GMapping{
class RangeSensor: public Sensor{
friend class Con
chebyweight.m
function weight=chebyweight(sensor,mainbeam,sidelevel,dspace)
%chebyshev weight
%chebyweight(sensor,mainbeam,sidelevel,dspace)
[m n]=size(mainbeam);
mainbeam=reshape(mainbeam,m*n,1);
%普通chebyshev