Go to the documentation of this file.
16 #ifndef PSEN_SCAN_V2_STANDALONE_LASERSCAN_H
17 #define PSEN_SCAN_V2_STANDALONE_LASERSCAN_H
58 const uint32_t scan_counter,
59 const uint8_t active_zoneset,
65 [[deprecated(
"use const util::TenthOfDegree& scanResolution() const instead")]]
const util::TenthOfDegree&
70 [[deprecated(
"use const util::TenthOfDegree& minScanAngle() const instead")]]
const util::TenthOfDegree&
75 [[deprecated(
"use const util::TenthOfDegree& maxScanAngle() const instead")]]
const util::TenthOfDegree&
80 [[deprecated(
"use uint32_t scanCounter() const instead")]] uint32_t
getScanCounter()
const;
84 [[deprecated(
"use uint8_t activeZoneset() const instead")]] uint8_t
getActiveZoneset()
const;
88 [[deprecated(
"use int64_t timestamp() const instead")]] int64_t
getTimestamp()
const;
92 [[deprecated(
"use const MeasurementData& measurements() const instead")]]
const MeasurementData&
101 [[deprecated(
"use void measurements(const MeasurementData& measurements) instead")]]
void
112 [[deprecated(
"use void intensities(const IntensityData& intensities)) instead")]]
void
117 [[deprecated(
"use const IOData& ioStates() const instead")]]
const IOData&
getIOStates()
const;
121 [[deprecated(
"use void ioStates(const IOData& io_states) instead")]]
void setIOStates(
const IOData& io_states);
151 #endif // PSEN_SCAN_V2_STANDALONE_LASERSCAN_H
const util::TenthOfDegree & maxScanAngle() const
const int64_t timestamp_
Time of the first ray in this scan round (or fragment if fragmented_scans is enabled).
const util::TenthOfDegree min_scan_angle_
Lowest angle the scanner is scanning.
const util::TenthOfDegree resolution_
Distance of angle between the measurements.
configuration::ScannerId scannerId() const
const util::TenthOfDegree max_scan_angle_
Highest angle the scanner is scanning.
void setIOStates(const IOData &io_states)
configuration::ScannerId scanner_id_
distinction between master and subscribers
uint32_t scanCounter() const
LaserScan(const util::TenthOfDegree &resolution, const util::TenthOfDegree &min_scan_angle, const util::TenthOfDegree &max_scan_angle, const uint32_t scan_counter, const uint8_t active_zoneset, const int64_t timestamp, const configuration::ScannerId scanner_id)
std::vector< double > MeasurementData
int64_t getTimestamp() const
const IOData & ioStates() const
const MeasurementData & getMeasurements() const
const util::TenthOfDegree & getMinScanAngle() const
const uint32_t scan_counter_
Number of the scan round this data belongs to.
std::vector< IOState > IOData
void setIntensities(const IntensityData &intensities)
const uint8_t active_zoneset_
The currently active zoneset of the scanner.
uint32_t getScanCounter() const
IntensityData intensities_
Stores the received normalized signal intensities.
const util::TenthOfDegree & scanResolution() const
MeasurementData measurements_
Measurement data of the laserscan (in Millimeters).
uint8_t getActiveZoneset() const
void setMeasurements(const MeasurementData &measurements)
const IntensityData & intensities() const
IOData io_states_
States of the I/O pins.
int64_t timestamp() const
This class represents a single laser scan in the <tf_prefix> target frame.
Root namespace in which the software components to communicate with the scanner (firmware-version: 2)...
const util::TenthOfDegree & getScanResolution() const
const util::TenthOfDegree & getMaxScanAngle() const
const MeasurementData & measurements() const
const IntensityData & getIntensities() const
uint8_t activeZoneset() const
std::ostream & operator<<(std::ostream &os, const PinState &pin_state)
Helper class representing angles in tenth of degree.
std::vector< double > IntensityData
const util::TenthOfDegree & minScanAngle() const
const IOData & getIOStates() const
psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Jun 22 2024 02:46:11