Skip to content

Commit 617ce51

Browse files
committed
Merge branch 'main' of https://github.com/Robotic-Decision-Making-Lab/blue into dev/use_buildx_bake
2 parents 9583ed9 + 4247e6f commit 617ce51

File tree

13 files changed

+60
-47
lines changed

13 files changed

+60
-47
lines changed

.devcontainer/nouveau/devcontainer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
},
2323
"customizations": {
2424
"vscode": {
25+
"settings": {
26+
"python.defaultInterpreterPath": "/home/ubuntu/.venv/blue/bin/python",
27+
"python.autoComplete.extraPaths": ["${workspaceFolder}/install/"],
28+
"python.analysis.extraPaths": ["${workspaceFolder}/install/"]
29+
},
2530
"extensions": [
2631
"ms-azuretools.vscode-docker",
2732
"ms-python.python",

.devcontainer/nvidia/devcontainer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
},
2727
"customizations": {
2828
"vscode": {
29+
"settings": {
30+
"python.defaultInterpreterPath": "/home/ubuntu/.venv/blue/bin/python",
31+
"python.autoComplete.extraPaths": ["${workspaceFolder}/install/"],
32+
"python.analysis.extraPaths": ["${workspaceFolder}/install/"]
33+
},
2934
"extensions": [
3035
"ms-azuretools.vscode-docker",
3136
"ms-python.python",

.devcontainer/robot/devcontainer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
"containerEnv": {},
2424
"customizations": {
2525
"vscode": {
26+
"settings": {
27+
"python.defaultInterpreterPath": "/home/ubuntu/.venv/blue/bin/python",
28+
"python.autoComplete.extraPaths": ["${workspaceFolder}/install/"],
29+
"python.analysis.extraPaths": ["${workspaceFolder}/install/"]
30+
},
2631
"extensions": [
2732
"ms-azuretools.vscode-docker",
2833
"ms-python.python",

.docker/Dockerfile

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,27 @@ RUN . "/opt/ros/${ROS_DISTRO}/setup.sh" \
230230
&& colcon build
231231

232232
# Setup the simulation environment variables
233-
RUN echo "source ${USER_WORKSPACE}/src/blue/.docker/entrypoints/sim.sh" >> /home/$USERNAME/.bashrc
233+
RUN <<EOT cat >> /home/$USERNAME/.bashrc
234+
235+
# Add results of ArduSub build
236+
export PATH=\$HOME/ardupilot/build/sitl/bin:\$PATH
237+
238+
# Optional: add autotest to the PATH, helpful for running sim_vehicle.py
239+
export PATH=\$HOME/ardupilot/Tools/autotest:\$PATH
240+
241+
# Add ardupilot_gazebo plugin
242+
export GZ_SIM_SYSTEM_PLUGIN_PATH=\$HOME/ardupilot_gazebo/build:\$GZ_SIM_SYSTEM_PLUGIN_PATH
243+
244+
# Add ardupilot_gazebo models and worlds
245+
export GZ_SIM_RESOURCE_PATH=\$HOME/ardupilot_gazebo/models:\$HOME/ardupilot_gazebo/worlds:\$GZ_SIM_RESOURCE_PATH
246+
247+
# Add blue models and worlds
248+
BLUE_DESCRIPTION=\$USER_WORKSPACE/src/blue/blue_description
249+
export GZ_SIM_RESOURCE_PATH=\$BLUE_DESCRIPTION/gazebo/models:\$BLUE_DESCRIPTION/gazebo/worlds:\$GZ_SIM_RESOURCE_PATH
250+
251+
# Add blue meshes
252+
export GZ_SIM_RESOURCE_PATH=\$BLUE_DESCRIPTION/meshes:\$GZ_SIM_RESOURCE_PATH
253+
EOT
234254

235255
FROM desktop AS desktop-nvidia
236256

.docker/entrypoints/sim.sh

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

.github/ISSUE_TEMPLATE/documentation.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Documentation Improvement
2-
description: Report an issue related to the BlueROV2 driver documentation.
2+
description: Report an issue related to the Blue documentation.
33
title: "[DOC]: <Please write a descriptive title after the '[DOC]: ' prefix>"
44
labels: [documentation, needs triage]
55

@@ -16,9 +16,9 @@ body:
1616
label: Documentation Change Type
1717
description: Please indicate what type of documentation issue you are reporting.
1818
options:
19-
- Adding new documentation to the BlueROV2 driver documentation
20-
- Changing existing BlueROV2 driver documentation
21-
- Removing existing BlueROV2 driver documentation
19+
- Adding new documentation to the Blue documentation
20+
- Changing existing documentation
21+
- Removing existing documentation
2222
validations:
2323
required: true
2424

.github/mergify.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pull_request_rules:
2-
- name: backport to iron at reviewers discretion
2+
- name: backport to iron at reviewers' discretion
33
conditions:
44
- base=main
55
- "label=backport-iron"
@@ -8,7 +8,7 @@ pull_request_rules:
88
branches:
99
- iron
1010

11-
- name: backport to humble at reviewers discretion
11+
- name: backport to humble at reviewers' discretion
1212
conditions:
1313
- base=main
1414
- "label=backport-humble"
@@ -17,6 +17,15 @@ pull_request_rules:
1717
branches:
1818
- humble
1919

20+
- name: backport to jazzy at reviewers' discretion
21+
conditions:
22+
- base=main
23+
- "label=backport-jazzy"
24+
actions:
25+
backport:
26+
branches:
27+
- jazzy
28+
2029
- name: ask to resolve conflict
2130
conditions:
2231
- conflict

.github/workflows/ci-docs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
- 33-feature-ros2-control
87
pull_request:
98
paths:
109
- docs/**

.vscode/c_cpp_properties.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22
"configurations": [
33
{
44
"name": "Linux",
5-
"includePath": [
6-
"${workspaceFolder}/**",
7-
"/opt/ros/iron/include/**",
8-
"/usr/include/eigen3/**",
9-
"/home/ros/ws_ros/**"
10-
],
5+
"includePath": ["${workspaceFolder}/**", "/opt/ros/rolling/include/**"],
116
"defines": [],
127
"compilerPath": "/usr/bin/gcc",
138
"cStandard": "c99",

.vscode/settings.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@
2323
"autoDocstring.startOnNewLine": false,
2424
"autoDocstring.docstringFormat": "google-notypes",
2525
"python.autoComplete.extraPaths": [
26-
"/opt/ros/iron/lib/python3.10/site-packages/",
27-
"/opt/ros/iron/local/lib/python3.10/dist-packages/",
28-
"${workspaceFolder}/install/"
26+
"/opt/ros/rolling/lib/python3.12/site-packages/",
27+
"/opt/ros/rolling/local/lib/python3.12/dist-packages/"
2928
],
3029
"python.analysis.extraPaths": [
31-
"/opt/ros/iron/lib/python3.10/site-packages/",
32-
"/opt/ros/iron/local/lib/python3.10/dist-packages/",
33-
"${workspaceFolder}/install/"
30+
"/opt/ros/rolling/lib/python3.12/site-packages/",
31+
"/opt/ros/rolling/local/lib/python3.12/dist-packages/"
3432
],
3533
"[python]": {
3634
"editor.tabSize": 4,
@@ -42,7 +40,6 @@
4240
},
4341
"editor.defaultFormatter": "charliermarsh.ruff"
4442
},
45-
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/blue/bin/python",
4643
"[dockerfile]": {
4744
"editor.quickSuggestions": {
4845
"strings": true

docs/docs/tutorials/control.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ tutorial.
1616

1717
The following ROS 2 dependencies are required for this tutorial:
1818

19-
* Gazebo Garden or newer
19+
* Gazebo Harmonic or newer
2020
* [ardusub_driver](https://github.com/Robotic-Decision-Making-Lab/ardusub_driver)
2121
(for use with the BlueROV2 vehicle models)
2222
* [auv_controllers](https://github.com/Robotic-Decision-Making-Lab/auv_controllers)

docs/docs/tutorials/simulation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ project's needs.
1818

1919
This tutorial has the following dependencies:
2020

21-
* Gazebo Garden or newer
21+
* Gazebo Harmonic or newer
2222
* [ardusub_driver](https://github.com/Robotic-Decision-Making-Lab/ardusub_driver)
2323
(for use with the BlueROV2 vehicle models)
2424

docs/docs/tutorials/teleop.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ keyboard.
1717

1818
The following ROS 2 dependencies are required for this tutorial:
1919

20-
* Gazebo Garden or newer
20+
* Gazebo Harmonic or newer
2121
* [ardusub_driver](https://github.com/Robotic-Decision-Making-Lab/ardusub_driver)
2222
* [auv_controllers](https://github.com/Robotic-Decision-Making-Lab/auv_controllers)
2323
* [teleop_twist_keyboard](https://github.com/ros2/teleop_twist_keyboard)
@@ -68,7 +68,7 @@ This tutorial describes how to teleoperate a simulated BlueROV2 using a gamepad.
6868

6969
The following ROS 2 dependencies are needed for this tutorial:
7070

71-
* Gazebo Garden or newer
71+
* Gazebo Harmonic or newer
7272
* [ardusub_driver](https://github.com/Robotic-Decision-Making-Lab/ardusub_driver)
7373
* [auv_controllers](https://github.com/Robotic-Decision-Making-Lab/auv_controllers)
7474
* [mobile_to_maritime](https://github.com/Robotic-Decision-Making-Lab/mobile_to_maritime)

0 commit comments

Comments
 (0)