5yler / metatron

Autonomous Power Racing Series Racecar - ROS Metapackage
4 stars 2 forks source link

Create new LaserScan angle filter for inverted lasers #19

Closed 5yler closed 7 years ago

5yler commented 7 years ago

The laser_filters package LaserScanAngularBoundsFilter implementation allows filtering between a lower_angle and upper_angle value, but assumes lower_angle < upper_angle.

This doesn't work with the RPLIDAR if rotated 180 degrees, since angle_min = -pi and angle_max = pi and the points we want to keep for the forward facing 180 degrees would lie on the two intervals [-pi, -pi/2] and [pi/2, pi]

Tasks

5yler commented 7 years ago

This is done. Some follow-up tasks remain.

5yler commented 7 years ago

I think this is done, the forward facing scan for both LIDARs displays correctly in RViz, and the RPLIDAR scan gives correct outputs in the drive script.