Download and Build Code
Download the hover_update script somewhere convenient, like your home folder. Mark as executable and perform a first time install:
chmod +x hover_update hover_update --install
During the initial install the script may ask for your input several times and will install a number of dependencies. It will also add the necessary executable and script directories to the path in your bashrc file.
The script also supports updating options such as:
hover_update --all # update everything (moos, ivp, goby, hovergroup) hover_update --hover # update hovergroup svn only
Setup Eclipse
- If you haven't already, download eclipse CDT. These instructions have been tested on Juno; other versions may not work properly. Make sure you've launched eclipse at least once and set a workspace (by default $HOME/workspace).
- Run the eclipse_setup script. If you used the hover_update script to install the code, it should already be on your path. If not, it is located in hovergroup/ivp-extend/trunk/scripts.
If you need to specify any non-standard directories, check the script's help (--help) to learn how.
eclipse_setup -c
- Open eclipse again and you should see the various projects already added. If you ran the script with the "-c" argument, the perspective "my c++" will also be available.
- Lastly, you may want to import the settings in hovergroup/ivp-extend/project_files/eclipse_prefs.epf. Go to file->import and select "Preferences" under the "General" tab. The only important setting here is to use spaces (4 of them) instead of tabs.