Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROSComm Class Reference
Inheritance diagram for ROSComm:
Inheritance graph

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)
- Public Member Functions inherited from Comm
virtual ~Comm ()

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 

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 

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 

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_

Definition at line 71 of file volksbot_node.cpp.

double ROSComm::cov_x_y_

Definition at line 71 of file volksbot_node.cpp.

double ROSComm::cov_y_theta_

Definition at line 71 of file volksbot_node.cpp.

ros::Publisher ROSComm::joint_pub_

Definition at line 77 of file volksbot_node.cpp.

ros::NodeHandle ROSComm::n_

Definition at line 70 of file volksbot_node.cpp.

tf::TransformBroadcaster ROSComm::odom_broadcaster_

Definition at line 75 of file volksbot_node.cpp.

ros::Publisher ROSComm::odom_pub_

Definition at line 76 of file volksbot_node.cpp.

bool ROSComm::publish_tf_

Definition at line 72 of file volksbot_node.cpp.

double ROSComm::sigma_theta_

Definition at line 71 of file volksbot_node.cpp.

double ROSComm::sigma_x_

Definition at line 71 of file volksbot_node.cpp.

std::string ROSComm::tf_prefix_

Definition at line 73 of file volksbot_node.cpp.

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

Author(s): Jochen Sprickerhof
autogenerated on Wed Jun 5 2019 22:06:21