Skip to content

Commit c8324c7

Browse files
authored
Create Monorepo (#222)
2 parents 7feda5f + 6033844 commit c8324c7

File tree

1,370 files changed

+91617
-692
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,370 files changed

+91617
-692
lines changed

.clang-format

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
Language: Cpp
3+
BasedOnStyle: Google
4+
ColumnLimit: 120

.git-blame-ignore-revs

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Add git commit hashes to ignore for blame
2+
31956156a6cab20c1f54f976dac745d95a1254c0
3+
a5a1b5cb51afa766e7c9f72fbba2f79a858641c2
4+
975eb13a66bcf2e50525886453b40dd48b3b168f
5+
874863ef235c3713aa1f50b507cb9017afdba0f5
6+
45e252ecd15849f7794de05dae7cbea0382a48a1
7+
ba13aadddd9356fc92d6fb998aafe59c485b468b
8+
45e252ecd15849f7794de05dae7cbea0382a48a1
9+
47ab15e147ac5f886ebf01da093f84936927f12c
10+
f29fb619aef9f416cbbdc74ec77c23423dcefe07
11+
3b9f322183bed2cb271bf6bd07d803a93c398c3e
12+
ae9fbef74c50ba1e462d1b76da16779c76aa0d5b
13+
476e75e3f3d17c35ac89b17f513d93078687d613

.github/workflows/build.yml

+16-11
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,32 @@ jobs:
1313
steps:
1414
- name: Set up ROS ecosystem
1515
uses: ros-tooling/[email protected]
16+
1617
- name: Check out repository
1718
uses: actions/checkout@v3
19+
1820
- name: Configure git to trust repository
1921
run: git config --global --add safe.directory /__w/bitbots_meta/bitbots_meta
20-
- name: Pull our software
21-
run: make pull-init
22-
- name: Install proprietary basler drivers
23-
run: make basler ARGS="-ci"
24-
- name: Install packages via rosdep
25-
run: |
26-
rosdep update
27-
sudo apt install -y libunwind-dev
28-
# Small hack to make rosdep install all dependencies at once
29-
# See https://github.com/ros-infrastructure/rosdep/issues/671
30-
bash -c "sudo apt install -y $(rosdep check --from-paths . --ignore-src --rosdistro iron | sed -n 's/^apt\s\+//p' | tr '\n' ' ')"
22+
23+
- name: Pull source code for libraries and install dependencies
24+
run: make install HTTPS=true ARGS="-ci"
25+
3126
- name: Set up colcon workspace
3227
run: |
3328
mkdir -p /colcon_ws/src
3429
ln -s $(realpath .) /colcon_ws/src/bitbots_meta
30+
3531
- name: Build packages
3632
run: |
3733
. /opt/ros/iron/setup.sh
3834
colcon build --symlink-install
3935
working-directory: /colcon_ws
36+
37+
- name: Test packages
38+
run: |
39+
# Source workspace
40+
. /opt/ros/iron/setup.sh
41+
. install/setup.sh
42+
# Run tests for all packages
43+
colcon test --packages-skip-regex pylon --event-handlers console_direct+ --return-code-on-test-failure --parallel-workers 1
44+
working-directory: /colcon_ws

.github/workflows/pre-commit.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Code style checks
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v4
14+
- name: Install cppcheck
15+
run: sudo apt install cppcheck -y
16+
- uses: pre-commit/[email protected]

.gitignore

+215-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,213 @@
1+
# auto-generated documentation
2+
**/docs/_build
3+
**/docs/_out
4+
**/docs/cppapi
5+
**/docs/pyapi
6+
7+
# User-specific stuff:
8+
.idea/workspace.xml
9+
.idea/tasks.xml
10+
.idea/*
11+
12+
**/.idea/
13+
**/cmake-build-debug/
14+
15+
# Sensitive or high-churn files:
16+
.idea/dataSources/
17+
.idea/dataSources.ids
18+
.idea/dataSources.xml
19+
.idea/dataSources.local.xml
20+
.idea/sqlDataSources.xml
21+
.idea/dynamic.xml
22+
.idea/uiDesigner.xml
23+
24+
# Gradle:
25+
.idea/gradle.xml
26+
.idea/libraries
27+
28+
# Mongo Explorer plugin:
29+
.idea/mongoSettings.xml
30+
31+
## File-based project format:
32+
*.iws
33+
34+
## Plugin-specific files:
35+
36+
# IntelliJ
37+
/out/
38+
39+
# mpeltonen/sbt-idea plugin
40+
.idea_modules/
41+
42+
# JIRA plugin
43+
atlassian-ide-plugin.xml
44+
45+
# Crashlytics plugin (for Android Studio and IntelliJ)
46+
com_crashlytics_export_strings.xml
47+
crashlytics.properties
48+
crashlytics-build.properties
49+
fabric.properties
50+
51+
### ROS template
52+
build/
53+
bin/
54+
lib/
55+
msg_gen/
56+
srv_gen/
57+
msg/*Action.msg
58+
msg/*ActionFeedback.msg
59+
msg/*ActionGoal.msg
60+
msg/*ActionResult.msg
61+
msg/*Feedback.msg
62+
msg/*Goal.msg
63+
msg/*Result.msg
64+
msg/_*.py
65+
66+
# Generated by dynamic reconfigure
67+
*.cfgc
68+
/cfg/cpp/
69+
/cfg/*.py
70+
71+
*/cfg/cpp/
72+
*/src/*/cfg/*.py
73+
74+
# Ignore generated docs
75+
*.dox
76+
*.wikidoc
77+
78+
# eclipse stuff
79+
.project
80+
.cproject
81+
82+
# qcreator stuff
83+
CMakeLists.txt.user
84+
85+
srv/_*.py
86+
*.pcd
87+
*.pyc
88+
qtcreator-*
89+
*.user
90+
91+
/planning/cfg
92+
/planning/docs
93+
/planning/src
94+
95+
*~
96+
97+
# Emacs
98+
.#*
99+
100+
# Catkin custom files
101+
CATKIN_IGNORE
102+
### Python template
103+
# Byte-compiled / optimized / DLL files
104+
__pycache__/
105+
*.py[cod]
106+
*$py.class
107+
108+
# C extensions
109+
*.so
110+
111+
# Distribution / packaging
112+
.Python
113+
env/
114+
develop-eggs/
115+
dist/
116+
downloads/
117+
eggs/
118+
.eggs/
119+
lib64/
120+
parts/
121+
sdist/
122+
var/
123+
*.egg-info/
124+
.installed.cfg
125+
*.egg
126+
127+
# PyInstaller
128+
# Usually these files are written by a python script from a template
129+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
130+
*.manifest
131+
*.spec
132+
133+
# Installer logs
134+
pip-log.txt
135+
pip-delete-this-directory.txt
136+
137+
# Unit test / coverage reports
138+
htmlcov/
139+
.tox/
140+
.coverage
141+
.coverage.*
142+
.cache
143+
nosetests.xml
144+
coverage.xml
145+
*,cover
146+
.hypothesis/
147+
148+
# Translations
149+
*.mo
150+
*.pot
151+
152+
# Django stuff:
153+
*.log
154+
local_settings.py
155+
156+
# Flask stuff:
157+
instance/
158+
.webassets-cache
159+
160+
# Scrapy stuff:
161+
.scrapy
162+
163+
# Sphinx documentation
164+
docs/_build/
165+
166+
# PyBuilder
167+
target/
168+
169+
# Jupyter Notebook
170+
.ipynb_checkpoints
171+
172+
# pyenv
173+
.python-version
174+
.pyenv2
175+
176+
# celery beat schedule file
177+
celerybeat-schedule
178+
179+
# dotenv
180+
.env
181+
182+
# virtualenv
183+
.venv/
184+
venv/
185+
ENV/
186+
187+
# Spyder project settings
188+
.spyderproject
189+
190+
# Rope project settings
191+
.ropeproject
192+
193+
# Ruff cache
194+
.ruff_cache
195+
196+
ansible_robots
197+
ansible_labor
198+
ansible
199+
bitbots_docs_internal
200+
201+
**/.ideacache
202+
203+
**/__pycache__
204+
**/cmake-build-*
205+
206+
# Neural Network Model Path
207+
/bitbots_vision/models/
208+
/bitbots_motion/bitbots_rl_motion/rl_walk_models/
209+
210+
**/.*.
1211
.idea/*
2212
*.pyc
3213
.pyenv2/*
@@ -6,10 +216,10 @@
6216
ansible_robots/*
7217
doc_internal/*
8218
doku/*
9-
human_pose_estimation_openvino/*
10219

11-
# Exclude autogenerated documentation files
12-
doc/_build
13-
architecture/Wolfgang.svg
14-
architecture/Wolfgang.html
220+
# library subdirectories
221+
/lib/
222+
223+
# Path to the protocol buffer definitions, which are a diffrerent repository and managed by vcstool
224+
/humanoid_league_misc/humanoid_league_team_communication/humanoid_league_team_communication/RobocupProtocol
15225

0 commit comments

Comments
 (0)