Skip to content

Commit

Permalink
added random f1tenth map swapping
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcaulif committed Jun 12, 2021
1 parent 4a0eaa4 commit 8dd9968
Show file tree
Hide file tree
Showing 22 changed files with 1,516 additions and 1,348 deletions.
48 changes: 24 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# runtime directories from Linux in Docker
.bash_history
.cache
.config
.empty
__pycache__

# config file for VS Code settings
.vscode

# docker build log
dockerfile-build.log

# generated map files
maps/
centerline/

# tensorboard
*tensorboard

# monitor logging
tmp/

# weights and biases
# runtime directories from Linux in Docker
.bash_history
.cache
.config
.empty
__pycache__

# config file for VS Code settings
.vscode

# docker build log
dockerfile-build.log

# generated map files
maps/
centerline/

# tensorboard
*tensorboard

# monitor logging
tmp/

# weights and biases
wandb/
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "f1tenth_gym"]
path = f1tenth_gym
url = https://github.com/avantgarda/f1tenth_gym.git
[submodule "f1tenth_gym"]
path = f1tenth_gym
url = https://github.com/avantgarda/f1tenth_gym.git
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/F1Tenth-RL.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/other.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

140 changes: 70 additions & 70 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
# MIT License

# Copyright (c) 2020 FT Autonomous Team One

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

# choose which SB3 image to use, CPU or GPU
ARG PARENT_IMAGE=stablebaselines/rl-baselines3-zoo-cpu

# base the rest of the container off the chosen Stable Baselines 3 image
FROM $PARENT_IMAGE

RUN DEBIAN_FRONTEND="noninteractive" apt-get update --fix-missing && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y \
python3-dev python3-pip

RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y \
nano \
git \
unzip \
build-essential \
autoconf \
libtool \
cmake \
vim

RUN pip3 install --upgrade pip

RUN pip3 install \
numpy \
scipy \
numba \
Pillow \
gym \
pyyaml \
pyglet \
shapely \
wandb \
pylint

RUN conda install -y autopep8


# add a user (kinda just a hack to make the terminal look better)
RUN useradd -m formula -u 1000 -g 0

# set home directory
ENV HOME /home/formula

# open container in home folder
WORKDIR /home/formula/Team-1

# opens terminal when container starts (also overrides SB3 Xvfb setup)
ENTRYPOINT ["/bin/bash"]
# MIT License

# Copyright (c) 2020 FT Autonomous Team One

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

# choose which SB3 image to use, CPU or GPU
ARG PARENT_IMAGE=stablebaselines/rl-baselines3-zoo-cpu

# base the rest of the container off the chosen Stable Baselines 3 image
FROM $PARENT_IMAGE

RUN DEBIAN_FRONTEND="noninteractive" apt-get update --fix-missing && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y \
python3-dev python3-pip

RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y \
nano \
git \
unzip \
build-essential \
autoconf \
libtool \
cmake \
vim

RUN pip3 install --upgrade pip

RUN pip3 install \
numpy \
scipy \
numba \
Pillow \
gym \
pyyaml \
pyglet \
shapely \
wandb \
pylint

RUN conda install -y autopep8


# add a user (kinda just a hack to make the terminal look better)
RUN useradd -m formula -u 1000 -g 0

# set home directory
ENV HOME /home/formula

# open container in home folder
WORKDIR /home/formula/Team-1

# opens terminal when container starts (also overrides SB3 Xvfb setup)
ENTRYPOINT ["/bin/bash"]
42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License

Copyright (c) 2021 Eoin Gogarty, Charlie Maguire and Manus McAuliffe (Formula Trintiy Autonomous)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
Copyright (c) 2021 Eoin Gogarty, Charlie Maguire and Manus McAuliffe (Formula Trintiy Autonomous)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 8dd9968

Please sign in to comment.