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 attachements 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(7200);
//
// 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 1782 of file MultiSenseTypes.hh.

Constructor & Destructor Documentation

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

Definition at line 1792 of file MultiSenseTypes.hh.

Member Data Documentation

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 attachement. This value ranges between 0 and 100

Definition at line 1790 of file MultiSenseTypes.hh.


The documentation for this class was generated from the following file:


multisense_lib
Author(s):
autogenerated on Sun Mar 14 2021 02:34:50