Skip to content

Support for lights attached to vehicles #4255

Closed

Description

I think it would be useful to be able to change the lights attached to vehicles, in order to better estimate simulations when computer vision is involved in a system where it can control lights.

I think I have sorted out how to include permanent lights attached to the player in Unreal, but I don't know how to start attaching that to a connection in Airsim, and thus to the autopilot or software managing the vehicle.

I would not mind to work on this and do a PR, but I would appreciate a couple of hints about where to look in Airsim to make the connection to such element in unreal.

Thanks!

Activity

  1. rajat2004 commented on Dec 31, 2021

    @rajat2004
    Contributor

    Recently a feature to control lights was added, see #3991, might be useful here
    For a quick hack, might be possible to continuously change the pose of the light object as needed to follow the vehicle, using say simSetObjectPose. Better way wold probably be to attach the blueprint to the vehicle itself, but not sure if it would still work through the API

  2. Davidsastresas commented on Dec 31, 2021

    @Davidsastresas
    Author

    Thank you very much, that is enough for me to keep pulling that string. If I manage to do something nice I will submit a PR about it. Thanks!

  3. locked and limited conversation to collaborators on Jan 31, 2022
  4. converted this issue into a discussion #4329 on Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions