Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Open a terminal, navigate to the software repository and checkout your desired branch or tag. If unsure, checkout the master branch. If there are updates available, download them, clean the repo and build the software again. Substitute `<BRANCH_OR_TAG>` in the following code!

Code Block
languagebash
cd ~/dev/software
git fetch
git checkout <BRANCH_OR_TAG>
rm -rf cpm_lib/dds_idl_cpp
rm -rf cpm_lib/dds_idl_matlab

If you are working on the Main PC of the lab, build the software without the --simulation  switch. Otherwise, build all the necessary files to simulate the CPM Lab:

Code Block
languagebash
bash build_all.bash --simulation

What to Consider After an Update

Some common problems arise after an update. The .idl files for the communication might have changed, and the files for the NUCs or vehicles might be different as well. Thus, if you pull a new version (of the master), make sure that you do the following:

...