OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
hardware_io.camera.camera_controls_if.CameraControlsIf Class Reference

Apply and restore camera hardware profiles. More...

Inheritance diagram for hardware_io.camera.camera_controls_if.CameraControlsIf:
hardware_io.camera.v4l2_camera_controls.V4L2CameraProfileController

Public Member Functions

CameraProfile|None current_profile (self)
 Return the most recently applied profile.
 
None apply (self, CameraProfile profile)
 Apply a hardware profile.
 
None invalidate (self)
 Forget cached profile state after the device changes.
 
None restore_day_defaults (self)
 Restore the conservative daytime hardware profile.
 

Detailed Description

Apply and restore camera hardware profiles.

Member Function Documentation

◆ apply()

None hardware_io.camera.camera_controls_if.CameraControlsIf.apply (   self,
CameraProfile  profile 
)

Apply a hardware profile.

Parameters
profileHardware profile to apply.

Reimplemented in hardware_io.camera.v4l2_camera_controls.V4L2CameraProfileController.

◆ current_profile()

CameraProfile | None hardware_io.camera.camera_controls_if.CameraControlsIf.current_profile (   self)

Return the most recently applied profile.

Returns
Current profile, or None when hardware state is unknown.

Reimplemented in hardware_io.camera.v4l2_camera_controls.V4L2CameraProfileController.


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