Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
hrp::Sensor Class Reference

#include <Sensor.h>

Inheritance diagram for hrp::Sensor:
Inheritance graph
[legend]

Public Types

enum  SensorType {
  COMMON = 0, FORCE, RATE_GYRO, ACCELERATION,
  PRESSURE, PHOTO_INTERRUPTER, VISION, TORQUE,
  RANGE, NUM_SENSOR_TYPES
}
 

Public Member Functions

virtual void clear ()
 
virtual void operator= (const Sensor &org)
 
virtual void putInformation (std::ostream &os)
 
 Sensor ()
 
virtual ~Sensor ()
 

Static Public Member Functions

static Sensorcreate (int type)
 
static void destroy (Sensor *sensor)
 

Public Attributes

int id
 
Linklink
 
Vector3 localPos
 
Matrix33 localR
 
std::string name
 
int type
 

Static Public Attributes

static const int TYPE = COMMON
 

Detailed Description

Definition at line 27 of file hrplib/hrpModel/Sensor.h.

Member Enumeration Documentation

Enumerator
COMMON 
FORCE 
RATE_GYRO 
ACCELERATION 
PRESSURE 
PHOTO_INTERRUPTER 
VISION 
TORQUE 
RANGE 
NUM_SENSOR_TYPES 

Definition at line 31 of file hrplib/hrpModel/Sensor.h.

Constructor & Destructor Documentation

Sensor::Sensor ( )

Definition at line 20 of file hrplib/hrpModel/Sensor.cpp.

Sensor::~Sensor ( )
virtual

Definition at line 64 of file hrplib/hrpModel/Sensor.cpp.

Member Function Documentation

void Sensor::clear ( void  )
virtual

Reimplemented in hrp::AccelSensor, hrp::RateGyroSensor, and hrp::ForceSensor.

Definition at line 86 of file hrplib/hrpModel/Sensor.cpp.

Sensor * Sensor::create ( int  type)
static

Definition at line 26 of file hrplib/hrpModel/Sensor.cpp.

void Sensor::destroy ( Sensor sensor)
static

Definition at line 80 of file hrplib/hrpModel/Sensor.cpp.

void Sensor::operator= ( const Sensor org)
virtual

Definition at line 70 of file hrplib/hrpModel/Sensor.cpp.

void Sensor::putInformation ( std::ostream &  os)
virtual

Reimplemented in hrp::AccelSensor, hrp::RateGyroSensor, and hrp::ForceSensor.

Definition at line 92 of file hrplib/hrpModel/Sensor.cpp.

Member Data Documentation

int hrp::Sensor::id

Definition at line 58 of file hrplib/hrpModel/Sensor.h.

Link* hrp::Sensor::link

Definition at line 59 of file hrplib/hrpModel/Sensor.h.

Vector3 hrp::Sensor::localPos

Definition at line 61 of file hrplib/hrpModel/Sensor.h.

Matrix33 hrp::Sensor::localR

Definition at line 60 of file hrplib/hrpModel/Sensor.h.

std::string hrp::Sensor::name

Definition at line 56 of file hrplib/hrpModel/Sensor.h.

const int hrp::Sensor::TYPE = COMMON
static

Definition at line 44 of file hrplib/hrpModel/Sensor.h.

int hrp::Sensor::type

Definition at line 57 of file hrplib/hrpModel/Sensor.h.


The documentation for this class was generated from the following files:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:31