Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
051751e
mujoco bindings
rodrigodelazcano Apr 2, 2022
3fd204d
Update README.md
jkterry1 Apr 7, 2022
227e246
Pyright versioning update. Fix #2700 (#2739)
gianlucadecola Apr 8, 2022
623dd8d
fix #2736 (#2737)
younik Apr 8, 2022
d4cda25
AutoResetWrapper integration with gym.make() (#2728)
balisujohn Apr 8, 2022
2ac8553
Added kwarg documentation for BlackJack and LunarLander (#2742)
Markus28 Apr 10, 2022
b717924
Update the parametrize to show the ids of the specification to make d…
pseudo-rnd-thoughts Apr 10, 2022
06072ed
fix: type ignore from #2739 (#2744)
kir0ul Apr 11, 2022
33970e2
Update README.md
jkterry1 Apr 13, 2022
9632946
mujoco bindings
rodrigodelazcano Apr 2, 2022
b18d22a
auto gl backend
rodrigodelazcano Apr 13, 2022
027aaad
new mujoco release dep
rodrigodelazcano Apr 13, 2022
a20dc21
Merge branch 'master' of https://github.com/rodrigodelazcano/gym
rodrigodelazcano Apr 13, 2022
0120576
update pusher v4
rodrigodelazcano Apr 13, 2022
5ae6bf9
Bipedal fix bounds and type hints (#2750)
jjshoots Apr 14, 2022
ab38034
remove contact forces mujoco
rodrigodelazcano Apr 14, 2022
75c7fbc
readd contact forces
rodrigodelazcano Apr 14, 2022
1a3a891
fix #2723 and remove unuseful board (#2754)
younik Apr 15, 2022
681a992
Add gravity and wind as kwarg in Lunar Lander (#2746)
jjshoots Apr 15, 2022
c6deb81
Add mild domain randomization to Car Racing Env (#2749)
jjshoots Apr 15, 2022
da7b8ae
Made documentation for carracing more descriptive, and renamed one of…
jjshoots Apr 15, 2022
6138920
Fix turn indicators not working in Carracing (#2759)
jjshoots Apr 17, 2022
36a7fe5
Add test gym utils play. Fix #2729 (#2743)
gianlucadecola Apr 18, 2022
a81ed98
mujoco bindings
rodrigodelazcano Apr 2, 2022
f7a1f43
auto gl backend
rodrigodelazcano Apr 13, 2022
bb603ea
new mujoco release dep
rodrigodelazcano Apr 13, 2022
4060922
update pusher v4
rodrigodelazcano Apr 13, 2022
fab4ffb
remove contact forces mujoco
rodrigodelazcano Apr 14, 2022
45330b4
readd contact forces
rodrigodelazcano Apr 14, 2022
8a1b425
skip rendering mujoco_py test
rodrigodelazcano Apr 19, 2022
906789e
Merge branch 'master' of https://github.com/rodrigodelazcano/gym
rodrigodelazcano Apr 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix turn indicators not working in Carracing (#2759)
* fix impulse sample bug and add adjustable gravity

* revert weird sample thing

* assertation

* add wind

* fix wind to use applyforce

* black

* add tests for wind

* fix test bug

* run lunar lander tests over 10 runs

* reduce wind for heuristic landing

* made wind power kwarg

* reduce wind power for heuristic landing

* update doc

* remove wind power from kwarg

* fix tests by deleting tests ;)

* Add back wind power as kwarg

* the black sheep

* remove rogue plus

* slight doc fix and variable rename

* fix bug with track turn indicators

* black
  • Loading branch information
jjshoots authored Apr 17, 2022
commit 613892023a1f413b47497defa12c129bf7de1fdc
5 changes: 4 additions & 1 deletion gym/envs/box2d/car_racing.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,10 @@ def _create_track(self):
y2 + side * (TRACK_WIDTH + BORDER) * math.sin(beta2),
)
self.road_poly.append(
([b1_l, b1_r, b2_r, b2_l], (1, 1, 1) if i % 2 == 0 else (1, 0, 0))
(
[b1_l, b1_r, b2_r, b2_l],
(255, 255, 255) if i % 2 == 0 else (255, 0, 0),
)
)
self.track = track
return True
Expand Down