#include <imu.hpp>
Public Member Functions | |
ImuSensor (ros::NodeHandle *nh, const char *topic, double period) | |
bool | publish (const Eigen::Vector3d &accFrd, const Eigen::Vector3d &gyroFrd) |
![]() | |
BaseSensor ()=delete | |
BaseSensor (ros::NodeHandle *nh, double period) | |
void | disable () |
void | enable () |
Additional Inherited Members | |
![]() | |
bool | _isEnabled {false} |
double | nextPubTimeSec_ = 0 |
ros::NodeHandle * | node_handler_ |
std::normal_distribution< double > | normalDistribution_ {std::normal_distribution<double>(0.0, 1.0)} |
const double | PERIOD |
ros::Publisher | publisher_ |
std::default_random_engine | randomGenerator_ |
ImuSensor::ImuSensor | ( | ros::NodeHandle * | nh, |
const char * | topic, | ||
double | period | ||
) |
bool ImuSensor::publish | ( | const Eigen::Vector3d & | accFrd, |
const Eigen::Vector3d & | gyroFrd | ||
) |