Versions Compared

Key

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

...

Code Block
cd ~/
mkdir hoverland
cd hoverland
svn checkout https://hovergroup.googlecode.com/svn/trunk/ hovergroup
hovergroup/code/marine/scripts/install-dependencies.sh
hovergroup/code/marine/scripts/install-moos.sh . -j4 -ap
hovergroup/code/marine/scripts/install-ivp.sh . -j4 -ap
hovergroup/code/marine/scripts/install-goby.sh . -j4
cd hovergroup/code/marine
./build_all.sh -j4 -ap

Matlab and mex-moos

Use your MIT account to download matlab from the mathworks website.  Run the installer as root and answer yes when prompted to create symbolic links.  To install mex-moos:

Code Block
cd ~/hoverland/moos
git clone https://github.com/themoos/mex-moos.git mex-moos
cd mex-moos
cmake .
make -j2

This first make will download and build a private moos installing for mex-moos to use.  Run cmake and make again to build mex-moos itself:

Code Block
cmake -D FORCE_RPATH_LINKING=OFF .
make -j2

The mex-moos executable will be built in the current directory as mexmoos.mexa64.  To add this directory to the path, first make the pathdef.m file modifiable by all users:

Code Block
sudo chmod 666 /usr/local/MATLAB/R2014b/toolbox/local/pathdef.m

Now you should be able to launch matlab, add the mex-moos directory to the path, and save the new path.  

For vehicles

If not already set in your bashrc file, set the compiler to distcc and provide hosts. 

...