-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix_meta_name' into feature/ros_sports_gc
- Loading branch information
Showing
10 changed files
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,25 +10,25 @@ As such you can lookup some of the needed requirements there. | |
|
||
- have an LDAP mafiasi account for access to the CLs | ||
- have ros2 aliases setup (see linked docs) | ||
- have github ssh access setup for bitbots_meta (see linked docs) | ||
- have GitHub ssh access setup for bitbots_main (see linked docs) | ||
|
||
**1. Setup and download our software** | ||
|
||
- SSH into the ``cl0*`` with your mafiasi user | ||
- setup bitbots_meta in your home directory | ||
- setup bitbots_main in your home directory | ||
|
||
.. code-block:: bash | ||
mkdir -p "~/colcon_ws/src" | ||
cd "~/colcon_ws/src" | ||
git clone [email protected]:bit-bots/bitbots_meta.git && cd bitbots_meta | ||
git clone [email protected]:bit-bots/bitbots_main.git && cd bitbots_main | ||
make install-no-root | ||
- set PATH and COLCON_WS (see `section 5 <https://docs.bit-bots.de/meta/manual/tutorials/install_software_ros2.html>`_) | ||
|
||
**2. Compile the packages** | ||
|
||
If while testing you are changing code or updating ``bitbots_meta`` via ``make pull-all``, | ||
If while testing you are changing code or updating ``bitbots_main`` via ``make pull-all``, | ||
this step needs to be done again. | ||
For compilation of the whole meta repository run ``cba``, which is an alias for: | ||
``cd $COLCON_WS; colcon build --symlink-install --continue-on-error`` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,14 +42,14 @@ If you are not already using Ubuntu 22.04, consider installing it on your system | |
- Add your SSH key to GitHub to access and sync our repositories | ||
- If you don't know what I am talking about or you don't yet have a SSH key, follow this guide: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys | ||
- Go to your account settings and add your SSH key (the ``.pub`` file) for `GitHub <https://github.com/settings/keys>`_ AND `Gitea <https://git.mafiasi.de/user/settings/keys>`_ | ||
- Now, you can clone (download) our main code repository (repo) called `bitbots_meta <https://github.com/bit-bots/bitbots_meta>`_: | ||
- Now, you can clone (download) our main code repository (repo) called `bitbots_main <https://github.com/bit-bots/bitbots_main>`_: | ||
- Open a terminal and go to the directory where you want to download our code (typically ``~/git/bitbots/``) | ||
- Create the directory with: ``mkdir -p ~/git/bitbots`` | ||
This is were your source code will live and grow. | ||
- Move to this directory with: ``cd ~/git/bitbots`` | ||
- Clone the code repository with: ``git clone [email protected]:bit-bots/bitbots_meta.git`` | ||
- Clone the code repository with: ``git clone [email protected]:bit-bots/bitbots_main.git`` | ||
Confirm the host key by typing ``yes``, if asked. | ||
- Move into the newly created directory with: ``cd bitbots_meta`` | ||
- Move into the newly created directory with: ``cd bitbots_main`` | ||
- Clone all code and other files by running: ``make install`` | ||
This will take a while, as it downloads all the code and other files from our repositories and additionally installs all missing dependencies (using rosdep and pip). | ||
Finally, it will register pre-commit hooks (automatic code-formatting and warnings), which will be run every time you commit code to our repositories. | ||
|
@@ -61,7 +61,7 @@ The colcon workspace is where your source code gets build and where we use colco | |
|
||
- Create colcon workspace directory (typically ``~/colcon_ws/``) | ||
- Create directory with: ``mkdir -p ~/colcon_ws/src`` | ||
- Link our software contained in the bitbots_meta repo to the newly created ``src`` directory with: ``ln -s ~/git/bitbots/bitbots_meta/ ~/colcon_ws/src/bitbots_meta`` | ||
- Link our software contained in the bitbots_main repo to the newly created ``src`` directory with: ``ln -s ~/git/bitbots/bitbots_main/ ~/colcon_ws/src/bitbots_main`` | ||
|
||
**5. Final touches** | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters