Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
hrp::Sensor Class Reference

#include <Sensor.h>

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

List of all members.

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

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

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

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

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

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.

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 Thu Apr 11 2019 03:30:22