ErraticNode Class Reference

List of all members.

Public Member Functions

void cmdRangerTiltReceived (const std_msgs::Float64::ConstPtr &tilt)
void cmdVelReceived (const geometry_msgs::Twist::ConstPtr &cmd_vel)
void cmdVisionPanReceived (const std_msgs::Float64::ConstPtr &pan)
void cmdVisionTiltReceived (const std_msgs::Float64::ConstPtr &tilt)
void doUpdate ()
 ErraticNode ()
void getCenter ()
void populateCovariance (nav_msgs::Odometry &msg)
int setMotorState (uint8_t state)
int start ()
int stop ()
void updateVisionPanTilt ()
 ~ErraticNode ()

Public Attributes

ros::Publisher battery_pub_
ros::Subscriber cmd_ranger_tilt_sub_
ros::Subscriber cmd_vel_sub_
ros::Subscriber cmd_vision_pan_sub_
ros::Subscriber cmd_vision_tilt_sub_
ros::Publisher ir_pub_
ros::NodeHandle node_
ros::Publisher odom_pub_
bool publish_tf_
QueuePointer q
double sigma_theta_
double sigma_x_
double sigma_y_
ros::Publisher sonar_pub
tf::TransformBroadcaster tf_
std::string tf_prefix_

Private Attributes

double center_x_
double center_y_
double center_yaw_
ConfigFile * cf
double charging_threshold_
Driver * driver
bool enable_ir
bool enable_ranger_tilt
bool enable_sonar
bool enable_vision_pan_tilt
Device * ir_device
std::string odom_frame_id
Device * pos_device
Device * power_device
Device * ranger_tilt_device
Device * sonar_device
float vision_pan_rads
Device * vision_ptz_device
float vision_tilt_rads
double watts_charging_
double watts_unplugged_

Detailed Description

Definition at line 124 of file erratic_player.cpp.


Constructor & Destructor Documentation

ErraticNode::ErraticNode (  )  [inline]

Definition at line 147 of file erratic_player.cpp.

ErraticNode::~ErraticNode (  )  [inline]

Definition at line 254 of file erratic_player.cpp.


Member Function Documentation

void ErraticNode::cmdRangerTiltReceived ( const std_msgs::Float64::ConstPtr &  tilt  )  [inline]

Definition at line 392 of file erratic_player.cpp.

void ErraticNode::cmdVelReceived ( const geometry_msgs::Twist::ConstPtr &  cmd_vel  )  [inline]

Definition at line 433 of file erratic_player.cpp.

void ErraticNode::cmdVisionPanReceived ( const std_msgs::Float64::ConstPtr &  pan  )  [inline]

Definition at line 427 of file erratic_player.cpp.

void ErraticNode::cmdVisionTiltReceived ( const std_msgs::Float64::ConstPtr &  tilt  )  [inline]

Definition at line 421 of file erratic_player.cpp.

void ErraticNode::doUpdate (  )  [inline]

Definition at line 463 of file erratic_player.cpp.

void ErraticNode::getCenter (  )  [inline]

Definition at line 371 of file erratic_player.cpp.

void ErraticNode::populateCovariance ( nav_msgs::Odometry &  msg  )  [inline]

Definition at line 449 of file erratic_player.cpp.

int ErraticNode::setMotorState ( uint8_t  state  )  [inline]

Definition at line 347 of file erratic_player.cpp.

int ErraticNode::start (  )  [inline]

Definition at line 260 of file erratic_player.cpp.

int ErraticNode::stop (  )  [inline]

Definition at line 300 of file erratic_player.cpp.

void ErraticNode::updateVisionPanTilt (  )  [inline]

Definition at line 406 of file erratic_player.cpp.


Member Data Documentation

ros::Publisher ErraticNode::battery_pub_

Definition at line 133 of file erratic_player.cpp.

double ErraticNode::center_x_ [private]

Definition at line 609 of file erratic_player.cpp.

double ErraticNode::center_y_ [private]

Definition at line 610 of file erratic_player.cpp.

double ErraticNode::center_yaw_ [private]

Definition at line 611 of file erratic_player.cpp.

ConfigFile* ErraticNode::cf [private]

Definition at line 628 of file erratic_player.cpp.

Definition at line 615 of file erratic_player.cpp.

Definition at line 137 of file erratic_player.cpp.

ros::Subscriber ErraticNode::cmd_vel_sub_

Definition at line 136 of file erratic_player.cpp.

Definition at line 139 of file erratic_player.cpp.

Definition at line 138 of file erratic_player.cpp.

Driver* ErraticNode::driver [private]

Definition at line 620 of file erratic_player.cpp.

bool ErraticNode::enable_ir [private]

Definition at line 631 of file erratic_player.cpp.

Definition at line 633 of file erratic_player.cpp.

bool ErraticNode::enable_sonar [private]

Definition at line 632 of file erratic_player.cpp.

Definition at line 634 of file erratic_player.cpp.

Device* ErraticNode::ir_device [private]

Definition at line 624 of file erratic_player.cpp.

ros::Publisher ErraticNode::ir_pub_

Definition at line 134 of file erratic_player.cpp.

ros::NodeHandle ErraticNode::node_

Definition at line 128 of file erratic_player.cpp.

std::string ErraticNode::odom_frame_id [private]

Definition at line 629 of file erratic_player.cpp.

ros::Publisher ErraticNode::odom_pub_

Definition at line 132 of file erratic_player.cpp.

Device* ErraticNode::pos_device [private]

Definition at line 621 of file erratic_player.cpp.

Device* ErraticNode::power_device [private]

Definition at line 622 of file erratic_player.cpp.

Definition at line 142 of file erratic_player.cpp.

QueuePointer ErraticNode::q

Definition at line 127 of file erratic_player.cpp.

Definition at line 625 of file erratic_player.cpp.

Definition at line 145 of file erratic_player.cpp.

Definition at line 143 of file erratic_player.cpp.

Definition at line 144 of file erratic_player.cpp.

Device* ErraticNode::sonar_device [private]

Definition at line 623 of file erratic_player.cpp.

ros::Publisher ErraticNode::sonar_pub

Definition at line 135 of file erratic_player.cpp.

tf::TransformBroadcaster ErraticNode::tf_

Definition at line 130 of file erratic_player.cpp.

Definition at line 140 of file erratic_player.cpp.

Definition at line 617 of file erratic_player.cpp.

Device* ErraticNode::vision_ptz_device [private]

Definition at line 626 of file erratic_player.cpp.

Definition at line 618 of file erratic_player.cpp.

double ErraticNode::watts_charging_ [private]

Definition at line 613 of file erratic_player.cpp.

Definition at line 614 of file erratic_player.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines


erratic_player
Author(s): Maintained by Antons Rebguns
autogenerated on Fri Jan 11 10:08:52 2013