Public Member Functions | Public Attributes | Private Attributes
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

Definition at line 147 of file erratic_player.cpp.

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 475 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 ( void  ) [inline]

Definition at line 300 of file erratic_player.cpp.

Definition at line 406 of file erratic_player.cpp.


Member Data Documentation

Definition at line 133 of file erratic_player.cpp.

double ErraticNode::center_x_ [private]

Definition at line 621 of file erratic_player.cpp.

double ErraticNode::center_y_ [private]

Definition at line 622 of file erratic_player.cpp.

double ErraticNode::center_yaw_ [private]

Definition at line 623 of file erratic_player.cpp.

ConfigFile* ErraticNode::cf [private]

Definition at line 640 of file erratic_player.cpp.

Definition at line 627 of file erratic_player.cpp.

Definition at line 137 of file erratic_player.cpp.

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 632 of file erratic_player.cpp.

bool ErraticNode::enable_ir [private]

Definition at line 643 of file erratic_player.cpp.

Definition at line 645 of file erratic_player.cpp.

bool ErraticNode::enable_sonar [private]

Definition at line 644 of file erratic_player.cpp.

Definition at line 646 of file erratic_player.cpp.

Device* ErraticNode::ir_device [private]

Definition at line 636 of file erratic_player.cpp.

Definition at line 134 of file erratic_player.cpp.

Definition at line 128 of file erratic_player.cpp.

std::string ErraticNode::odom_frame_id [private]

Definition at line 641 of file erratic_player.cpp.

Definition at line 132 of file erratic_player.cpp.

Device* ErraticNode::pos_device [private]

Definition at line 633 of file erratic_player.cpp.

Device* ErraticNode::power_device [private]

Definition at line 634 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 637 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 635 of file erratic_player.cpp.

Definition at line 135 of file erratic_player.cpp.

Definition at line 130 of file erratic_player.cpp.

Definition at line 140 of file erratic_player.cpp.

Definition at line 629 of file erratic_player.cpp.

Device* ErraticNode::vision_ptz_device [private]

Definition at line 638 of file erratic_player.cpp.

Definition at line 630 of file erratic_player.cpp.

double ErraticNode::watts_charging_ [private]

Definition at line 625 of file erratic_player.cpp.

Definition at line 626 of file erratic_player.cpp.


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


erratic_player
Author(s): Maintained by Antons Rebguns
autogenerated on Sun Oct 5 2014 23:49:03