Public Member Functions | Public Attributes | List of all members
crl::multisense::lighting::SensorStatus Class Reference

#include <MultiSenseTypes.hh>

Public Member Functions

 SensorStatus ()
 

Public Attributes

float ambientLightPercentage
 

Detailed Description

A external sensor status. This is only supported by external LED attachments for S21 devices

Example code to query the lighting sensor status :

//
// Instantiate a channel connecting to a sensor at the factory default
// IP address
channel = crl::multisense::Channel::Create("10.66.171.21");
channel->setMtu(1500);
//
// Create a lightingConfig instance to store our queried lighting configuration
//
// Query the lighting configuration from the Channel instance
crl::multisense::Status status = channel->getLightingSensorStatus(lightingSensors);
//
// Check to see if the lighting sensor query was successful
throw std::runtime_error("Unable to query lighting sensor status");
}
//
// Use the lighting sensor status...
//
// Destroy the channel instance

Definition at line 2534 of file Legacy/include/MultiSense/MultiSenseTypes.hh.

Constructor & Destructor Documentation

◆ SensorStatus()

crl::multisense::lighting::SensorStatus::SensorStatus ( )
inline

Member Data Documentation

◆ ambientLightPercentage

float crl::multisense::lighting::SensorStatus::ambientLightPercentage

This represents the percentage of light the ambient sensor currently sees. External ambient sensors are only available on S21 units with the external lighting attachment. This value ranges between 0 and 100

Definition at line 2542 of file Legacy/include/MultiSense/MultiSenseTypes.hh.


The documentation for this class was generated from the following file:
crl::multisense::Status_Ok
static CRL_CONSTEXPR Status Status_Ok
Definition: Legacy/include/MultiSense/MultiSenseTypes.hh:99
crl::multisense::lighting::SensorStatus
Definition: Legacy/include/MultiSense/MultiSenseTypes.hh:2534
crl::multisense::Channel::Destroy
static void Destroy(Channel *instanceP)
Definition: Legacy/details/channel.cc:863
crl::multisense::Channel::setMtu
virtual Status setMtu(int32_t mtu)=0
crl::multisense::Channel::getLightingSensorStatus
virtual Status getLightingSensorStatus(lighting::SensorStatus &status)=0
crl::multisense::Channel::Create
static Channel * Create(const std::string &sensorAddress)
Definition: Legacy/details/channel.cc:817
crl::multisense::Status
int32_t Status
Definition: Legacy/include/MultiSense/MultiSenseTypes.hh:94
crl::multisense::Channel
Definition: Legacy/include/MultiSense/MultiSenseChannel.hh:69


multisense_lib
Author(s):
autogenerated on Thu Apr 17 2025 02:49:10