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

Allow attachment of lights to links #900

Closed
osrf-migration opened this issue Oct 17, 2013 · 14 comments
Closed

Allow attachment of lights to links #900

osrf-migration opened this issue Oct 17, 2013 · 14 comments
Labels

Comments

@osrf-migration
Copy link

Original report (archived issue) by Nate Koenig (Bitbucket: Nathan Koenig).


See this question.

This will require a change to SDF as well.

@osrf-migration
Copy link
Author

Original comment by Jonathan Bohren (Bitbucket: jbohren).


+1

@osrf-migration
Copy link
Author

Original comment by Peter Milani (Bitbucket: PeterQFR).


+1
would also be good if the type of lights could be expanded to include:
laser point, or more preferably,
a laser line type light, and
a textured light.

This use case is around improving stereo vision implementations.

@osrf-migration
Copy link
Author

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


  • set assignee_account_id to "557058:6ff86fcb-b7ab-44a5-b8a6-f6d9cae8b6e8"
  • set assignee to "chapulina (Bitbucket: chapulina, GitHub: chapulina)"

@osrf-migration
Copy link
Author

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


First step: pull request #1920 adds physics::Light which inherits from physics::Entity.

@osrf-migration
Copy link
Author

Original comment by Andreas Bihlmaier (Bitbucket: andreasBihlmaier).


@chapulina: Thank you VERY much for working on this - unfortunately I never got around to it.

@osrf-migration
Copy link
Author

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


Once this is integrated, it would be great to support adding lights to models through the model editor.

@osrf-migration
Copy link
Author

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


  • set version to "any"

@osrf-migration
Copy link
Author

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


  • changed version from "any" to "all"

@osrf-migration
Copy link
Author

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


pull request #2647 adds a model plugin that provides this functionality.

@osrf-migration
Copy link
Author

Original comment by Andreas Bihlmaier (Bitbucket: andreasBihlmaier).


+1

A very valuable feature for some of my Gazebo use cases. Thanks!
I'll try to make some time to test the pull request.

@osrf-migration
Copy link
Author

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


Pull request #2807 adds the native functionality (lights as children of links on SDF instead of using a plugin)

@osrf-migration
Copy link
Author

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


pull request #2807 has been merged.

Remaining tasks as identified in that PR are:

  • Add Light field to link.proto
  • Add worldPoseDirty to physics::Light and remove infinite pose checks
  • Use Light::GetRelativePose instead of Light::GetWorldPose in a few places
  • Add a Link::lights variable
  • Add id field to light.proto and remove empty id checks
  • Remove AttachLightPlugin
  • Remove hack that publishes light pose message from physics to rendering
  • In rendering/Scene, update ProcessLinkMsg to process lights in link msgs and attach to parent link visual
  • In physics/Link, add LoadLight function, and update FillMsg to add light to msg.

@osrf-migration
Copy link
Author

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


pull request #2871

@osrf-migration
Copy link
Author

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


  • Edited issue description* changed state from "new" to "resolved"

pull request #2807 -> gazebo7, pull request #2871 -> gazebo9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant