Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| gettinstarted [2019/01/05 10:49] – alberto | gettinstarted [2023/09/06 11:21] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| </ | </ | ||
| ==== DUNE ==== | ==== DUNE ==== | ||
| - | All code and shared files are placed on a gitlab repository. You can find it here: [[https://gitlab.com/aurlab|AURlab | + | All code and shared files are placed on a gitlab repository. You can find it here: [[https://github.com/adallolio|Albertos |
| < | < | ||
| - | mkdir aurlab | + | mkdir dune_all |
| - | cd aurlab | + | cd dune_all |
| - | git clone https://gitlab.com/aurlab/ | + | 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/ | ||
| </ | </ | ||
| Line 33: | Line 34: | ||
| Now, clone and build Neptus. | Now, clone and build Neptus. | ||
| < | < | ||
| - | cd aurlab | + | git clone https://github.com/adallolio/neptus.git |
| - | git clone https://gitlab.com/aurlab/ | + | |
| cd neptus | cd neptus | ||
| + | git checkout AutoNaut | ||
| ant | ant | ||
| </ | </ | ||
| Line 42: | Line 43: | ||
| < | < | ||
| - | git checkout | + | git checkout AutoNaut |
| ./neptus.sh | ./neptus.sh | ||
| </ | </ | ||
| Line 50: | Line 51: | ||
| ==== IMC ==== | ==== IMC ==== | ||
| < | < | ||
| - | cd aurlab | + | git clone https://github.com/adallolio/imc.git |
| - | git clone https://gitlab.com/aurlab/ | + | |
| cd imc/ | cd imc/ | ||
| - | git checkout | + | git checkout AutoNaut |
| </ | </ | ||
| ==== 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 // / | + | To start DUNE, you need to choose a configuration file (that is, a .ini-file). These files are placed under the // / |
| < | < | ||
| - | cd aurlab | + | ./dune -c ntnu-autonaut -p Simulation |
| - | cd dune | + | |
| - | git checkout -b the-branch-you-work-on | + | |
| - | </ | + | |
| - | 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 | + | |
| - | + | ||
| - | < | + | |
| - | cd build | + | |
| - | cmake ../dune | + | |
| - | ./dune -c name.ini | + | |
| </ | </ | ||