Skip to content

uvest/speederbikes_sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speederbike simulation envirionment

RL focussed sim env using gymansium's gym implementation.

Usage

After cloning the repository run from the folder where you cloned your project into

pip install -e speederbikes_sim/

In your code you need to import

import gymnasium as gym
import speederbikes_sim

env = gym.make('speederbikes/SpeederBikes-v0', render_mode="human")

For creating a window

env.reset()

you may provide the following arguments in a dictionary to reset (example values):

env.reset(options={
    "lvl_n_lanes":5,
    "lvl_speed":400,
    "lvl_road_width":350, # should not exceed the window size which is by defautl 512
    "agt_speed": 300
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages