Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the clipping distance for the UserCamera #2064

Open
osrf-migration opened this issue Oct 6, 2016 · 6 comments
Open

Changing the clipping distance for the UserCamera #2064

osrf-migration opened this issue Oct 6, 2016 · 6 comments
Labels
enhancement New feature or request gui major

Comments

@osrf-migration
Copy link

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


The clipping distances for camera sensors can be changed via sdf parameters, but I don't see any way to change the clipping distances for the UserCamera. It would be nice to be able to set this from gzclient or from the <gui> element in a world file.

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • changed state from "new" to "open"

I'll take this on.

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • set assignee_account_id to "557058:095b1e12-74ed-4e20-b44f-2f0745b616e0"
  • set assignee to "nkoenig (Bitbucket: nkoenig, GitHub: nkoenig)"

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


gui interface added in pull request #2470

@osrf-migration
Copy link
Author

Original comment by Shane Loretz (Bitbucket: Shane Loretz, GitHub: sloretz).


pull request #2470 has been merged. Should this issue be resolved? What work is left to do?

@osrf-migration
Copy link
Author

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


I think all is left is setting it through SDF.

@osrf-migration
Copy link
Author

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Another issue is that setting the clipping distance to zero on the GUI crashes Gazebo with:

[Err] [main.cc:34] Ogre Error:OGRE EXCEPTION(2:InvalidParametersException): Near clip distance must be greater than zero. in Frustum::setNearClipDistance at /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreFrustum.cpp (line 128)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gui major
Projects
None yet
Development

No branches or pull requests

1 participant