Public Member Functions | Private Member Functions | Private Attributes
GraftImuTopic Class Reference

#include <GraftImuTopic.h>

Inheritance diagram for GraftImuTopic:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void callback (const sensor_msgs::Imu::ConstPtr &msg)
virtual void clearMessage ()
virtual std::string getName ()
 GraftImuTopic ()
virtual
graft::GraftSensorResidual::Ptr 
h (const graft::GraftState &state)
void setAngularVelocityCovariance (boost::array< double, 9 > &cov)
void setLinearAccelerationCovariance (boost::array< double, 9 > &cov)
virtual void setName (const std::string &name)
void setOrientationCovariance (boost::array< double, 9 > &cov)
void setTimeout (double timeout)
void useDeltaOrientation (bool delta_orientation)
virtual
graft::GraftSensorResidual::Ptr 
z ()
 ~GraftImuTopic ()

Private Member Functions

sensor_msgs::Imu::ConstPtr getMsg ()

Private Attributes

bool absolute_orientation_
boost::array< double, 9 > angular_velocity_covariance_
bool delta_orientation_
sensor_msgs::Imu::ConstPtr last_msg_
boost::array< double, 9 > linear_acceleration_covariance_
sensor_msgs::Imu::ConstPtr msg_
std::string name_
boost::array< double, 9 > orientation_covariance_
ros::Subscriber sub_
ros::Duration timeout_
bool use_accelerations_
bool use_velocities_

Detailed Description

Definition at line 46 of file GraftImuTopic.h.


Constructor & Destructor Documentation

Definition at line 37 of file GraftImuTopic.cpp.

Definition at line 47 of file GraftImuTopic.cpp.


Member Function Documentation

void GraftImuTopic::callback ( const sensor_msgs::Imu::ConstPtr &  msg)

Definition at line 52 of file GraftImuTopic.cpp.

void GraftImuTopic::clearMessage ( ) [virtual]

Implements GraftSensor.

Definition at line 68 of file GraftImuTopic.cpp.

sensor_msgs::Imu::ConstPtr GraftImuTopic::getMsg ( ) [private]

Definition at line 269 of file GraftImuTopic.cpp.

std::string GraftImuTopic::getName ( ) [virtual]

Implements GraftSensor.

Definition at line 63 of file GraftImuTopic.cpp.

graft::GraftSensorResidual::Ptr GraftImuTopic::h ( const graft::GraftState &  state) [virtual]

Implements GraftSensor.

Definition at line 123 of file GraftImuTopic.cpp.

void GraftImuTopic::setAngularVelocityCovariance ( boost::array< double, 9 > &  cov)

Definition at line 257 of file GraftImuTopic.cpp.

void GraftImuTopic::setLinearAccelerationCovariance ( boost::array< double, 9 > &  cov)

Definition at line 263 of file GraftImuTopic.cpp.

void GraftImuTopic::setName ( const std::string &  name) [virtual]

Implements GraftSensor.

Definition at line 58 of file GraftImuTopic.cpp.

void GraftImuTopic::setOrientationCovariance ( boost::array< double, 9 > &  cov)

Definition at line 251 of file GraftImuTopic.cpp.

void GraftImuTopic::setTimeout ( double  timeout)

Definition at line 240 of file GraftImuTopic.cpp.

void GraftImuTopic::useDeltaOrientation ( bool  delta_orientation)

Definition at line 234 of file GraftImuTopic.cpp.

graft::GraftSensorResidual::Ptr GraftImuTopic::z ( ) [virtual]

Implements GraftSensor.

Definition at line 158 of file GraftImuTopic.cpp.


Member Data Documentation

Definition at line 96 of file GraftImuTopic.h.

boost::array<double, 9> GraftImuTopic::angular_velocity_covariance_ [private]

Definition at line 103 of file GraftImuTopic.h.

Definition at line 97 of file GraftImuTopic.h.

sensor_msgs::Imu::ConstPtr GraftImuTopic::last_msg_ [private]

Definition at line 93 of file GraftImuTopic.h.

boost::array<double, 9> GraftImuTopic::linear_acceleration_covariance_ [private]

Definition at line 104 of file GraftImuTopic.h.

sensor_msgs::Imu::ConstPtr GraftImuTopic::msg_ [private]

Definition at line 92 of file GraftImuTopic.h.

std::string GraftImuTopic::name_ [private]

Definition at line 95 of file GraftImuTopic.h.

boost::array<double, 9> GraftImuTopic::orientation_covariance_ [private]

Definition at line 102 of file GraftImuTopic.h.

Definition at line 91 of file GraftImuTopic.h.

Definition at line 100 of file GraftImuTopic.h.

Definition at line 99 of file GraftImuTopic.h.

Definition at line 98 of file GraftImuTopic.h.


The documentation for this class was generated from the following files:


graft
Author(s): Chad Rockey
autogenerated on Sat Jun 8 2019 10:26:16