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 1658 of file MultiSenseTypes.hh.

Constructor & Destructor Documentation

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

Definition at line 1668 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 1666 of file MultiSenseTypes.hh.


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


multisense_lib
Author(s):
autogenerated on Sat Apr 6 2019 02:16:47