Closed travelbureau closed 2 years ago
I solved the problem with a workaround. I have changed the contents of the build_docker.sh file with the following lines:
#!/bin/bash
if [ ! -d f1tenth_gym ] ; then
git clone https://github.com/f1tenth/f1tenth_gym
cd f1tenth_gym
git checkout cpp_backend_archive
cd ../
else
echo f1tenth_gym exists, not cloning.
fi
docker build -t f1tenth_gym -f Dockerfile .
Hope help you.
Ported to ros2 and the python version of f1tenth_gym.
Describe the bug The Dockerfile looks for a cmakelists in order to build the c++ components of the old f1tenth_gym implementation; however, the git clone op in build_docker pulls the new python branch.
To Reproduce Steps to reproduce the behavior:
./build_docker.sh
Expected behavior builder_docker.sh runs successfully.
Desktop (please complete the following information):
Additional context The solution is either to clone the old c++ branch in build_docker or confirm that the interface is compatible with the new code and remove from the Dockerfile:
and possibly: