Skip to main content

AVxcelerate Sensors Simulator API 2025 R1

vss::lighting_system_control::LightingSystemControl Class Reference

Last update: 14.01.2025

Lighting System Control Service. More...

Public Member Functions

vss::Status Set (LightingSystemState)
 
TimeStampedLightingSystemState Get (LightingSystemName)
 

Detailed Description

Lighting System Control Service.

This service is used to retrieve and update the position and orientation of each projector and module contained in a lighting system, and the flux and light functions of each lamp contained in a module.

Note
Any changes will be applied to the simulation on the next remote procedure call to the Update method of the Simulation service.

Member Function Documentation

◆ Set()

vss::Status vss::lighting_system_control::LightingSystemControl::Set ( LightingSystemState  )

Updates the power of the lamps for a given set of projector/module/lamps.

Returns an error if any of the identities (lighting system/projector/module /lamp) do not exist.

Does not change the value of a lamp if it is present in the loaded projector but not in the ProjectorState message. This procedure sends the new flux values to be applied. They will be applied at the next call of the Simulation Service Update remote procedure. A successful vss.Status return means that the LightingSystemState message is valid and will be applied.

◆ Get()

TimeStampedLightingSystemState vss::lighting_system_control::LightingSystemControl::Get ( LightingSystemName  )

Returns the LightingSystemState of the lighting system that has a lighting_system_name matching the name given as argument.


The documentation for this class was generated from the following file:
  • lighting_system_control.proto

Connect with Ansys