In addition to the simulation of the cameras belonging to the real drone, Parrot Sphinx offers extra types of cameras, which leverage the availability of the ground truth.
Depth disparity, and distance cameras#
The simulated ANAFI Ai comes with one depth camera, one disparity camera, and one distance camera, both being located at the same place as the right stereo camera.
They produce ideal depth, disparity, and distance values.
They are highly configurable (see HERE) so that you can adjust the quantification error over the computed value and add different kinds of noise. Unlike the others, the distance camera can be configured as a wide-angle camera (see HERE).
Note that objects that use translucent materials are configured to be seen by these cameras.
Optical flow camera#
This camera generates images that contain the motion [X, Y] of each pixel with respect to the previous frame. The motion is expressed in a decimal number of pixels of the image.
Description of related parameters can be found HERE.
The computed motion only takes into account the change of camera position in between two consecutive frames. Therefore animations of foliage and movements of actors (such as vehicles) are ignored.
While it is possible to mask pixel motion for pixels that were not in the field of view in the previous frame, pixels that were hidden by a foreground object cannot be masked.
This camera is presented in this dedicated section.