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

Update SdfGenerator to save light data to file #1209

Merged
merged 6 commits into from
Nov 30, 2021
Merged

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Nov 16, 2021

🎉 New feature

depends on #gazebosim/sdformat#755

related PR: #1201

Summary

Builds on the work done in #1201, this PR extends the SdfGenerator with the ability to save light data to SDF file. This works for spot, point, and directional lights in the world and also lights attached to links.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
@chapulina chapulina added editor Tools to edit entities in simulation 🏯 fortress Ignition Fortress labels Nov 16, 2021
@mjcarroll
Copy link
Contributor

@osrf-jenkins retest this please

* save joints

Signed-off-by: Ian Chen <[email protected]>

* use joinPaths

Signed-off-by: Ian Chen <[email protected]>

* Only output thread_pitch for screw joints

Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>
@nkoenig
Copy link
Contributor

nkoenig commented Nov 30, 2021

I'm going to merge this done in order to speed up and consolidate the CI tests.

@nkoenig nkoenig merged commit 6dc70db into update_save_world Nov 30, 2021
@nkoenig nkoenig deleted the save_lights branch November 30, 2021 17:28
nkoenig pushed a commit that referenced this pull request Dec 1, 2021
* update more model properties and add code to update link properties

Signed-off-by: Ian Chen <[email protected]>

* update sensors, and add test

Signed-off-by: Ian Chen <[email protected]>

* Suggestion to #1170

Signed-off-by: Nate Koenig <[email protected]>

* update to use new api

Signed-off-by: Ian Chen <[email protected]>

* use updated api

Signed-off-by: Ian Chen <[email protected]>

* require sdf 12.2

Signed-off-by: Nate Koenig <[email protected]>

* Update SdfGenerator to save light data to file (#1209)

* save lights

Signed-off-by: Ian Chen <[email protected]>

* fix doc

Signed-off-by: Ian Chen <[email protected]>

* use updated api

Signed-off-by: Ian Chen <[email protected]>

* Update SdfGenerator to save joint data to file (#1220)

* save joints

Signed-off-by: Ian Chen <[email protected]>

* use joinPaths

Signed-off-by: Ian Chen <[email protected]>

* Only output thread_pitch for screw joints

Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>

* Fix test

Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor Tools to edit entities in simulation 🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants