Skip to content

Commit 2a4eaca

Browse files
committed
Merge upstream/main into refactor-drive-launch
Resolved conflicts by keeping refactor-drive-launch's approach: - Deleted obsolete sim launch files (bringup, control, spawn, athena_drive_sim_controllers.yaml) - Kept use_sim arg (vs use_mock_hardware) for ros2_control xacro - Added sensor instantiations (IMU, GPS, ground truth odom, depth camera) to athena_drive.urdf.xacro - Kept all 4 steer joints in athena_drive_macro.ros2_control.xacro - Added LED/killswitch GPIO controller configs to drive controllers yaml - Kept refactored separate-launch-file approach in athena_drive.launch.py - Kept use_sim_time=True on bridge nodes; fixed comment style in joystick publishers
2 parents ce2e7e4 + 96f96ab commit 2a4eaca

126 files changed

Lines changed: 8518 additions & 1875 deletions

File tree

Some content is hidden

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

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.tif filter=lfs diff=lfs merge=lfs -text
2+
*.dae filter=lfs diff=lfs merge=lfs -text

.github/workflows/main.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,37 @@ name: ROS2 Build
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88
workflow_dispatch:
9+
910
jobs:
1011
build:
1112
runs-on: ubuntu-22.04
1213
container:
1314
image: ros:humble-ros-base
14-
15+
1516
steps:
1617
- name: Checkout repository
17-
uses: actions/checkout@v4
18-
- name: Install dependencies
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: '3.10'
24+
25+
- name: Install Python dependencies
26+
run: python3 -m pip install -r requirements.txt
27+
28+
- name: Install system dependencies
1929
run: |
2030
apt-get update
21-
apt-get install -y python3-colcon-common-extensions
31+
bash dependencies.sh
2232
rosdep update
2333
rosdep install --from-paths . --ignore-src -r -y
2434
shell: bash
25-
35+
2636
- name: Build workspace
2737
run: |
2838
source /opt/ros/humble/setup.bash

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,3 +207,5 @@ cython_debug/
207207
*.out
208208
*.app
209209

210+
.DS_Store
211+
*.mcap

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "src/third-party/zed-ros2-wrapper"]
2+
path = src/third-party/zed-ros2-wrapper
3+
url = https://github.com/stereolabs/zed-ros2-wrapper.git

.vscode/settings.json

Lines changed: 0 additions & 69 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
This repository contains all the code for UMDLoop's 2025-26 rover, Athena.
44

5+
When cloning, be sure to use `git clone --recursive [URL to Git repository]` to pull in the submodules found in `src/third-party`. Alternatively, run `git submodule update --init --recursive` if you have already cloned.
6+
57
## How To Contribute
68

79
### Learning Git
@@ -55,7 +57,7 @@ Your PR will be reviewed by your lead, and once approved, it will be merged into
5557

5658
2. **Install required dependencies**
5759
```bash
58-
rosdep install --from-paths src/athena-code -y --ignore-src
60+
rosdep install --from-paths src y --ignore-src
5961
```
6062

6163
3. **Build the workspace**
@@ -78,4 +80,4 @@ _Virtual:_
7880
5. **Launch a subsystem!**
7981
```bash
8082
./src/athena-code/src/tools/scripts/<subsystem>_launch.sh
81-
```
83+
```

dependencies.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
set -euo pipefail
4+
5+
pkgs=(
6+
python3-colcon-common-extensions
7+
libgeographic-dev
8+
geographiclib-tools
9+
)
10+
11+
for pkg in "${pkgs[@]}"; do
12+
apt-get install -y "$pkg"
13+
done

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pygame
2+
catkin_pkg
3+
empy==3.3.4
4+
lark
5+
numpy

src/description/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ install(DIRECTORY
1111
config
1212
launch
1313
meshes
14+
models
1415
rviz
1516
ros2_control
1617
urdf
18+
worlds
1719
DESTINATION share/${PROJECT_NAME}/
1820
)
1921

src/description/models/terrain_world/meshes/terrain.dae

Lines changed: 3 additions & 120 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)