Airsim as an Openai Gym env
See original GitHub issueI have been successful in establishing a connection with aimsun by running the baseline_racer after running airsim. After this, the drone flies in some trajectory and then crashes or possibly wanders. I wanted to sample the action space as in any gym environment or manually supply actions for the drone for testing purposes.
How can I integrate the following functionality in the code-
import gym
env = gym.make('CartPole-v0') # possibly start the communication via the client here for Airsim
env.reset()
for _ in range(1000):
env.step(env.action_space.sample()) # take a random action
env.close()
I want to manually supply action so that once I know how the actions are being, the type and properties of the action can I replace the random sampling of action space with a Refined piece of Reinforcement learning snippet or model. Help would be appreciated.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Reinforcement Learning - AirSim - Microsoft Open Source
We below describe how we can implement DQN in AirSim using an OpenAI gym ... In order to use AirSim as a gym...
Read more >OpenAI Gym environment for AirSim - GitHub
AirSimGym. OpenAI Gym environment for AirSim. You can test the code by running the sample dqn model.
Read more >Deep Reinforcement Learning for autonomous vehicles with ...
AirSim is an add-on run on game engines like Unreal Engine(UE) or Unity. · OpenAI Gym provides a range of game environments to...
Read more >Airsim gym environment - YouTube
This gym environment is based on Microsoft airsim simulator in unity, it is implemented specifically for learning mapless navigation and ...
Read more >a deep reinforcement learning gym for autonomous aerial ...
As a simulation suite of tools, Air Learning provides a scalable and cost-effective applied reinforcement learning research. It augments ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds good. Thank you.
On Mon, Feb 1, 2021 at 4:08 PM Yann Bouteiller notifications@github.com wrote:
Well it actually works on all tiers, but tiers 1 and 3 are multi-agent so it comes with additional difficulties.
I have not announced it because I work on other things these days, the project in on hold and not in a presentable state, but I have silently open sourced this : https://github.com/yannbouteiller/gym-airsimdroneracinglab, where basically I have implemented a OpenAI Gym environment for multi-agent tiers as well. You may find it interesting.