I am trying to get sensor timestamp with the following code:
let timestamp = req.controls().get::<libcamera::controls::SensorTimestamp>().expect("Failed to get sensor timestamp");
This works on PC, while it errors out with a ControlError::NotFound(C::ID)
error. Error message:
thread '<unnamed>' panicked at src/input_generator/libcamera.rs:243:26:
Failed to get sensor timestamp: NotFound(32)
This make me thinking of how the number 32 is generated and if raspberry pi's libcamera build have a different index of it.
I would be greatly appreciative for any ideas and directions I can dig in.
Thanks,
Han