Public Member Functions | Private Member Functions | Private Attributes
ROSComm Class Reference
Inheritance diagram for ROSComm:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ROSComm (const ros::NodeHandle &n, double sigma_x, double sigma_theta, double cov_x_y, double cov_x_theta, double cov_y_theta)
virtual void send_odometry (double x, double y, double theta, double v_x, double v_theta, double wheelpos_l, double wheelpos_r)
void setTFPrefix (const std::string &tf_prefix)

Private Member Functions

void populateCovariance (nav_msgs::Odometry &msg, double v_x, double v_theta)

Private Attributes

double cov_x_theta_
double cov_x_y_
double cov_y_theta_
ros::Publisher joint_pub_
ros::NodeHandle n_
tf::TransformBroadcaster odom_broadcaster_
ros::Publisher odom_pub_
bool publish_tf_
double sigma_theta_
double sigma_x_
std::string tf_prefix_

Detailed Description

Definition at line 42 of file volksbot_node.cpp.


Constructor & Destructor Documentation

ROSComm::ROSComm ( const ros::NodeHandle n,
double  sigma_x,
double  sigma_theta,
double  cov_x_y,
double  cov_x_theta,
double  cov_y_theta 
) [inline]

Definition at line 45 of file volksbot_node.cpp.


Member Function Documentation

void ROSComm::populateCovariance ( nav_msgs::Odometry &  msg,
double  v_x,
double  v_theta 
) [private]

Definition at line 85 of file volksbot_node.cpp.

void ROSComm::send_odometry ( double  x,
double  y,
double  theta,
double  v_x,
double  v_theta,
double  wheelpos_l,
double  wheelpos_r 
) [virtual]

Implements Comm.

Definition at line 137 of file volksbot_node.cpp.

void ROSComm::setTFPrefix ( const std::string &  tf_prefix)

Definition at line 80 of file volksbot_node.cpp.


Member Data Documentation

double ROSComm::cov_x_theta_ [private]

Definition at line 71 of file volksbot_node.cpp.

double ROSComm::cov_x_y_ [private]

Definition at line 71 of file volksbot_node.cpp.

double ROSComm::cov_y_theta_ [private]

Definition at line 71 of file volksbot_node.cpp.

Definition at line 77 of file volksbot_node.cpp.

Definition at line 70 of file volksbot_node.cpp.

Definition at line 75 of file volksbot_node.cpp.

Definition at line 76 of file volksbot_node.cpp.

bool ROSComm::publish_tf_ [private]

Definition at line 72 of file volksbot_node.cpp.

double ROSComm::sigma_theta_ [private]

Definition at line 71 of file volksbot_node.cpp.

double ROSComm::sigma_x_ [private]

Definition at line 71 of file volksbot_node.cpp.

std::string ROSComm::tf_prefix_ [private]

Definition at line 73 of file volksbot_node.cpp.


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


volksbot_driver
Author(s): Jochen Sprickerhof
autogenerated on Fri Aug 28 2015 13:37:54