1 #ifndef SELF_LOCALIZER_H 2 #define SELF_LOCALIZER_H 8 #include <nav_msgs/OccupancyGrid.h> 9 #include <geometry_msgs/PoseArray.h> 10 #include <sensor_msgs/LaserScan.h> 29 LaserData(
const sensor_msgs::LaserScan::ConstPtr& scan);
49 void convertMap(
const nav_msgs::OccupancyGrid& map_msg);
51 void process(
const sensor_msgs::LaserScan::ConstPtr& scan);
53 double getCovariance();
61 void publishParticleCloud();
71 static double sAlpha1, sAlpha2, sAlpha3,
sAlpha4;
OdometryData(const tf::StampedTransform &pNewPose, const tf::StampedTransform &pLastPose)
double(* pf_sensor_model_fn_t)(void *sensor_data, struct _pf_sample_set_t *set)
pf_action_model_fn_t mActionModelFunction
static pf_vector_t sLaserPose
ROSCONSOLE_DECL void initialize()
tf::StampedTransform getMapToOdometry()
std::string mOdometryFrame
ros::Publisher mParticlePublisher
static double sLikelihoodMaxDist
tf::Transform mMapToOdometry
tf::TransformListener mTransformListener
void(* pf_action_model_fn_t)(void *action_data, struct _pf_sample_set_t *set)
pf_sensor_model_fn_t mSensorModelFunction
static tf::StampedTransform mLastPose
static double sLamdaShort