/home/runner/work/beluga/beluga/beluga_ros/include/beluga_ros/laser_scan.hpp Source File#
Beluga ROS
|
laser_scan.hpp
Go to the documentation of this file.
70 return ranges::views::iota(0, static_cast<int>(scan_->ranges.size())) | beluga::views::take_evenly(max_beams_) |
Thin wrapper type for 2D sensor_msgs/LaserScan messages.
Definition: laser_scan.hpp:36
const auto & origin() const
Get the laser scan frame origin in the filter frame.
Definition: laser_scan.hpp:66
auto min_range() const
Get the minimum range measurement.
Definition: laser_scan.hpp:86
LaserScan(sensor_msgs::msg::LaserScan::ConstSharedPtr scan, Sophus::SE3d origin=Sophus::SE3d(), std::size_t max_beams=std::numeric_limits< std::size_t >::max(), Scalar min_range=std::numeric_limits< Scalar >::min(), Scalar max_range=std::numeric_limits< Scalar >::max())
Definition: laser_scan.hpp:51
auto max_range() const
Get the maximum range measurement.
Definition: laser_scan.hpp:89
std::size_t size() const
Get the number of beams in the scan.
Definition: laser_scan.hpp:83
auto ranges() const
Get laser scan range measurements as a range.
Definition: laser_scan.hpp:77
auto angles() const
Get laser scan measurement angles as a range.
Definition: laser_scan.hpp:69
Generated by