gettinstarted

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
gettinstarted [2019/01/05 10:49] albertogettinstarted [2023/09/06 11:21] (current) – external edit 127.0.0.1
Line 15: Line 15:
 </code> </code>
 ==== DUNE ==== ==== DUNE ====
-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.+All code and shared files are placed on a gitlab repository. You can find it here: [[https://github.com/adallolio|Albertos Git]]. To get the code yourself, you clone it into your chosen folder.
  
 <code> <code>
-mkdir aurlab +mkdir dune_all 
-cd aurlab +cd dune_all 
-git clone https://gitlab.com/aurlab/lsts_toolchain/dune.git+git clone https://github.com/adallolio/dune.git 
 +cd dune/ 
 +git checkout AutoNaut 
 +cd ..
 mkdir build mkdir build
 cd build cd build
 cmake ../dune cmake ../dune
 make -j8 make -j8
-cd ../dune 
-git checkout projects/AutoNaut 
 </code> </code>
  
Line 33: Line 34:
 Now, clone and build Neptus. Now, clone and build Neptus.
 <code> <code>
-cd aurlab +git clone https://github.com/adallolio/neptus.git
-git clone https://gitlab.com/aurlab/lsts_toolchain/neptus.git+
 cd neptus cd neptus
 +git checkout AutoNaut
 ant ant
 </code> </code>
Line 42: Line 43:
  
 <code> <code>
-git checkout projects/AutoNaut+git checkout AutoNaut
 ./neptus.sh ./neptus.sh
 </code> </code>
Line 50: Line 51:
 ==== IMC ==== ==== IMC ====
 <code> <code>
-cd aurlab +git clone https://github.com/adallolio/imc.git
-git clone https://gitlab.com/aurlab/lsts_toolchain/imc.git+
 cd imc/ cd imc/
-git checkout projects/AutoNaut+git checkout AutoNaut
 </code> </code>
  
 ==== Working with DUNE ==== ==== Working with DUNE ====
-To start DUNE, you need to choose a configuration file (that is, a .ini-file). These files are placed under the // /etc//-folder. Before you write anything in DUNEmake sure you make your own //branch//.+To start DUNE, you need to choose a configuration file (that is, a .ini-file). These files are placed under the // /etc//-folder. Assuming you are in the correct branch (AutoNaut), you can run simulations by typing
  
 <code> <code>
-cd aurlab +./dune -c ntnu-autonaut -p Simulation
-cd dune +
-git checkout -b the-branch-you-work-on +
-</code> +
-Now you should have moved to your own branch. Every time you make something new on your branch, or do some major updates (minimum once a day), you should commit your changes. +
- +
-To run DUNE using your specific config file, you write  +
- +
-<code> +
-cd build +
-cmake ../dune +
-./dune -c name.ini+
 </code> </code>
  
  • gettinstarted.1546681792.txt.gz
  • Last modified: 2023/09/06 00:31
  • (external edit)