AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

API/Way to send signal to Unreal?

Open luis-bernard opened this issue 8 years ago • 6 comments

Hey there!

Is there an API or a way to send a signal to Unreal from a python script? (Something that allows me to change a variable in Unreal or that can be used as an event trigger).

I'm using AirSim for reinforcement learning (with the drone) and I need to reset the world for the different iterations of the learning process (by reseting the world I mean having the drone again in a start position ready to fly, as if it was launching for the first time). I've already managed to do this using Unreal Engine blueprints but right now I'm pressing one of my keyboard keys as the event that triggers the reset.

(Sorry in advance if this is not the right place to ask this question 🙂 )

luis-bernard avatar May 02 '18 18:05 luis-bernard

https://github.com/Microsoft/AirSim/blob/master/docs/python.md

There is a reset api call you can use

https://github.com/Microsoft/AirSim/blob/master/docs/apis.md

NextSim avatar May 02 '18 18:05 NextSim

Yes. I know that API... But I was looking for something like a flag that I can then use with UE blueprints. (I need to reset more things than just the drone. Otherwise the API you suggested would be ideal). But thanks for the reply!

luis-bernard avatar May 02 '18 21:05 luis-bernard

It might be good to add API that calls specified Blueprint function somewhere.

sytelus avatar May 08 '18 23:05 sytelus

Internal VSTF 7432

RVBldr avatar Nov 21 '18 18:11 RVBldr

related to #675

jonyMarino avatar Sep 02 '20 16:09 jonyMarino

This issue has been automatically marked as stale because it has not had activity from the community in the last year. It will be closed if no further activity occurs within 20 days.

stale[bot] avatar Apr 17 '22 15:04 stale[bot]