stw

Differences

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

Link to this comparison view

Next revision
Previous revision
stw [2018/09/27 13:28] – created albertostw [2023/09/06 11:21] (current) – external edit 127.0.0.1
Line 8: Line 8:
 ==========Level 2 Software Implementation=========== ==========Level 2 Software Implementation===========
  
 +==== Prerequisites ====
 +You need to use a Linux computer. I prefer Linux Mint on a Dual boot computer, but a virtual computer is also an alternative.
 +
 +In your linux terminal, you need to get some basic tools. (The commands are for debian-based distros like Ubuntu)
 +
 +<code>
 +sudo apt-get install build-essential
 +sudo apt-get install g++ gcc openjdk-8-jdk
 +sudo apt-get install git cmake
 +sudo add-apt-repository ppa:webupd8team/java
 +sudo apt-get install oracle-java8-installer
 +sudo apt-get update
 +</code>
 +==== DUNE ====
 +First ensure you have developer access to the AURLab repository.
 +All code and shared files are placed on a gitlab repository. You can find it here: [[https://gitlab.com/aurlab|AURlab Git]]. To get the code yourself, you clone it into your chosen folder.
 +
 +<code>
 +mkdir aurlab
 +cd aurlab
 +git clone https://gitlab.com/aurlab/lsts_toolchain/dune.git
 +mkdir build
 +cd build
 +cmake ../dune
 +make -j8
 +cd ../dune
 +git checkout projects/AutoNaut
 +</code>
 +
 +To find out more about DUNE, read [[https://lsts.fe.up.pt/toolchain/dune|LSTS Toolchain/Dune]]
 +==== Neptus ====
 +Now, clone and build Neptus.
 +<code>
 +cd aurlab
 +git clone https://gitlab.com/aurlab/lsts_toolchain/neptus.git
 +cd neptus
 +ant
 +</code>
 +
 +When it is build, jump to the AutoNaut branch and open Neptus by typing 
 +
 +<code>
 +git checkout projects/AutoNaut
 +./neptus.sh
 +</code>
 +
 +Once Neptus is opened, to see your vehicle, you click //Consoles/Open// and choose //ntnu/fixed-wind.ncon// or another if you're not working on a fixed-wing vehicle.
 +
 +==== IMC ====
 +<code>
 +cd aurlab
 +git clone https://gitlab.com/aurlab/lsts_toolchain/imc.git
 +cd imc/
 +git checkout projects/AutoNaut
 +</code>
  
  • stw.1538047707.txt.gz
  • Last modified: 2023/09/06 00:31
  • (external edit)