Public Member Functions | Private Types | Private Member Functions | Private Attributes
phidgets::ImuRosI Class Reference

#include <imu_ros_i.h>

Inheritance diagram for phidgets::ImuRosI:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool calibrateService (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 ImuRosI (ros::NodeHandle nh, ros::NodeHandle nh_private)

Private Types

typedef sensor_msgs::Imu ImuMsg
typedef
geometry_msgs::Vector3Stamped 
MagMsg

Private Member Functions

void calibrate ()
void dataHandler (CPhidgetSpatial_SpatialEventDataHandle *data, int count)
void initDevice ()
void processImuData (CPhidgetSpatial_SpatialEventDataHandle *data, int i)

Private Attributes

double angular_velocity_stdev_
ros::Publisher cal_publisher_
ros::ServiceServer cal_srv_
std::string frame_id_
ImuMsg imu_msg_
ros::Publisher imu_publisher_
bool initialized_
ros::Time last_imu_time_
double linear_acceleration_stdev_
ros::Publisher mag_publisher_
boost::mutex mutex_
ros::NodeHandle nh_
ros::NodeHandle nh_private_
int period_
ros::Time time_zero_

Detailed Description

Definition at line 18 of file imu_ros_i.h.


Member Typedef Documentation

typedef sensor_msgs::Imu phidgets::ImuRosI::ImuMsg [private]

Definition at line 20 of file imu_ros_i.h.

typedef geometry_msgs::Vector3Stamped phidgets::ImuRosI::MagMsg [private]

Definition at line 21 of file imu_ros_i.h.


Constructor & Destructor Documentation

Definition at line 5 of file imu_ros_i.cpp.


Member Function Documentation

void phidgets::ImuRosI::calibrate ( ) [private]

Definition at line 95 of file imu_ros_i.cpp.

bool phidgets::ImuRosI::calibrateService ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)

Definition at line 88 of file imu_ros_i.cpp.

void phidgets::ImuRosI::dataHandler ( CPhidgetSpatial_SpatialEventDataHandle *  data,
int  count 
) [private, virtual]

Reimplemented from phidgets::Imu.

Definition at line 177 of file imu_ros_i.cpp.

void phidgets::ImuRosI::initDevice ( ) [private]

Definition at line 67 of file imu_ros_i.cpp.

void phidgets::ImuRosI::processImuData ( CPhidgetSpatial_SpatialEventDataHandle *  data,
int  i 
) [private]

Definition at line 109 of file imu_ros_i.cpp.


Member Data Documentation

Definition at line 52 of file imu_ros_i.h.

Definition at line 36 of file imu_ros_i.h.

Definition at line 37 of file imu_ros_i.h.

std::string phidgets::ImuRosI::frame_id_ [private]

Definition at line 49 of file imu_ros_i.h.

Definition at line 43 of file imu_ros_i.h.

Definition at line 34 of file imu_ros_i.h.

Definition at line 39 of file imu_ros_i.h.

Definition at line 41 of file imu_ros_i.h.

Definition at line 53 of file imu_ros_i.h.

Definition at line 35 of file imu_ros_i.h.

boost::mutex phidgets::ImuRosI::mutex_ [private]

Definition at line 40 of file imu_ros_i.h.

Definition at line 32 of file imu_ros_i.h.

Definition at line 33 of file imu_ros_i.h.

Definition at line 50 of file imu_ros_i.h.

Definition at line 45 of file imu_ros_i.h.


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


phidgets_imu
Author(s): Ivan Dryanovski
autogenerated on Sat Dec 28 2013 17:19:33