Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

For desktop

Code Block
cd ~/
mkdir hoverland
cd hoverland
git clone https://github.com/hovergroup/hover-kayak.git hover-kayak
hover-kayak/code/scripts/install-dependencies.sh
hover-kayak/code/scripts/install-moos.sh . -j4 -ap
hover-kayak/code/scripts/install-ivp.sh . -j4 -ap
hover-kayak/code/scripts/install-goby.sh . -j4 --ubuntu-dep
cd hover-kayak/code
./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. 

Code Block
export CC=/usr/lib/distcc/arm-linux-gnueabi-gcc-4.7
export CXX=/usr/lib/distcc/arm-linux-gnueabi-g++-4.7
export DISTCC_HOSTS=192.168.1.100

Check out only the hovergroup svn directories we need:

Code Block
cd ~/
mkdir hoverland
cd hoverland
svn checkout --depth=immediates https://hovergroup.googlecode.com/svn/trunk/ hovergroup

cd hovergroup
svn update --set-depth=exclude *
svn update --set-depth=infinity code missions third-party

Build everything

Code Block
cd ~/hoverland
hovergroup/code/marine/scripts/install-dependencies.sh --vehicle
hovergroup/code/marine/scripts/install-moos.sh . -j4 -ap --vehicle
hovergroup/code/marine/scripts/install-ivp.sh . -j4 -ap --vehicle
hovergroup/code/marine/scripts/install-goby.sh . -j4 --debian-dep
cd hovergroup/code/marine
./build_all.sh -j4 -ap --vehicle