Set or get pitch angle of camera for satellite scenario viewer
When the pitch angle is near –90 (the default value) or 90 degrees, the camera loses one rotational degree of freedom. As a result, when you change the roll angle, the heading angle might change instead. This phenomenon is calledgimbal lock. To avoid the effects of gimbal lock, call thecamheading
function instead of thecamroll
function.
[1]Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks®.