I get an error when trying to build for Ubuntu (following these instructions https://github.com/RobotecAI/ros2-for-unity/blob/develop/README-UBUNTU.md). This error occurs at the fourth step, the ./pull_repositories.sh command.
Pulling ros2cs repository:
=== ./src/ros2cs/ (git) ===
Could not checkout ref '1.3.0': error: The following untracked working tree files would be overwritten by checkout:
.gitattributes
.gitignore
LICENSE.AL2
NOTICE
README-UBUNTU.md
README-WINDOWS.md
README.md
build.ps1
build.sh
custom_messages.repos
get_repos.ps1
get_repos.sh
Please move or remove them before you switch branches.
Aborting
- OS: Ubuntu22.04
- ros2 distro: Humble
- ros2 environment setup: single pc
I have tried deleting the ros2-for-unity folder, creating a new terminal session, and trying again, but I get the same error.