-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ozan/add_auv_vision
- Loading branch information
Showing
115 changed files
with
1,133 additions
and
1,055 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
BasedOnStyle: Google | ||
--- | ||
BasedOnStyle: Google |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
github: [senceryazici, ituauvteam] | ||
buy_me_a_coffee: ituauvteam | ||
custom: ["https://auv.itu.edu.tr/sponsorship.html"] |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
name: main docker images | ||
|
||
on: | ||
|
@@ -7,8 +8,8 @@ on: | |
description: 'Type of image to build [main, base]' | ||
required: true | ||
type: string | ||
concurrency: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.pull_request.number) || github.ref }} | ||
cancel-in-progress: true | ||
|
||
|
@@ -21,7 +22,7 @@ env: | |
jobs: | ||
build-and-push: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -47,7 +48,7 @@ jobs: | |
uses: docker/setup-qemu-action@v3 | ||
with: | ||
platforms: ${{ matrix.platform }} | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
|
@@ -98,7 +99,6 @@ jobs: | |
# build-and-push-arm64: | ||
# runs-on: self-hosted | ||
|
||
# strategy: | ||
# matrix: | ||
# host: [tegra] | ||
|
@@ -115,7 +115,6 @@ jobs: | |
# uses: docker/setup-qemu-action@v3 | ||
# with: | ||
# platforms: ${{ matrix.platform }} | ||
|
||
# - name: Set up Docker Buildx | ||
# uses: docker/[email protected] | ||
# with: | ||
|
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Pre-commit Checks | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
pre-commit: | ||
name: Run Pre-commit Checks | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
|
||
- name: Install pre-commit | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pre-commit | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y clang-format libxml2-utils | ||
- name: Run pre-commit | ||
run: pre-commit run --all-files | ||
|
||
- name: Check for modifications | ||
run: git diff --exit-code |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v5.0.0 | ||
hooks: | ||
- id: check-yaml | ||
files: \.(yaml|yml)$ | ||
- id: check-xml | ||
files: \.(xml|launch|launch\.xml|sdf|urdf\.xacro|xacro|urdf)$|model\.config$ | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: destroyed-symlinks | ||
- id: check-executables-have-shebangs | ||
exclude: \.cpp|\.cxx|\.hpp|\.h$ | ||
- id: forbid-submodules | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt | ||
rev: 0.2.3 | ||
hooks: | ||
- id: yamlfmt | ||
args: [--mapping, "2", --sequence, "4", --offset, "2", --width, "150", --preserve-quotes] | ||
exclude: ^auv_bringup/config/ekf.yaml$ | ||
- repo: https://github.com/lsst-ts/pre-commit-xmllint | ||
rev: v1.0.0 | ||
hooks: | ||
- id: format-xmllint | ||
files: \.(xml|launch|launch\.xml|sdf|urdf\.xacro|xacro|urdf)$|model\.config$ | ||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v19.1.5 | ||
hooks: | ||
- id: clang-format | ||
files: \.(cpp|h|hpp)$ | ||
- repo: https://github.com/psf/black | ||
rev: 24.8.0 | ||
hooks: | ||
- id: black | ||
language_version: python3 | ||
files: \.py$ |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
--- | ||
/env/sound_speed: 1500 |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
shutdown_costmaps: false | ||
controller_frequency: 10.0 | ||
planner_patience: 5.0 | ||
|
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
36 changes: 15 additions & 21 deletions
36
auv_bringup/launch/inc/boards/start_expansion_board_bridge.launch.xml
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 |
---|---|---|
@@ -1,30 +1,24 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="namespace" default="turquoise" /> | ||
<arg name="port" default="/dev/ttyACM0" /> | ||
<arg name="baudrate" default="1500000" /> | ||
<arg name="virtual_port" default="/tmp/vcom0" /> | ||
<arg name="respawn" default="true" /> | ||
|
||
<arg name="namespace" default="turquoise"/> | ||
<arg name="port" default="/dev/ttyACM0"/> | ||
<arg name="baudrate" default="1500000"/> | ||
<arg name="virtual_port" default="/tmp/vcom0"/> | ||
<arg name="respawn" default="true"/> | ||
<group ns="$(arg namespace)"> | ||
<!-- start expansion board bridge --> | ||
<node pkg="rosserial_python" type="serial_node.py" name="expansion_board_bridge_node" | ||
args="$(arg port) _baud:=$(arg baudrate)" output="screen" respawn="$(arg respawn)" /> | ||
|
||
<node pkg="rosserial_python" type="serial_node.py" name="expansion_board_bridge_node" args="$(arg port) _baud:=$(arg baudrate)" output="screen" respawn="$(arg respawn)"/> | ||
<!-- start serial to ros bridge --> | ||
<node pkg="auv_hardware_bridge" type="serial_to_ros_bridge_node" | ||
name="expansion_serial_to_ros_bridge_node" output="screen" respawn="$(arg respawn)"> | ||
<param name="virtual_port" value="$(arg virtual_port)" /> | ||
<remap from="incoming" to="board/serial_port/incoming" /> | ||
<remap from="outgoing" to="board/serial_port/outgoing" /> | ||
<node pkg="auv_hardware_bridge" type="serial_to_ros_bridge_node" name="expansion_serial_to_ros_bridge_node" output="screen" respawn="$(arg respawn)"> | ||
<param name="virtual_port" value="$(arg virtual_port)"/> | ||
<remap from="incoming" to="board/serial_port/incoming"/> | ||
<remap from="outgoing" to="board/serial_port/outgoing"/> | ||
</node> | ||
|
||
<!-- start remapper node: depth -> pose --> | ||
<node pkg="auv_hardware_bridge" type="expansion_bridge_remapper_node.py" | ||
name="expansion_bridge_remapper_node" respawn="$(arg respawn)"> | ||
<param name="pressure_sensor_position_covariance" value="0.1" /> | ||
<remap from="depth" to="sensors/external_pressure_sensor/depth" /> | ||
<remap from="pose" to="sensors/external_pressure_sensor/pose" /> | ||
<node pkg="auv_hardware_bridge" type="expansion_bridge_remapper_node.py" name="expansion_bridge_remapper_node" respawn="$(arg respawn)"> | ||
<param name="pressure_sensor_position_covariance" value="0.1"/> | ||
<remap from="depth" to="sensors/external_pressure_sensor/depth"/> | ||
<remap from="pose" to="sensors/external_pressure_sensor/pose"/> | ||
</node> | ||
</group> | ||
</launch> | ||
</launch> |
Oops, something went wrong.