onboardapi  9.10.0
by Rheinmetall
M_LaserRangeFinder::IService Class Reference
Inheritance diagram for M_LaserRangeFinder::IService:
M_Sensor::IService

Public Member Functions

virtual ~IService ()
 
virtual void CmdMultiFireLaser (bool IsActivated)
 
virtual void CmdSingleFireLaser ()
 Cmd to fire a single shot with the laser. More...
 
virtual void ConfigSetFirstOrLastMeasurement (M_LaserRangeFinder::FirstOrLast::Type StrongestMeasurement)
 
virtual void ConfigSetUserRange (M_Common::DistanceMetersOptionalType const &MinimumRange, M_Common::DistanceMetersOptionalType const &MaximumRange)
 
virtual void ConfigInhibitLaserFiring (M_Common::ObjectIdType const &KeyComponentId, bool IsRemoved)
 
virtual void ConfigMultiFireFrequency (M_Common::FrequencyHertzType Frequency)
 
- Public Member Functions inherited from M_Sensor::IService
virtual void CmdIsSensorAlive ()
 
virtual void CmdDeleteTracks (M_Common::ObjectIdListType const &KeyIdList)
 
virtual void CmdDeleteAllTracks ()
 
virtual void CmdDeactivateSensor (bool Deactivate)
 
virtual void ConfigSensorCoverage (M_Common::ObjectIdType const &KeyId, M_Sensor::SensorCoverageType const &Coverage, bool IsRemoved)
 
virtual void CmdSetPreset (M_Common::ObjectIdOptionalType const &Preset)
 
virtual void CmdLockOnTracks (M_Common::ObjectIdListType const &KeyIdList)
 

Detailed Description

Laser Range Finder Service (LRF) interface. Contains operations that a Client can use to control the Laser Range Finder Service.

Constructor & Destructor Documentation

◆ ~IService()

M_LaserRangeFinder::IService::~IService ( )
virtual

Reimplemented from M_Sensor::IService.

Member Function Documentation

◆ CmdMultiFireLaser()

void M_LaserRangeFinder::IService::CmdMultiFireLaser ( bool  IsActivated)
virtual

Cmd to start (true) or stop (false) the measurement of the laser in pulse mode.

Parameters
IsActivatedIndicates if pulse mode firing should be started (true) or stopped (false). True = Start firing laser False = Stop firing laser

◆ CmdSingleFireLaser()

void M_LaserRangeFinder::IService::CmdSingleFireLaser ( )
virtual

Cmd to fire a single shot with the laser.

◆ ConfigInhibitLaserFiring()

void M_LaserRangeFinder::IService::ConfigInhibitLaserFiring ( M_Common::ObjectIdType const &  KeyComponentId,
bool  IsRemoved 
)
virtual

Configure to set or remove the interlock that prevents the accidental firing of the laser.

Parameters
KeyComponentIdIdentifies the component responsible for the laser firing or blocking.
IsRemovedIndicates if firing should be enabled (true) or inhibited (false). True = Enable firing by removing the interlock that prevents the accidental firing of the laser. False = Inhibit firing by setting the interlock that prevents the accidental firing of the laser.

◆ ConfigMultiFireFrequency()

void M_LaserRangeFinder::IService::ConfigMultiFireFrequency ( M_Common::FrequencyHertzType  Frequency)
virtual

Configure the frequency of multi firing laser.

Parameters
FrequencyFrequency in Hz.

◆ ConfigSetFirstOrLastMeasurement()

void M_LaserRangeFinder::IService::ConfigSetFirstOrLastMeasurement ( M_LaserRangeFinder::FirstOrLast::Type  StrongestMeasurement)
virtual

Indicate whether the first or the last range returned contains the strongest measurement.

Parameters
StrongestMeasurementIndicate if the first range returned contains the strongest measurement or if the last measurement returned is the strongest measurement.

◆ ConfigSetUserRange()

void M_LaserRangeFinder::IService::ConfigSetUserRange ( M_Common::DistanceMetersOptionalType const &  MinimumRange,
M_Common::DistanceMetersOptionalType const &  MaximumRange 
)
virtual

Sets the user defined minimum and maximum range. Note: Additionally the LRF has a minimum and maximum range that is defined by the settings.

Parameters
MinimumRangeThe user defined minimum range. This range may differ from the device minimum range. Note: In case the user defined minimum range is lower than the device minimum range, the device minimum range is used. Not present indicates that the user minimum range is disabled.
MaximumRangeThe user defined maximum range. This range may differ from the device maximum range. Note: In case the user defined maximum range is higher than the device maximum range, the device maximum range is used. Not present indicates that the user maximum range is disabled.