Adds support for light sensors to the KIPR Simulator. Note that an arbitrary light sensor is currently placed on the Wombat. This will need to be updated before merge with the appropriate KIPR-defined location.
A LightSensor node may be attached to any analog port on the robot, just like other sensors. It is omnidirectional but occlusion aware via ray tracing. The light sensor is calibrated based on KIPR-provided calibration data. Noise is supported, but the sensor always behaves "realistically".
A new scene called lightSensorTest has been added that randomly flickers two lights every second.
Details
Adds support for light sensors to the KIPR Simulator. Note that an arbitrary light sensor is currently placed on the Wombat. This will need to be updated before merge with the appropriate KIPR-defined location.
A
LightSensor
node may be attached to any analog port on the robot, just like other sensors. It is omnidirectional but occlusion aware via ray tracing. The light sensor is calibrated based on KIPR-provided calibration data. Noise is supported, but the sensor always behaves "realistically".A new scene called
lightSensorTest
has been added that randomly flickers two lights every second.Video
https://user-images.githubusercontent.com/96179/217894403-10edd34a-a9cc-4649-adda-4370364a9375.mov