Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| neptus_tips_and_tricks [2019/10/07 10:40] – [Compiling Neptus in *buntu linux systems] nikolal | neptus_tips_and_tricks [2022/09/19 11:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Neptus tips and tricks ====== | ====== Neptus tips and tricks ====== | ||
| ===== Compiling Neptus in *buntu linux systems ===== | ===== 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 ubuntu | + | 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 |
| + | |||
| + | * Install requirements | ||
| + | |||
| + | sudo apt-get install git openjdk-8-jdk ant | ||
| + | |||
| + | * Clone Neptus github repository | ||
| + | |||
| + | git clone https:// | ||
| + | |||
| + | * Set JAVA_HOME by opening '' | ||
| + | |||
| + | export JAVA_HOME=/ | ||
| + | |||
| + | * Set default java to use openjdk8: | ||
| + | |||
| + | sudo update-java-alternatives --set java-1.8.0-openjdk-amd64 | ||
| + | |||
| + | * Compile Neptus | ||
| + | |||
| + | cd $lststools/ | ||
| + | |||
| + | * Open Neptus | ||
| + | |||
| + | cd $lststools/ | ||
| + | |||
| + | * Alternative for Ubuntu 20.04 (MRA not properly working with previous method): Use Oracle Java | ||
| + | |||
| + | sudo add-apt-repository ppa: | ||
| + | sudo apt-get update | ||
| + | sudo apt-get install oracle-java8-installer | ||
| ===== Making a new vehicle type visible to Neptus Console ===== | ===== Making a new vehicle type visible to Neptus Console ===== | ||
| * In the Neptus folder, go to '' | * In the Neptus folder, go to '' | ||
| Line 14: | Line 45: | ||
| * Example: | * Example: | ||
| - | ./dune -c otter/basic -p Hardware -X . | + | ./dune -c otter/ntnu-otter-02 |
| + | |||
| + | This results in a file '' | ||
| + | |||
| + | ===== Add support for custom IMC messages to Neptus ===== | ||
| + | TODO | ||