mushr_pf: Particle Filter

October 10, 2020 ยท View on GitHub

Build Status

mushr_pf: Particle Filter

Particle filter (pf) for localization using the laser scanner. The pf requires a map and laser scan.

Authors: Lirui Wang Joseph Shieh Chi-Heng Hung Nansong Yi

Install

Note: If you are not using the default MuSHR image then you will need to install rangelibc.

Clone repo: cd ~/catkin_ws/src/ && git clone git@github.com:prl-mushr/mushr_pf.git

Running the PF

For real car: roslaunch mushr_pf real.launch
For sim: roslaunch mushr_pf sim.launch

See this tutorial for more information.

API

Parameters can be changed in config/params.yaml

Publishers

TopicTypeDescription
/car/pf/inferred_posegeometry_msgs/PoseStampedParticle filter pose estimate
/car/pf/viz/particlesgeometry_msgs/PoseArrayPartilcle array. Good for debugging
/car/pf/viz/laserposegeometry_msgs/PoseArrayPose fo the laser

Subscribers

TopicTypeDescription
/mapnav_msgs/OccupancyGridMap the robot is in
/car/scansensor_msgs/LaserScanCurrent laserscan
/car/vesc/sensors/servo_position_commandstd_msgs/Float64Current steering angle
/car/vesc/sensors/corevesc_msgs/VescStateStampedCurrent speed