#include <Imu.h>
Public Member Functions | |
virtual void | buildDevice () |
virtual void | deviceAck (const DeviceAck *ack) |
Imu (byte id, TransportLayer *transportLayer, uint16_t fusionHz, std::string frameId, bool enableGyro, bool fuseCompass, std::vector< double > imuLinearAccFix, std::vector< double > imuAngularVelocityFix, std::vector< double > imuMagnetometerFix, std::vector< double > imuRotationFix, std::vector< double > imuRotationOffset) | |
virtual void | update (const DeviceMessage *deviceMessage) |
virtual void | write () |
Private Member Functions | |
void | initArrays () |
bool | onSetImuClib (robotican_hardware_interface::setImuClib::Request &request, robotican_hardware_interface::setImuClib::Response &response) |
Private Attributes | |
tf::TransformBroadcaster | _broadcaster |
ros::Publisher | _clibPub |
bool | _enableGyro |
std::string | _frameId |
bool | _fuseCompass |
uint16_t | _fusionHz |
ros::Publisher | _imuAMQ |
double | _imuAngularVelocityFix [3][3] |
double | _imuLinearAccFix [3][3] |
ros::Publisher | _imuM |
double | _imuMagnetometerFix [3][3] |
double | _imuRotationFix [3][3] |
double | _imuRotationOffset [3] |
byte | _imuState |
bool | _isStateChange |
bool | _isStopClib |
ros::ServiceServer | _setImuClibService |
robotican_hardware::Imu::Imu | ( | byte | id, |
TransportLayer * | transportLayer, | ||
uint16_t | fusionHz, | ||
std::string | frameId, | ||
bool | enableGyro, | ||
bool | fuseCompass, | ||
std::vector< double > | imuLinearAccFix, | ||
std::vector< double > | imuAngularVelocityFix, | ||
std::vector< double > | imuMagnetometerFix, | ||
std::vector< double > | imuRotationFix, | ||
std::vector< double > | imuRotationOffset | ||
) |
void robotican_hardware::Imu::buildDevice | ( | ) | [virtual] |
Implements robotican_hardware::Device.
void robotican_hardware::Imu::deviceAck | ( | const DeviceAck * | ack | ) | [virtual] |
Reimplemented from robotican_hardware::Device.
void robotican_hardware::Imu::initArrays | ( | ) | [private] |
bool robotican_hardware::Imu::onSetImuClib | ( | robotican_hardware_interface::setImuClib::Request & | request, |
robotican_hardware_interface::setImuClib::Response & | response | ||
) | [private] |
void robotican_hardware::Imu::update | ( | const DeviceMessage * | deviceMessage | ) | [virtual] |
Implements robotican_hardware::Device.
void robotican_hardware::Imu::write | ( | ) | [virtual] |
Implements robotican_hardware::Device.
bool robotican_hardware::Imu::_enableGyro [private] |
std::string robotican_hardware::Imu::_frameId [private] |
bool robotican_hardware::Imu::_fuseCompass [private] |
uint16_t robotican_hardware::Imu::_fusionHz [private] |
double robotican_hardware::Imu::_imuAngularVelocityFix[3][3] [private] |
double robotican_hardware::Imu::_imuLinearAccFix[3][3] [private] |
ros::Publisher robotican_hardware::Imu::_imuM [private] |
double robotican_hardware::Imu::_imuMagnetometerFix[3][3] [private] |
double robotican_hardware::Imu::_imuRotationFix[3][3] [private] |
double robotican_hardware::Imu::_imuRotationOffset[3] [private] |
byte robotican_hardware::Imu::_imuState [private] |
bool robotican_hardware::Imu::_isStateChange [private] |
bool robotican_hardware::Imu::_isStopClib [private] |