I want to create a custom guidance mode based on the TrajectoryFcamMode class, that changes the zoom level of the front camera.
However, I cannot figure out what is necessary to set the zoom level.
Neither setting the member mFcamZoom
nor directly changing it using getOutput()->mFrontCamZoom.set_position
has the desired effect.
I am also setting the zoom control mode to POSITION
.
Setting the camera orientation using getOutput()->mFrontCamReference.mutable_yaw()->set_position
does work.
I am testing the guidance mode using the Sphinx simulator.
Is there any additional configuration necessary to set the zoom level?
Additionally, what is the allowed range of values for the zoom position?