IRI ROS Specific Driver Class. More...
#include <localization3d_alg_node.h>
IRI ROS Specific Driver Class.
Definition at line 73 of file localization3d_alg_node.h.
Constructor.
This constructor initializes specific class attributes and all ROS communications variables to enable message exchange.
Definition at line 3 of file localization3d_alg_node.cpp.
Destructor.
This destructor frees all necessary dynamic memory allocated within this this class.
Definition at line 119 of file localization3d_alg_node.cpp.
void Localization3dAlgNode::addNodeDiagnostics | ( | void | ) | [protected, virtual] |
node add diagnostics
In this abstract function additional ROS diagnostics applied to the specific algorithms may be added.
Implements algorithm_base::IriBaseAlgorithm< Localization3dAlgorithm >.
Definition at line 535 of file localization3d_alg_node.cpp.
void Localization3dAlgNode::initDevicePositions | ( | ) | [private] |
Definition at line 125 of file localization3d_alg_node.cpp.
void Localization3dAlgNode::laser0_callback | ( | const sensor_msgs::LaserScan::ConstPtr & | msg | ) | [private] |
Definition at line 402 of file localization3d_alg_node.cpp.
void Localization3dAlgNode::laser1_callback | ( | const sensor_msgs::LaserScan::ConstPtr & | msg | ) | [private] |
Definition at line 441 of file localization3d_alg_node.cpp.
void Localization3dAlgNode::laser2_callback | ( | const sensor_msgs::LaserScan::ConstPtr & | msg | ) | [private] |
Definition at line 480 of file localization3d_alg_node.cpp.
void Localization3dAlgNode::mainNodeThread | ( | void | ) | [protected, virtual] |
main node thread
This is the main thread node function. Code written here will be executed in every node loop while the algorithm is on running state. Loop frequency can be tuned by modifying loop_rate attribute.
Here data related to the process loop or to ROS topics (mainly data structs related to the MSG and SRV files) must be updated. ROS publisher objects must publish their data in this process. ROS client servers may also request data to the corresponding server topics.
Implements algorithm_base::IriBaseAlgorithm< Localization3dAlgorithm >.
Definition at line 174 of file localization3d_alg_node.cpp.
void Localization3dAlgNode::node_config_update | ( | Config & | config, |
uint32_t | level | ||
) | [protected, virtual] |
dynamic reconfigure server callback
This method is called whenever a new configuration is received through the dynamic reconfigure. The derivated generic algorithm class must implement it.
config | an object with new configuration from all algorithm parameters defined in the config file. |
level | integer referring the level in which the configuration has been changed. |
Implements algorithm_base::IriBaseAlgorithm< Localization3dAlgorithm >.
Definition at line 527 of file localization3d_alg_node.cpp.
void Localization3dAlgNode::platformData_callback | ( | const iri_segway_rmp_msgs::SegwayRMP200Status::ConstPtr & | msg | ) | [private] |
Definition at line 329 of file localization3d_alg_node.cpp.
void Localization3dAlgNode::platformOdometry_callback | ( | const nav_msgs::Odometry::ConstPtr & | msg | ) | [private] |
Definition at line 359 of file localization3d_alg_node.cpp.
void Localization3dAlgNode::printUserConfiguration | ( | ) | [private] |
Definition at line 149 of file localization3d_alg_node.cpp.
CMutex Localization3dAlgNode::config_mutex [private] |
Definition at line 115 of file localization3d_alg_node.h.
double Localization3dAlgNode::dT [private] |
Definition at line 133 of file localization3d_alg_node.h.
string Localization3dAlgNode::gridFileName [private] |
Definition at line 127 of file localization3d_alg_node.h.
Ccompass3axisObservation Localization3dAlgNode::inclinometers [private] |
Definition at line 119 of file localization3d_alg_node.h.
double Localization3dAlgNode::infoGain [private] |
Definition at line 131 of file localization3d_alg_node.h.
double Localization3dAlgNode::initH [private] |
Definition at line 126 of file localization3d_alg_node.h.
double Localization3dAlgNode::initX [private] |
Definition at line 126 of file localization3d_alg_node.h.
double Localization3dAlgNode::initY [private] |
Definition at line 126 of file localization3d_alg_node.h.
Definition at line 95 of file localization3d_alg_node.h.
Definition at line 98 of file localization3d_alg_node.h.
Definition at line 101 of file localization3d_alg_node.h.
CMutex Localization3dAlgNode::laser_mutex[MAX_RANGE_DEVICES] [private] |
Definition at line 104 of file localization3d_alg_node.h.
ClaserObservation Localization3dAlgNode::laserObs[MAX_RANGE_DEVICES] [private] |
Definition at line 120 of file localization3d_alg_node.h.
CposCovObservation Localization3dAlgNode::locEstimate [private] |
Definition at line 122 of file localization3d_alg_node.h.
string Localization3dAlgNode::mapFileName [private] |
Definition at line 127 of file localization3d_alg_node.h.
int Localization3dAlgNode::numberOfParticles [private] |
Definition at line 124 of file localization3d_alg_node.h.
CodometryObservation Localization3dAlgNode::odometry [private] |
Definition at line 118 of file localization3d_alg_node.h.
tf::Pose Localization3dAlgNode::odoPose [private] |
Definition at line 128 of file localization3d_alg_node.h.
ros::Time Localization3dAlgNode::odoTime [private] |
Definition at line 129 of file localization3d_alg_node.h.
Definition at line 79 of file localization3d_alg_node.h.
CbasicPF* Localization3dAlgNode::pFilter [private] |
Definition at line 123 of file localization3d_alg_node.h.
CMutex Localization3dAlgNode::platformData_mutex_ [private] |
Definition at line 91 of file localization3d_alg_node.h.
Definition at line 89 of file localization3d_alg_node.h.
CMutex Localization3dAlgNode::platformOdometry_mutex_ [private] |
Definition at line 94 of file localization3d_alg_node.h.
Definition at line 92 of file localization3d_alg_node.h.
geometry_msgs::PoseArray Localization3dAlgNode::PoseArray_msg_ [private] |
Definition at line 80 of file localization3d_alg_node.h.
geometry_msgs::PoseWithCovarianceStamped Localization3dAlgNode::PoseWithCovarianceStamped_msg_ [private] |
Definition at line 82 of file localization3d_alg_node.h.
Definition at line 81 of file localization3d_alg_node.h.
ros::Time Localization3dAlgNode::priorTime [private] |
Definition at line 130 of file localization3d_alg_node.h.
Definition at line 121 of file localization3d_alg_node.h.
int Localization3dAlgNode::resamplingStyle [private] |
Definition at line 125 of file localization3d_alg_node.h.
Definition at line 77 of file localization3d_alg_node.h.
Definition at line 85 of file localization3d_alg_node.h.
Definition at line 86 of file localization3d_alg_node.h.
tf::tfMessage Localization3dAlgNode::tfMessage_msg_ [private] |
Definition at line 78 of file localization3d_alg_node.h.
Definition at line 132 of file localization3d_alg_node.h.