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

Workflow for adding functionality implemented in blueprint #2722

Closed
avivazran opened this issue May 25, 2020 · 1 comment
Closed

Workflow for adding functionality implemented in blueprint #2722

avivazran opened this issue May 25, 2020 · 1 comment

Comments

@avivazran
Copy link

I'm trying to understand how to extend AirSim to do something like this:
user enter command to python console:

played = client.simPlaySoundInLocation(x,y,z)

this will trigger a function which plays some sound and is implemented in a blueprint class i created.
the function returns bool if sound played successfully.

I can't understand the workflow for adding this feature.
I have the blueprint class and the function inside it, but I don't understand how to enable the Python API call and specifically, how to trigger the blueprint class function.

Can someone provide some tutorial on how to do it?

Thanks

@rajat2004
Copy link
Contributor

You can see this commit for an example as mentioned in the docs - f0e83c2
Or for some more recent examples, see #2561, or even #2651 which has lots of new things, but also adds or modifies assets

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

No branches or pull requests

4 participants