...
Code Block |
---|
cd ~/ mkdir hoverland cd hoverland svngit checkoutclone https://hovergroupgithub.googlecode.com/svn/trunk/ hovergroup hovergroup/code/marinehovergroup/hover-kayak.git hover-kayak hover-kayak/code/scripts/install-dependencies.sh hovergrouphover-kayak/code/marine/scripts/install-moos.sh . -j4 -ap hovergrouphover-kayak/code/marine/scripts/install-ivp.sh . -j4 -ap hovergrouphover-kayak/code/marine/scripts/install-goby.sh . -j4 --ubuntu-dep cd hovergrouphover-kayak/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.
...
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 |