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

#include <Sensor.h>

Inheritance diagram for Sensor:
Inheritance graph
[legend]

Public Types

enum  SensorType {
  COMMON = 0, FORCE, RATE_GYRO, ACCELERATION,
  PRESSURE, PHOTO_INTERRUPTER, VISION, TORQUE,
  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
 
Jointjoint
 
fVec3 localPos
 
fMat33 localR
 
std::string name
 
int type
 

Static Public Attributes

static const int TYPE = COMMON
 

Detailed Description

Definition at line 24 of file server/UtDynamicsSimulator/Sensor.h.

Member Enumeration Documentation

◆ SensorType

Enumerator
COMMON 
FORCE 
RATE_GYRO 
ACCELERATION 
PRESSURE 
PHOTO_INTERRUPTER 
VISION 
TORQUE 
NUM_SENSOR_TYPES 

Definition at line 28 of file server/UtDynamicsSimulator/Sensor.h.

Constructor & Destructor Documentation

◆ Sensor()

Sensor::Sensor ( )

Definition at line 19 of file server/UtDynamicsSimulator/Sensor.cpp.

◆ ~Sensor()

Sensor::~Sensor ( )
virtual

Definition at line 57 of file server/UtDynamicsSimulator/Sensor.cpp.

Member Function Documentation

◆ clear()

void Sensor::clear ( )
virtual

Reimplemented in AccelSensor, RateGyroSensor, and ForceSensor.

Definition at line 79 of file server/UtDynamicsSimulator/Sensor.cpp.

◆ create()

Sensor * Sensor::create ( int  type)
static

Definition at line 25 of file server/UtDynamicsSimulator/Sensor.cpp.

◆ destroy()

void Sensor::destroy ( Sensor sensor)
static

Definition at line 73 of file server/UtDynamicsSimulator/Sensor.cpp.

◆ operator=()

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

Definition at line 63 of file server/UtDynamicsSimulator/Sensor.cpp.

◆ putInformation()

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

Reimplemented in AccelSensor, RateGyroSensor, and ForceSensor.

Definition at line 85 of file server/UtDynamicsSimulator/Sensor.cpp.

Member Data Documentation

◆ id

int Sensor::id

Definition at line 54 of file server/UtDynamicsSimulator/Sensor.h.

◆ joint

Joint* Sensor::joint

Definition at line 55 of file server/UtDynamicsSimulator/Sensor.h.

◆ localPos

fVec3 Sensor::localPos

Definition at line 57 of file server/UtDynamicsSimulator/Sensor.h.

◆ localR

fMat33 Sensor::localR

Definition at line 56 of file server/UtDynamicsSimulator/Sensor.h.

◆ name

std::string Sensor::name

Definition at line 52 of file server/UtDynamicsSimulator/Sensor.h.

◆ TYPE

const int Sensor::TYPE = COMMON
static

Definition at line 40 of file server/UtDynamicsSimulator/Sensor.h.

◆ type

int Sensor::type

Definition at line 53 of file server/UtDynamicsSimulator/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 Wed Sep 7 2022 02:51:05