Installation
-
Install ros2-humble by following the instructions on the linked page. Afterward, complete the CLI-Configuring-Environment tutorial to source your setup files.
-
Create your ROS2 workspace.
mkdir cyberrunner_ws && cd cyberrunner_ws && mkdir src && cd src -
Clone this repository into your ROS2 workspace and navigate back to the workspace root.
git clone https://github.com/thomasbi1/cyberrunner.git cd .. -
Install jax with GPU support.
pip install --upgrade "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html -
Install dreamerv3. NB: The current version of
dreamerv3requiresgym==0.19.0, which is not supported bypip>=24.1.pipmust be downgraded to installdreamerv3.pip install --upgrade pip==24.0 pip install -e src/cyberrunner/dreamerv3Optional: To revert
pipto the most updated version run the following.pip install --upgrade pip -
Install dependencies with rosdep.
sudo rosdep init rosdep update rosdep install --from-paths src -y --ignore-src -
Install the CyberRunner packages.
colcon build --symlink-install