Apply repeatable hardware profiles through v4l2-ctl. More...
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 is reopened or reset. | |
| None | restore_day_defaults (self) |
| Return the camera to the conservative daytime hardware profile. | |
Apply repeatable hardware profiles through v4l2-ctl.
The profile values target the USB camera validated for OpenRoadCode. Although the device advertises exposure_time_absolute, it reports that control inactive and rejects writes while streaming. Low-light mode therefore leaves exposure automatic and uses supported gain, gamma, and backlight controls instead.
| None hardware_io.camera.v4l2_camera_controls.V4L2CameraProfileController.apply | ( | self, | |
| CameraProfile | profile | ||
| ) |
Apply a hardware profile.
| profile | Hardware profile to apply. |
Reimplemented from hardware_io.camera.camera_controls_if.CameraControlsIf.
| CameraProfile | None hardware_io.camera.v4l2_camera_controls.V4L2CameraProfileController.current_profile | ( | self | ) |
Return the most recently applied profile.
Reimplemented from hardware_io.camera.camera_controls_if.CameraControlsIf.