#include <sensor_model.h>
Public Member Functions | |
virtual const T & | getCurrentDrift () const |
virtual const T & | getCurrentError () const |
virtual void | Load (sdf::ElementPtr _sdf, const std::string &prefix=std::string()) |
virtual T | operator() (const T &value) const |
virtual T | operator() (const T &value, double dt) |
virtual void | reset (const T &value=T()) |
SensorModel_ () | |
virtual void | setCurrentDrift (const T &new_drift) |
virtual T | update (double dt) |
template<> | |
double | update (double dt) |
template<> | |
math::Vector3 | update (double dt) |
virtual | ~SensorModel_ () |
Public Attributes | |
T | drift |
T | drift_frequency |
T | gaussian_noise |
T | offset |
Private Member Functions | |
virtual bool | LoadImpl (sdf::ElementPtr _element, T &_value) |
Private Attributes | |
T | current_drift_ |
T | current_error_ |
Definition at line 37 of file sensor_model.h.
gazebo::SensorModel_< T >::SensorModel_ | ( | ) |
Definition at line 70 of file sensor_model.h.
gazebo::SensorModel_< T >::~SensorModel_ | ( | ) | [virtual] |
Definition at line 81 of file sensor_model.h.
virtual const T& gazebo::SensorModel_< T >::getCurrentDrift | ( | ) | const [inline, virtual] |
Definition at line 51 of file sensor_model.h.
virtual const T& gazebo::SensorModel_< T >::getCurrentError | ( | ) | const [inline, virtual] |
Definition at line 50 of file sensor_model.h.
void gazebo::SensorModel_< T >::Load | ( | sdf::ElementPtr | _sdf, |
const std::string & | prefix = std::string() |
||
) | [virtual] |
Definition at line 86 of file sensor_model.h.
bool gazebo::SensorModel_< T >::LoadImpl | ( | sdf::ElementPtr | _element, |
T & | _value | ||
) | [private, virtual] |
Definition at line 109 of file sensor_model.h.
virtual T gazebo::SensorModel_< T >::operator() | ( | const T & | value | ) | const [inline, virtual] |
Definition at line 44 of file sensor_model.h.
virtual T gazebo::SensorModel_< T >::operator() | ( | const T & | value, |
double | dt | ||
) | [inline, virtual] |
Definition at line 45 of file sensor_model.h.
void gazebo::SensorModel_< T >::reset | ( | const T & | value = T() | ) | [virtual] |
Definition at line 167 of file sensor_model.h.
virtual void gazebo::SensorModel_< T >::setCurrentDrift | ( | const T & | new_drift | ) | [inline, virtual] |
Definition at line 53 of file sensor_model.h.
T gazebo::SensorModel_< T >::update | ( | double | dt | ) | [virtual] |
Definition at line 144 of file sensor_model.h.
double gazebo::SensorModel_< double >::update | ( | double | dt | ) |
Definition at line 151 of file sensor_model.h.
math::Vector3 gazebo::SensorModel_< math::Vector3 >::update | ( | double | dt | ) |
Definition at line 158 of file sensor_model.h.
T gazebo::SensorModel_< T >::current_drift_ [private] |
Definition at line 65 of file sensor_model.h.
T gazebo::SensorModel_< T >::current_error_ [private] |
Definition at line 66 of file sensor_model.h.
T gazebo::SensorModel_< T >::drift |
Definition at line 60 of file sensor_model.h.
T gazebo::SensorModel_< T >::drift_frequency |
Definition at line 61 of file sensor_model.h.
T gazebo::SensorModel_< T >::gaussian_noise |
Definition at line 62 of file sensor_model.h.
T gazebo::SensorModel_< T >::offset |
Definition at line 59 of file sensor_model.h.