Higher level data type storing the range in which the scanner takes measurements. More...
#include <scan_range.h>
Public Member Functions | |
const util::TenthOfDegree & | end () const |
const util::TenthOfDegree & | getEnd () const |
const util::TenthOfDegree & | getStart () const |
constexpr | ScanRangeTemplated (const util::TenthOfDegree &start_angle, const util::TenthOfDegree &end_angle) |
Constructor. More... | |
const util::TenthOfDegree & | start () const |
Static Public Member Functions | |
static constexpr ScanRangeTemplated< min_allowed_angle, max_allowed_angle > | createInvalidScanRange () |
Private Member Functions | |
ScanRangeTemplated ()=default | |
Private Attributes | |
util::TenthOfDegree | end_angle_ { 0 } |
util::TenthOfDegree | start_angle_ { 0 } |
Higher level data type storing the range in which the scanner takes measurements.
A ScanRange is given by a start- and an end-angle, which are represented in TenthOfDegree.
Definition at line 31 of file scan_range.h.
constexpr psen_scan_v2_standalone::ScanRangeTemplated< min_angle_raw, max_angle_raw >::ScanRangeTemplated | ( | const util::TenthOfDegree & | start_angle, |
const util::TenthOfDegree & | end_angle | ||
) |
Constructor.
start_angle | Start angle of measurement (scanner-zero = zero on the left). |
end_angle | End angle of measurement. Closed interval. (End angle included.) |
Definition at line 64 of file scan_range.h.
|
privatedefault |
|
static |
Definition at line 88 of file scan_range.h.
const util::TenthOfDegree & psen_scan_v2_standalone::ScanRangeTemplated< min_angle, max_angle >::end | ( | ) | const |
Definition at line 100 of file scan_range.h.
const util::TenthOfDegree & psen_scan_v2_standalone::ScanRangeTemplated< min_angle, max_angle >::getEnd | ( | ) | const |
deprecated: use const util::TenthOfDegree& end() const instead
Definition at line 112 of file scan_range.h.
const util::TenthOfDegree & psen_scan_v2_standalone::ScanRangeTemplated< min_angle, max_angle >::getStart | ( | ) | const |
deprecated: use const util::TenthOfDegree& start() const instead
Definition at line 106 of file scan_range.h.
const util::TenthOfDegree & psen_scan_v2_standalone::ScanRangeTemplated< min_angle, max_angle >::start | ( | ) | const |
Definition at line 94 of file scan_range.h.
|
private |
Definition at line 60 of file scan_range.h.
|
private |
Definition at line 59 of file scan_range.h.