ROS noetic packages for the ARI robot in L-CAS.
- Make sure you have VSCode installed: https://code.visualstudio.com/download
- Make sure you have git installed: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
- Make sure you have the
Docker
and theDev Containers
extension in VSCode installed and working: https://code.visualstudio.com/docs/containers/overview and https://code.visualstudio.com/docs/devcontainers/containers- ensure docker is working, i.e. try
docker run --rm hello-world
and check it succeeds for your user
- ensure docker is working, i.e. try
- The docker image used to provide the Development Container is provided by the L-CAS Container Registry. You must log in to use it. For simple read access, the username and password is public and is username
lcas
, password:lincoln
. So, to log in dodocker login -u lcas -p lincoln lcas.lincoln.ac.uk
(you should only have to do this once, as the credentials should be cached unless your home directory is wiped).
❗If you are on a Windows PC the following two additional steps are required:
- Open a terminal(e.g., window's powershell), type
git config --global core.autocrlf false
and press Enter - Make sure docker is running by launching the docker desktop application
Then:
- Open a terminal (e.g., window's powershell)
- Execute the following command:
git clone https://github.com/LCAS/LincARI.git
- Open a terminal (e.g., window's powershell)
- Locate and move to the LincARI folder on your system; e.g.
cd /home/computing/LincARI
- Pull the latest changes:
git pull
The system configuration for writing and executing ROS code is already setup for you in a Docker container which is directly importable into your VS Code workspace. This will avoid you executing many additional steps the you will need instead to perform if you want to run it on your PC.
-
Open VS Code (e.g., Alt+F2, type
code
, press Enter) -
Select "Open Folder in Container..."
-
Select and Open the folder LincARI
The first time you perform this, it will download and compile the ROS system and all the dependencies; therefore, it will take quite some time.
-
Click on the "Port" in VSCode, find the "novnc" port, right click on it to open the menu, and then choose either "Open in Browser" to open it outside of VSCode or "Preview in Editor" to have it open within VSCode:
-
(recommended) Set the dekstop scaling by clicking on the settings cog and choose scaling mode "Remote Resizing" if it's not set
-
click on "Connect":