Table of Contents

Neptus tips and tricks

Compiling Neptus in *buntu linux systems

The Neptus Wiki describes how to do this, but it does not work for *buntu linux systems. The problem is that Neptus wants Java runtime 8, while *buntu automatically chooses Java runtime 11.

sudo apt-get install git openjdk-8-jdk ant
git clone​ ​https://github.com/LSTS/neptus.git​ $lststools
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
sudo update-java-alternatives --set java-1.8.0-openjdk-amd64
cd $lststools/neptus && ant
cd $lststools/neptus && ./neptus.sh auv
sudo add-apt-repository ppa:ts.sch.gr/ppa
sudo apt-get update
sudo apt-get install oracle-java8-installer

Making a new vehicle type visible to Neptus Console

Make DUNE parameters available to Neptus, so they can be changed while the vehicle is active

./dune -c inifile -p Profile -X location_for_parameterfile
./dune -c otter/ntnu-otter-02 -p Hardware -X .

This results in a file ntnu-otter-02.en_US.xml being created in the folder dune was run from (or in location_for_parameterfile). This XML is then moved to neptus/conf/params. After running neptus, ctrl+1 and “Access Developer Parameters”, the parameters are now available for editing while running.

Add support for custom IMC messages to Neptus

TODO