Drake
|
RigidBodyAccelerometer. More...
#include <drake/systems/plants/RigidBodySystem.h>
Public Member Functions | |
RigidBodyAccelerometer (RigidBodySystem const &sys, const std::string &name, const std::shared_ptr< RigidBodyFrame > frame) | |
~RigidBodyAccelerometer () override | |
size_t | getNumOutputs () const override |
Eigen::VectorXd | output (const double &t, const KinematicsCache< double > &rigid_body_state, const RigidBodySystem::InputVector< double > &u) const override |
bool | isDirectFeedthrough () const override |
void | setNoiseModel (std::shared_ptr< NoiseModel< double, 3, Eigen::Vector3d >> model) |
void | setGravityCompensation (bool enable_compensation) |
Public Member Functions inherited from RigidBodySensor | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | RigidBodySensor (const RigidBodySystem &sys, const std::string &name, std::shared_ptr< RigidBodyFrame > frame) |
The constructor. More... | |
virtual | ~RigidBodySensor () |
const std::string & | get_name () const |
Returns the name of the sensor. More... | |
const std::string & | get_model_name () const |
Returns the name of the model (i.e., robot) that owns this sensor. More... | |
const RigidBodyFrame & | get_frame () const |
Returns the frame to which thi sensor is attached. More... | |
const RigidBodySystem & | get_rigid_body_system () const |
Returns the rigid body system to which this sensor attaches. More... | |
Simulates a sensor that measures linear acceleration
RigidBodyAccelerometer | ( | RigidBodySystem const & | sys, |
const std::string & | name, | ||
const std::shared_ptr< RigidBodyFrame > | frame | ||
) |
|
inlineoverride |
|
inlineoverridevirtual |
Reimplemented from RigidBodySensor.
|
inlineoverridevirtual |
Reimplemented from RigidBodySensor.
|
overridevirtual |
|
inline |
|
inline |