This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cs:getting_started:start [2022/04/15 02:05] Chris Nathman [Getting our Code] |
cs:getting_started:start [2022/04/15 02:19] Chris Nathman [Now What?] |
||
---|---|---|---|
Line 10: | Line 10: | ||
===== Languages ===== | ===== Languages ===== | ||
- | We use primarily C++ and Python3 for the software on the sub. Below are a few links for tutorials for these languages, these are just a few I quickly found to get you started, feel free to search around for other tutorials. | + | We use C++ and Python3 for the software on the sub. Below are a few links for tutorials for these languages, these are just a few I quickly found to get you started, feel free to search around for other tutorials. |
* [[http://www.learncpp.com/| C++]] | * [[http://www.learncpp.com/| C++]] | ||
* [[https://www.codecademy.com/learn/python|Python]] | * [[https://www.codecademy.com/learn/python|Python]] | ||
Line 89: | Line 89: | ||
</code> | </code> | ||
- | echo "source ~/ros/install/setup.bash" >> ~/.bashrc | + | Add compiled code configuration to bash configuration file. |
- | echo 'alias rsmake="(cd ~/ros && colcon build)"' >> ~/.bashrc | + | |
- | source ~/.bashrc | + | <code bash> |
+ | $ echo "source ~/ros/install/setup.bash" >> ~/.bashrc | ||
+ | </code> | ||
+ | |||
+ | Add ''rsmake'' alias to bash configuration file so future compilation can be run easily. | ||
+ | |||
+ | <code bash> | ||
+ | $ echo 'alias rsmake="(cd ~/ros && colcon build)"' >> ~/.bashrc | ||
+ | </code> | ||
+ | |||
+ | Reload bash configuration file. | ||
+ | |||
+ | <code bash> | ||
+ | $ source ~/.bashrc | ||
+ | </code> | ||
From now on you should be able to compile code using ''rsmake'' from any directory. | From now on you should be able to compile code using ''rsmake'' from any directory. | ||
===== Now What? ===== | ===== Now What? ===== | ||
- | If you were able to successfully compile the software at the end, congrats! Next steps are to learn how to use [[cs:git:start|git]], and take a look at the [[cs:sw_workflow:|software workflow]]. After this, head over to the [[https://gitlab.com/PalouseRobosub/Software/robosub/-/issues|gitlab issues page]] and see if a task looks interesting! | + | If you were able to successfully compile the software at the end, congrats! Next steps are to learn how to use [[cs:git:start|git]] and review c++ and python3. After this, head over to the [[https://gitlab.com/PalouseRobosub/Software/robosub/-/issues|gitlab issues page]] and see if a task looks interesting! |