#include <Sensor.h>
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 Sensor * | create (int type) |
static void | destroy (Sensor *sensor) |
Public Attributes | |
int | id |
Link * | link |
Vector3 | localPos |
Matrix33 | localR |
std::string | name |
int | type |
Static Public Attributes | |
static const int | TYPE = COMMON |
Definition at line 27 of file hrplib/hrpModel/Sensor.h.
COMMON | |
FORCE | |
RATE_GYRO | |
ACCELERATION | |
PRESSURE | |
PHOTO_INTERRUPTER | |
VISION | |
TORQUE | |
RANGE | |
NUM_SENSOR_TYPES |
Definition at line 31 of file hrplib/hrpModel/Sensor.h.
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.
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.
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.
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.
const int hrp::Sensor::TYPE = COMMON [static] |
Reimplemented in hrp::VisionSensor, hrp::RangeSensor, hrp::AccelSensor, hrp::RateGyroSensor, and hrp::ForceSensor.
Definition at line 44 of file hrplib/hrpModel/Sensor.h.
Definition at line 57 of file hrplib/hrpModel/Sensor.h.