Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gettinstarted [2018/09/27 13:35] – [IMC] 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 49: | Line 50: | ||
==== IMC ==== | ==== IMC ==== | ||
- | |||
- | cd aurlab | ||
- | git clone https:// | ||
- | |||
- | ==== Working with DUNE ==== | ||
- | To start DUNE, you need to choose a configuration file (that is, a .ini-file). These files are placed under the // / | ||
- | |||
< | < | ||
- | cd aurlab | + | git clone https:// |
- | cd dune | + | cd imc/ |
- | git checkout | + | git checkout |
</ | </ | ||
- | 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 | + | ==== Working with DUNE ==== |
+ | To start DUNE, you need to choose a configuration | ||
< | < | ||
- | cd build | + | ./dune -c ntnu-autonaut -p Simulation |
- | cmake ../dune | + | |
- | ./dune -c name.ini | + | |
</ | </ | ||
Line 95: | Line 87: | ||
</ | </ | ||
- | It could be wise to follow the tutorial on [[https:// | + | It could be wise to follow the tutorial on [[https:// |
< | < | ||
Line 104: | Line 96: | ||
==== Cross-compiling dune ==== | ==== Cross-compiling dune ==== | ||
- | To be able to use dune on an on-board platform, you need to cross-compile it and have a version of Glued on your on-board computer. See [[software:glued|Glued]] for description of how this is done. | + | To be able to use dune on an on-board platform, you need to cross-compile it and have a version of Glued on your on-board computer. See [[https:// |