Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

It should be possible to do it from a GUI plugin. Just get the user camera:

rendering::UserCameraPtr camera = gazebo::gui::get_active_camera();

And set the new clip distances:

camera->SetClipDist(near, far);