Class RobosenseInfoDecoderBase
Defined in File robosense_info_decoder_base.hpp
Inheritance Relationships
Derived Type
public nebula::drivers::RobosenseInfoDecoder< SensorT >(Template Class RobosenseInfoDecoder)
Class Documentation
-
class RobosenseInfoDecoderBase
Subclassed by nebula::drivers::RobosenseInfoDecoder< SensorT >
Public Functions
-
RobosenseInfoDecoderBase(RobosenseInfoDecoderBase &&c) = delete
-
RobosenseInfoDecoderBase &operator=(RobosenseInfoDecoderBase &&c) = delete
-
RobosenseInfoDecoderBase(const RobosenseInfoDecoderBase &c) = delete
-
RobosenseInfoDecoderBase &operator=(const RobosenseInfoDecoderBase &c) = delete
-
virtual ~RobosenseInfoDecoderBase() = default
-
RobosenseInfoDecoderBase() = default
-
virtual bool parse_packet(const std::vector<uint8_t> &raw_packet) = 0
Parses DIFOP and add its telemetry.
- Parameters:
raw_packet – The incoming DIFOP packet
- Returns:
Whether the packet was parsed successfully
-
virtual std::map<std::string, std::string> get_sensor_info() = 0
Get the sensor telemetry.
- Returns:
The sensor telemetry
-
virtual ReturnMode get_return_mode() = 0
Get the laser return mode.
- Returns:
The laser return mode
-
virtual RobosenseCalibrationConfiguration get_sensor_calibration() = 0
Get sensor calibration.
- Returns:
The sensor calibration
-
virtual bool get_sync_status() = 0
Get the status of time synchronization.
- Returns:
True if the sensor’s clock is synchronized
-
RobosenseInfoDecoderBase(RobosenseInfoDecoderBase &&c) = delete