Classes | |
struct | TransformListenerWrapper |
Public Member Functions | |
AmclNode () | |
int | process () |
void | runFromBag (const std::string &in_bag_fn, bool trigger_global_localization=false) |
Uses TF and LaserScan messages from bag file to drive AMCL instead. More... | |
void | savePoseToServer () |
~AmclNode () | |
Private Member Functions | |
void | applyInitialPose () |
void | checkLaserReceived (const ros::TimerEvent &event) |
map_t * | convertMap (const nav_msgs::OccupancyGrid &map_msg) |
void | freeMapDependentMemory () |
bool | getOdomPose (tf::Stamped< tf::Pose > &pose, double &x, double &y, double &yaw, const ros::Time &t, const std::string &f) |
double | getYaw (tf::Pose &t) |
bool | globalLocalizationCallback (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res) |
void | handleInitialPoseMessage (const geometry_msgs::PoseWithCovarianceStamped &msg) |
void | handleMapMessage (const nav_msgs::OccupancyGrid &msg) |
void | initialPoseReceived (const geometry_msgs::PoseWithCovarianceStampedConstPtr &msg) |
void | laserReceived (const sensor_msgs::LaserScanConstPtr &laser_scan) |
void | mapReceived (const nav_msgs::OccupancyGridConstPtr &msg) |
bool | nomotionUpdateCallback (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res) |
void | reconfigureCB (amcl::AMCLConfig &config, uint32_t level) |
void | requestMap () |
bool | setMapCallback (nav_msgs::SetMap::Request &req, nav_msgs::SetMap::Response &res) |
void | updatePoseFromServer () |
Static Private Member Functions | |
static pf_vector_t | uniformPoseGenerator (void *arg) |
Static Private Attributes | |
static std::vector< std::pair< int, int > > | free_space_indices |
Definition at line 110 of file amcl_node.cpp.
AmclNode::AmclNode | ( | ) |
Definition at line 327 of file amcl_node.cpp.
AmclNode::~AmclNode | ( | ) |
Definition at line 961 of file amcl_node.cpp.
|
private |
If initial_pose_hyp_ and map_ are both non-null, apply the initial pose to the particle filter state. initial_pose_hyp_ is deleted and set to NULL after it is used.
Definition at line 1546 of file amcl_node.cpp.
|
private |
Definition at line 783 of file amcl_node.cpp.
|
private |
Convert an OccupancyGrid map message into the internal representation. This allocates a map_t and returns it.
Definition at line 935 of file amcl_node.cpp.
|
private |
Definition at line 914 of file amcl_node.cpp.
|
private |
Definition at line 973 of file amcl_node.cpp.
|
private |
Definition at line 1450 of file amcl_node.cpp.
|
private |
Definition at line 1037 of file amcl_node.cpp.
|
private |
Definition at line 1464 of file amcl_node.cpp.
|
private |
Definition at line 825 of file amcl_node.cpp.
|
private |
Definition at line 1458 of file amcl_node.cpp.
|
private |
Definition at line 1073 of file amcl_node.cpp.
|
private |
Definition at line 813 of file amcl_node.cpp.
|
private |
Definition at line 1054 of file amcl_node.cpp.
int AmclNode::process | ( | ) |
|
private |
Definition at line 479 of file amcl_node.cpp.
|
private |
Definition at line 795 of file amcl_node.cpp.
void AmclNode::runFromBag | ( | const std::string & | in_bag_fn, |
bool | trigger_global_localization = false |
||
) |
Uses TF and LaserScan messages from bag file to drive AMCL instead.
in_bag_fn | input bagfile |
trigger_global_localization | whether to trigger global localization before starting to process the bagfile |
Definition at line 625 of file amcl_node.cpp.
void AmclNode::savePoseToServer | ( | ) |
Definition at line 718 of file amcl_node.cpp.
|
private |
Definition at line 1063 of file amcl_node.cpp.
|
staticprivate |
Definition at line 999 of file amcl_node.cpp.
|
private |
Definition at line 740 of file amcl_node.cpp.
|
private |
Definition at line 206 of file amcl_node.cpp.
|
private |
Definition at line 255 of file amcl_node.cpp.
|
private |
Definition at line 255 of file amcl_node.cpp.
|
private |
Definition at line 255 of file amcl_node.cpp.
|
private |
Definition at line 255 of file amcl_node.cpp.
|
private |
Definition at line 255 of file amcl_node.cpp.
|
private |
Definition at line 256 of file amcl_node.cpp.
|
private |
Definition at line 256 of file amcl_node.cpp.
|
private |
Definition at line 222 of file amcl_node.cpp.
|
private |
Definition at line 177 of file amcl_node.cpp.
|
private |
Definition at line 260 of file amcl_node.cpp.
|
private |
Definition at line 260 of file amcl_node.cpp.
|
private |
Definition at line 260 of file amcl_node.cpp.
|
private |
Definition at line 252 of file amcl_node.cpp.
|
private |
Definition at line 218 of file amcl_node.cpp.
|
private |
Definition at line 249 of file amcl_node.cpp.
|
private |
Definition at line 206 of file amcl_node.cpp.
|
private |
Definition at line 251 of file amcl_node.cpp.
|
private |
Definition at line 259 of file amcl_node.cpp.
|
private |
Definition at line 250 of file amcl_node.cpp.
|
private |
Definition at line 181 of file amcl_node.cpp.
|
private |
Definition at line 246 of file amcl_node.cpp.
|
private |
Definition at line 247 of file amcl_node.cpp.
|
private |
Definition at line 199 of file amcl_node.cpp.
|
staticprivate |
Definition at line 147 of file amcl_node.cpp.
|
private |
Definition at line 178 of file amcl_node.cpp.
|
private |
Definition at line 239 of file amcl_node.cpp.
|
private |
Definition at line 183 of file amcl_node.cpp.
|
private |
Definition at line 264 of file amcl_node.cpp.
|
private |
Definition at line 263 of file amcl_node.cpp.
|
private |
Definition at line 245 of file amcl_node.cpp.
|
private |
Definition at line 196 of file amcl_node.cpp.
|
private |
Definition at line 242 of file amcl_node.cpp.
|
private |
Definition at line 257 of file amcl_node.cpp.
|
private |
Definition at line 216 of file amcl_node.cpp.
|
private |
Definition at line 272 of file amcl_node.cpp.
|
private |
Definition at line 261 of file amcl_node.cpp.
|
private |
Definition at line 210 of file amcl_node.cpp.
|
private |
Definition at line 209 of file amcl_node.cpp.
|
private |
Definition at line 265 of file amcl_node.cpp.
|
private |
Definition at line 195 of file amcl_node.cpp.
|
private |
Definition at line 194 of file amcl_node.cpp.
|
private |
Definition at line 197 of file amcl_node.cpp.
|
private |
Definition at line 198 of file amcl_node.cpp.
|
private |
Definition at line 219 of file amcl_node.cpp.
|
private |
Definition at line 271 of file amcl_node.cpp.
|
private |
Definition at line 187 of file amcl_node.cpp.
|
private |
Definition at line 174 of file amcl_node.cpp.
|
private |
Definition at line 140 of file amcl_node.cpp.
|
private |
Definition at line 141 of file amcl_node.cpp.
|
private |
Definition at line 213 of file amcl_node.cpp.
|
private |
Definition at line 189 of file amcl_node.cpp.
|
private |
Definition at line 243 of file amcl_node.cpp.
|
private |
Definition at line 190 of file amcl_node.cpp.
|
private |
Definition at line 254 of file amcl_node.cpp.
|
private |
Definition at line 254 of file amcl_node.cpp.
|
private |
Definition at line 254 of file amcl_node.cpp.
|
private |
Definition at line 235 of file amcl_node.cpp.
|
private |
Definition at line 240 of file amcl_node.cpp.
|
private |
Definition at line 215 of file amcl_node.cpp.
|
private |
Definition at line 171 of file amcl_node.cpp.
|
private |
Definition at line 262 of file amcl_node.cpp.
|
private |
Definition at line 238 of file amcl_node.cpp.
|
private |
Definition at line 202 of file amcl_node.cpp.
|
private |
Definition at line 203 of file amcl_node.cpp.
|
private |
Definition at line 204 of file amcl_node.cpp.
|
private |
Definition at line 205 of file amcl_node.cpp.
|
private |
Definition at line 203 of file amcl_node.cpp.
|
private |
Definition at line 237 of file amcl_node.cpp.
|
private |
Definition at line 236 of file amcl_node.cpp.
|
private |
Definition at line 208 of file amcl_node.cpp.
|
private |
Definition at line 207 of file amcl_node.cpp.
|
private |
Definition at line 192 of file amcl_node.cpp.
|
private |
Definition at line 184 of file amcl_node.cpp.
|
private |
Definition at line 185 of file amcl_node.cpp.
|
private |
Definition at line 267 of file amcl_node.cpp.
|
private |
Definition at line 138 of file amcl_node.cpp.
|
private |
Definition at line 241 of file amcl_node.cpp.
|
private |
Definition at line 257 of file amcl_node.cpp.
|
private |
Definition at line 191 of file amcl_node.cpp.
|
private |
Definition at line 191 of file amcl_node.cpp.
|
private |
Definition at line 136 of file amcl_node.cpp.
|
private |
Definition at line 266 of file amcl_node.cpp.
|
private |
Definition at line 128 of file amcl_node.cpp.
|
private |
Definition at line 233 of file amcl_node.cpp.
|
private |
Definition at line 180 of file amcl_node.cpp.
|
private |
Definition at line 257 of file amcl_node.cpp.
|
private |
Definition at line 257 of file amcl_node.cpp.
|
private |
Definition at line 257 of file amcl_node.cpp.
|
private |
Definition at line 257 of file amcl_node.cpp.