6 #ifndef CNOID_BODY_SENSOR_H_INCLUDED
7 #define CNOID_BODY_SENSOR_H_INCLUDED
9 #include <cnoid/EigenTypes>
36 static const int TYPE = COMMON;
41 static Sensor* create(
int type);
42 static void destroy(
Sensor* sensor);
44 virtual void operator=(
const Sensor& org);
55 virtual void putInformation(std::ostream& os);
63 static const int TYPE = FORCE;
70 virtual void putInformation(std::ostream& os);
77 static const int TYPE = RATE_GYRO;
83 virtual void putInformation(std::ostream& os);
90 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
92 static const int TYPE = ACCELERATION;
99 virtual void putInformation(std::ostream& os);
109 static const int TYPE = RANGE;