#include <Sensor.h>
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 Sensor * | create (int type) |
static void | destroy (Sensor *sensor) |
Public Attributes | |
int | id |
Joint * | joint |
fVec3 | localPos |
fMat33 | localR |
std::string | name |
int | type |
Static Public Attributes | |
static const int | TYPE = COMMON |
Definition at line 24 of file server/UtDynamicsSimulator/Sensor.h.
enum Sensor::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.
Sensor::Sensor | ( | ) |
Definition at line 19 of file server/UtDynamicsSimulator/Sensor.cpp.
|
virtual |
Definition at line 57 of file server/UtDynamicsSimulator/Sensor.cpp.
|
virtual |
Reimplemented in AccelSensor, RateGyroSensor, and ForceSensor.
Definition at line 79 of file server/UtDynamicsSimulator/Sensor.cpp.
Definition at line 25 of file server/UtDynamicsSimulator/Sensor.cpp.
Definition at line 73 of file server/UtDynamicsSimulator/Sensor.cpp.
Definition at line 63 of file server/UtDynamicsSimulator/Sensor.cpp.
|
virtual |
Reimplemented in AccelSensor, RateGyroSensor, and ForceSensor.
Definition at line 85 of file server/UtDynamicsSimulator/Sensor.cpp.
int Sensor::id |
Definition at line 54 of file server/UtDynamicsSimulator/Sensor.h.
Joint* Sensor::joint |
Definition at line 55 of file server/UtDynamicsSimulator/Sensor.h.
fVec3 Sensor::localPos |
Definition at line 57 of file server/UtDynamicsSimulator/Sensor.h.
fMat33 Sensor::localR |
Definition at line 56 of file server/UtDynamicsSimulator/Sensor.h.
std::string Sensor::name |
Definition at line 52 of file server/UtDynamicsSimulator/Sensor.h.
Definition at line 40 of file server/UtDynamicsSimulator/Sensor.h.
int Sensor::type |
Definition at line 53 of file server/UtDynamicsSimulator/Sensor.h.