Open Ryanf55 opened 1 month ago
a camera frustum was displayed as part of the gazebo-classic CameraVisual (see screenshots from the camera distortion tutorial), but it's size wasn't based on the actual field of view (see hard-coded parameters in CameraVisual.cc)
From a brief discussion with @iche033, it shouldn't be too hard to render a frustum for the camera, though it would be more involved to render camera images in a frame at the end of the frustum as was done in gazebo-classic
From a brief discussion with @iche033, it shouldn't be too hard to render a frustum for the camera, though it would be more involved to render camera images in a frame at the end of the frustum as was done in gazebo-classic
more from @iche033:
gz::rendering::CameraVisual
objectgz::rendering::CameraVisual
objectrelated: a feature request for camera image visualization https://github.com/gazebosim/gz-sensors/issues/427
Desired behavior
Implement a way to display the camera frustum and also paint the DEM terrain where the camera is facing.
This is useful for simulation of aerial vehicles with downward facing cameras or other directional sensors.
Alternatives considered
Implementation suggestion
Examples
Additional context