neptus_tips_and_tricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
neptus_tips_and_tricks [2019/10/07 19:16] – [Compiling Neptus in *buntu linux systems] nikolalneptus_tips_and_tricks [2022/09/19 11:34] (current) – external edit 127.0.0.1
Line 11: Line 11:
   git clone​ ​https://github.com/LSTS/neptus.git​ $lststools   git clone​ ​https://github.com/LSTS/neptus.git​ $lststools
  
-  * Set JAVA_HOME+  * Set JAVA_HOME by opening ''%%/etc/bash.bashrc%%'' and adding: 
 + 
 +  export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
 + 
 +  * Set default java to use openjdk8: 
 + 
 +  sudo update-java-alternatives --set java-1.8.0-openjdk-amd64 
   * Compile Neptus   * Compile Neptus
  
Line 19: Line 26:
  
   cd $lststools/neptus && ./neptus.sh auv   cd $lststools/neptus && ./neptus.sh auv
 +
 +  * Alternative for Ubuntu 20.04 (MRA not properly working with previous method): Use Oracle Java
 +
 +  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 ===== ===== Making a new vehicle type visible to Neptus Console =====
Line 32: Line 45:
   * Example:   * Example:
  
-  ./dune -c otter/basic -p Hardware -X . +  ./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
  • neptus_tips_and_tricks.1570468599.txt.gz
  • Last modified: 2022/09/19 11:33
  • (external edit)