Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Support for lights attached to vehicles #4255

Closed
Davidsastresas opened this issue Dec 30, 2021 · 2 comments
Closed

Support for lights attached to vehicles #4255

Davidsastresas opened this issue Dec 30, 2021 · 2 comments

Comments

@Davidsastresas
Copy link

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!

@rajat2004
Copy link
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

@Davidsastresas
Copy link
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!

@microsoft microsoft locked and limited conversation to collaborators Jan 31, 2022
@jonyMarino jonyMarino converted this issue into discussion #4329 Jan 31, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants