#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.
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.
Sensor::Sensor | ( | ) |
Definition at line 20 of file hrplib/hrpModel/Sensor.cpp.
|
virtual |
Definition at line 64 of file hrplib/hrpModel/Sensor.cpp.
Reimplemented in hrp::AccelSensor, hrp::RateGyroSensor, and hrp::ForceSensor.
Definition at line 86 of file hrplib/hrpModel/Sensor.cpp.
Definition at line 26 of file hrplib/hrpModel/Sensor.cpp.
Definition at line 80 of file hrplib/hrpModel/Sensor.cpp.
Definition at line 70 of file hrplib/hrpModel/Sensor.cpp.
|
virtual |
Reimplemented in hrp::AccelSensor, hrp::RateGyroSensor, and hrp::ForceSensor.
Definition at line 92 of file hrplib/hrpModel/Sensor.cpp.
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.
Definition at line 44 of file hrplib/hrpModel/Sensor.h.
int hrp::Sensor::type |
Definition at line 57 of file hrplib/hrpModel/Sensor.h.