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. Answer yes to any prompts. It will also add the necessary executable and script directories to the path in your bashrc file.  

For staying up to date, the script supports update options such as:

hover_update --all # update everything (moos, ivp, goby, hovergroup)
hover_update --hover # update hovergroup svn only

Checkout the help (--help) for more information.

Setup Eclipse

  1. 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).
  2. 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.
    eclipse_setup -c
    
    If you need to specify any non-standard directories, check the script's help (--help) to learn how.
  3. 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.
  4. 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.

Some Technical Details

The hover_update script actually downloads the script hover_update_actual using wget and the runs it. This ensures it always has the latest version, while also avoiding any problems with a script updating itself.

  • No labels