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

Saving world file does not include changes to Lights #346

Closed
osrf-migration opened this issue Jan 8, 2013 · 8 comments
Closed

Saving world file does not include changes to Lights #346

osrf-migration opened this issue Jan 8, 2013 · 8 comments
Labels
all bug Something isn't working minor

Comments

@osrf-migration
Copy link

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


Saving the world file in gzclient does not currently save any changes made to lights in the client program.

To test this:

  1. Load an empty world (standard invocation of gazebo)
  2. Add some spotlights or point sources
  3. Move and/or rotate the sun (directional light)
  4. Save world as filename
  5. grep '<light ' filename | wc -l should be greater than 1 if you added any lights
  6. xmlstarlet sel -t -c '//light[@name="sun"]/pose' filename should output something different than <pose>0.000000 0.000000 10.000000 0.000000 0.000000 0.000000</pose> if you moved or rotated the sun.
@osrf-migration
Copy link
Author

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


See light accessor functions in Scene.

@osrf-migration
Copy link
Author

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


  • set assignee_account_id to "557058:5de38267-b118-494c-aa76-4fab35448816"
  • changed assignee from "None (Bitbucket: None)" to "scpeters (Bitbucket: scpeters, GitHub: scpeters)"

I started adding some code on branch issue_346. A Light::FillSDF function needs to be written.

@osrf-migration
Copy link
Author

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


  • changed state from "new" to "on hold"

after VRC

@osrf-migration
Copy link
Author

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


  • changed state from "on hold" to "open"

@osrf-migration
Copy link
Author

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


pull request #1094

@osrf-migration
Copy link
Author

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


  • changed state from "open" to "resolved"

@osrf-migration
Copy link
Author

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


  • set version to "all"

@osrf-migration
Copy link
Author

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


  • changed state from "resolved" to "closed"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
all bug Something isn't working minor
Projects
None yet
Development

No branches or pull requests

1 participant