Go to the documentation of this file.
6 #ifndef CNOID_BODY_ACCELERATION_SENSOR_H
7 #define CNOID_BODY_ACCELERATION_SENSOR_H
11 #include "exportdecl.h"
23 virtual const char* typeName()
const override;
25 virtual void copyStateFrom(
const DeviceState& other)
override;
27 virtual void forEachActualType(std::function<
bool(
const std::type_info& type)> func)
override;
28 virtual void clearState()
override;
29 virtual int stateSize()
const override;
30 virtual const double* readState(
const double* buf)
override;
31 virtual double* writeState(
double* out_buf)
const override;
39 bool readSpecifications(
const Mapping* info);
40 bool writeSpecifications(
Mapping* info)
const;
51 std::unique_ptr<Spec> spec;
Definition: AccelerationSensor.h:17
Definition: ValueTree.h:253
Eigen::Vector3d Vector3
Definition: EigenTypes.h:57
Definition: Referenced.h:103
const Vector3 & dv_max() const
Definition: AccelerationSensor.h:36
Definition: AbstractSceneLoader.h:11
Definition: CloneMap.h:13
Vector3 & dv_max()
Definition: AccelerationSensor.h:37
Definition: Referenced.h:54
Vector3 & dv()
Definition: AccelerationSensor.h:34
const Vector3 & dv() const
Definition: AccelerationSensor.h:33
ref_ptr< AccelerationSensor > AccelerationSensorPtr
Definition: AccelerationSensor.h:54