Skip to content

Commit

Permalink
Merge branch 'main' into feat/frequent-log-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
SakodaShintaro authored Feb 14, 2025
2 parents d7a3c32 + 92b3d78 commit 13a1a78
Show file tree
Hide file tree
Showing 222 changed files with 29,362 additions and 6,831 deletions.
31 changes: 8 additions & 23 deletions .github/workflows/github-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ name: github-release

on:
push:
branches:
- beta/v*
tags:
- v*
- "[0-9]+.[0-9]+.[0-9]+"
workflow_dispatch:
inputs:
beta-branch-or-tag-name:
description: The name of the beta branch or tag to release
tag-name:
description: The name of the tag to release
type: string
required: true

Expand All @@ -25,36 +23,24 @@ jobs:
id: set-tag-name
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
REF_NAME="${{ github.event.inputs.beta-branch-or-tag-name }}"
REF_NAME="${{ github.event.inputs.tag-name }}"
else
REF_NAME="${{ github.ref_name }}"
fi
echo "ref-name=$REF_NAME" >> $GITHUB_OUTPUT
echo "tag-name=${REF_NAME#beta/}" >> $GITHUB_OUTPUT
echo "tag-name=$REF_NAME" >> $GITHUB_OUTPUT
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ steps.set-tag-name.outputs.ref-name }}

- name: Set target name for beta branches
id: set-target-name
run: |
if [[ "${{ steps.set-tag-name.outputs.ref-name }}" =~ "beta/" ]]; then
echo "target-name=${{ steps.set-tag-name.outputs.ref-name }}" >> $GITHUB_OUTPUT
fi
- name: Create a local tag for beta branches
run: |
if [ "${{ steps.set-target-name.outputs.target-name }}" != "" ]; then
git tag "${{ steps.set-tag-name.outputs.tag-name }}"
fi
ref: ${{ steps.set-tag-name.outputs.tag-name }}

- name: Run generate-changelog
id: generate-changelog
uses: autowarefoundation/autoware-github-actions/generate-changelog@v1
with:
git-cliff-args: --tag-pattern "^(\d+)\.(\d+)\.(\d+)$" --latest

- name: Select verb
id: select-verb
Expand All @@ -74,7 +60,6 @@ jobs:
run: |
gh release ${{ steps.select-verb.outputs.verb }} "${{ steps.set-tag-name.outputs.tag-name }}" \
--draft \
--target "${{ steps.set-target-name.outputs.target-name }}" \
--title "Release ${{ steps.set-tag-name.outputs.tag-name }}" \
--notes "$NOTES"
env:
Expand Down
9 changes: 8 additions & 1 deletion .pre-commit-config-optional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
# https://github.com/autowarefoundation/sync-file-templates
# To make changes, update the source repository and follow the guidelines in its README.

# https://pre-commit.ci/#configuration
ci:
autofix_commit_msg: "style(pre-commit-optional): autofix"
# we already have our own daily update mechanism, we set this to quarterly
autoupdate_schedule: quarterly
autoupdate_commit_msg: "ci(pre-commit-optional): quarterly autoupdate"

repos:
- repo: https://github.com/tcort/markdown-link-check
rev: v3.13.6
rev: v3.12.2
hooks:
- id: markdown-link-check
args: [--quiet, --config=.markdown-link-check.json]
25 changes: 25 additions & 0 deletions autoware_dependency_checker/CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package autoware_dependency_checker
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.1.0 (2025-01-28)
------------------
* unify version to 0.0.0
* feat(dependency_checker): add dependency checker script (`#89 <https://github.com/autowarefoundation/autoware_tools/issues/89>`_)
* add dependency_checker
* fix
* style(pre-commit): autofix
* fix bag
* apply markdownlint
* fix typo
Co-authored-by: Yutaka Kondo <[email protected]>
fix typo
Co-authored-by: Yutaka Kondo <[email protected]>
* add dep ament_cmake
* fix based on shellcheck
* fix words
* add cspell ignore
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Yutaka Kondo <[email protected]>
* Contributors: Masaki Baba, Yutaka Kondo
16 changes: 16 additions & 0 deletions bag2lanelet/CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package bag2lanelet
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.1.0 (2025-01-28)
------------------
* feat(bag2lanelet): add bag2lanelet package (`#6 <https://github.com/autowarefoundation/autoware_tools/issues/6>`_)
* feat(bag2lanelet): add bag2lanelet package
* apply pre-commit
* add maintainer
* fix typo
* fix packages.xml
* style(pre-commit): autofix
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Contributors: Takamasa Horibe
2 changes: 1 addition & 1 deletion bag2lanelet/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>bag2lanelet</name>
<version>0.0.0</version>
<version>0.1.0</version>
<description>The bag2lanelet package</description>
<maintainer email="[email protected]">Shinnosuke Hirakawa</maintainer>
<maintainer email="[email protected]">Taiki Tanaka</maintainer>
Expand Down
86 changes: 86 additions & 0 deletions common/autoware_debug_tools/CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package autoware_debug_tools
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.1.0 (2025-01-28)
------------------
* feat: use autoware_internal_debug_msgs in processing_time_plotter.py (`#184 <https://github.com/autowarefoundation/autoware_tools/issues/184>`_)
* feat: use autoware_internal_debug_msgs in processing_time_plotter.py
* fix typo: argment -> argument
* fix typo: LINESTYLES -> LINE_STYLES
---------
* chore: sync files (`#11 <https://github.com/autowarefoundation/autoware_tools/issues/11>`_)
Co-authored-by: github-actions <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat(autoware_debug_tools): add rosout_log_reconstructor.py (`#160 <https://github.com/autowarefoundation/autoware_tools/issues/160>`_)
* feat(autoware_debug_tools): add rosout_log_reconstructor.py
* update README.md
---------
* fix: to plot "exe_time_ms" of ndt_scan_matcher (`#161 <https://github.com/autowarefoundation/autoware_tools/issues/161>`_)
* Fixed to plot "exe_time_ms" of ndt_scan_matcher
* style(pre-commit): autofix
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Added maintainers (`#162 <https://github.com/autowarefoundation/autoware_tools/issues/162>`_)
* feat(autoware_debug_tools): add topic connection checker (`#132 <https://github.com/autowarefoundation/autoware_tools/issues/132>`_)
* feat: add topic connection checker, first commit as a proposal
* style(pre-commit): autofix
* implement diagnostic based topic settings; implement the topic localization
* temp
* refactor the codes
* add readme for topic connection checker
* test with debug
* style(pre-commit): autofix
* fix flake8
* ignore rviz2 node, ignore hyper-linked files
* style(pre-commit): autofix
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix(system_usage_monitor): change the node search method (`#137 <https://github.com/autowarefoundation/autoware_tools/issues/137>`_)
* Fixed the node search method
* Added a comment
---------
* feat: add "skip_plt_show" arg to plotter (`#136 <https://github.com/autowarefoundation/autoware_tools/issues/136>`_)
* Added "skip_plt_show" arg to plotter
* style(pre-commit): autofix
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: enable to choose topic with argument (`#95 <https://github.com/autowarefoundation/autoware_tools/issues/95>`_)
* feat(autoware_debug_tools): processing time total processing tree (`#92 <https://github.com/autowarefoundation/autoware_tools/issues/92>`_)
* feat: add total processing time tree to processing time visualizer
* feat: add percentage of processing time
* feat: add rest of the measured timekeepers
* style(pre-commit): autofix
* feat: print average first and the worst case next
* style(pre-commit): autofix
* feat: refactor processing time tree sum method to summarize_tree
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat(autoware_debug_tools): add system performance plotter (`#91 <https://github.com/autowarefoundation/autoware_tools/issues/91>`_)
* feat(autoware_debug_tools): add system performance plotter
* update README
* fix README.md
---------
* feat(processing_time_visualizer): add summarize option (`#90 <https://github.com/autowarefoundation/autoware_tools/issues/90>`_)
* add summarize feature
* add summarize
* style(pre-commit): autofix
* fix typo
* make summarize option dynamic
* apply suggestion
* style(pre-commit): autofix
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Y.Hisaki <[email protected]>
* fix(autoware_debug_tools): the image of system_usage_monitor was wrong (`#87 <https://github.com/autowarefoundation/autoware_tools/issues/87>`_)
* feat(autoware_dubug_tools): add function to report worst time when r is pressed at the end (`#86 <https://github.com/autowarefoundation/autoware_tools/issues/86>`_)
* feat(autoware_debug_tools): add system_usage_monitor.py (`#85 <https://github.com/autowarefoundation/autoware_tools/issues/85>`_)
* feat(autoware_debug_tools): add system_usage_monitor.py
* publish system usage
---------
* feat(autoware_debug_tools): add processing time visualizer (`#75 <https://github.com/autowarefoundation/autoware_tools/issues/75>`_)
* feat(autoware_debug_tools): add processing time visualizer
* ignore spell check
* update everythings
---------
* Contributors: Masaki Baba, SakodaShintaro, Taekjin LEE, Takayuki Murooka, Yoshi Ri, Yukinari Hisaki, Yuxuan Liu, awf-autoware-bot[bot]
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .system_performance_plotter_base import PREDEFINED_COMPONENT_NAMES
from .system_performance_plotter_base import SystemPerformancePlotterBase
from .system_performance_plotter_base import create_common_argment
from .system_performance_plotter_base import create_common_argument


class CpuUsagePlotter(SystemPerformancePlotterBase):
Expand Down Expand Up @@ -43,7 +43,7 @@ def update_metrics_func(self, topic_name, data, date_time):


def main():
args = create_common_argment(100)
args = create_common_argument(100)
plotter = CpuUsagePlotter(args, "CPU Usage [%]", "_cpu_usage")
plotter.run()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .system_performance_plotter_base import PREDEFINED_COMPONENT_NAMES
from .system_performance_plotter_base import SystemPerformancePlotterBase
from .system_performance_plotter_base import create_common_argment
from .system_performance_plotter_base import create_common_argument


class MemoryUsagePlotter(SystemPerformancePlotterBase):
Expand Down Expand Up @@ -43,7 +43,7 @@ def update_metrics_func(self, topic_name, data, date_time):


def main():
args = create_common_argment()
args = create_common_argument()
plotter = MemoryUsagePlotter(args, "Memory Usage [MiB]", "_memory_usage")
plotter.run()

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/usr/bin/env python3

from tier4_debug_msgs.msg import Float32Stamped
from tier4_debug_msgs.msg import Float64Stamped
from autoware_internal_debug_msgs.msg import Float32Stamped
from autoware_internal_debug_msgs.msg import Float64Stamped
from tier4_debug_msgs.msg import Float32Stamped as Tier4Float32Stamped
from tier4_debug_msgs.msg import Float64Stamped as Tier4Float64Stamped

from .system_performance_plotter_base import PREDEFINED_COMPONENT_NAMES
from .system_performance_plotter_base import SystemPerformancePlotterBase
from .system_performance_plotter_base import create_common_argment
from .system_performance_plotter_base import create_common_argument


class ProcessingTimePlotter(SystemPerformancePlotterBase):
Expand All @@ -30,7 +32,12 @@ def check_topic(self, topic_name):
return True

def update_metrics_func(self, topic_name, data, date_time):
if not isinstance(data, Float64Stamped) and not isinstance(data, Float32Stamped):
if (
not isinstance(data, Tier4Float64Stamped)
and not isinstance(data, Tier4Float32Stamped)
and not isinstance(data, Float64Stamped)
and not isinstance(data, Float32Stamped)
):
return

if topic_name not in self.stamp_and_metrics:
Expand All @@ -43,7 +50,7 @@ def update_metrics_func(self, topic_name, data, date_time):


def main():
args = create_common_argment(100)
args = create_common_argument(100)
plotter = ProcessingTimePlotter(args, "Processing Time [ms]", "_processing_time")
plotter.run()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"control",
"system",
]
LINESTYLES = ["solid", "dashed"]
NUM_LINESTYLES = len(LINESTYLES)
LINE_STYLES = ["solid", "dashed"]
NUM_LINE_STYLES = len(LINE_STYLES)
COLORS = plt.get_cmap("tab20")
NUM_COLORS = len(COLORS.colors)

Expand Down Expand Up @@ -118,7 +118,7 @@ def run(self):
stamp = raw_data_arr[:, 0]
rate = raw_data_arr[:, 1]
color = COLORS(idx % NUM_COLORS)
linestyle = LINESTYLES[(idx // NUM_COLORS) % NUM_LINESTYLES]
linestyle = LINE_STYLES[(idx // NUM_COLORS) % NUM_LINE_STYLES]
ax.plot(stamp, rate, label=name, color=color, linestyle=linestyle)

self.report_data[name].append(np.round(rate.mean(), 3))
Expand Down Expand Up @@ -179,7 +179,7 @@ def run(self):
plt.show()


def create_common_argment(ymax=None):
def create_common_argument(ymax=None):
parser = argparse.ArgumentParser(description="report system performance from rosbag.")
parser.add_argument("bag_file", help="input bagfile")
parser.add_argument("-c", "--component-name", default="all", type=str, help="component name")
Expand Down
2 changes: 1 addition & 1 deletion common/autoware_debug_tools/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>autoware_debug_tools</name>
<version>0.0.0</version>
<version>0.1.0</version>
<description>The autoware_debug_tools package</description>
<maintainer email="[email protected]">Yukinari Hisaki</maintainer>
<maintainer email="[email protected]">Satoshi Ota</maintainer>
Expand Down
2 changes: 1 addition & 1 deletion common/autoware_debug_tools/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name=package_name,
version="0.0.0",
version="0.1.0",
packages=find_packages(exclude=["test"]),
data_files=[
("share/ament_index/resource_index/packages", ["resource/" + package_name]),
Expand Down
13 changes: 13 additions & 0 deletions common/autoware_sample_vehicle_description/CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package autoware_sample_vehicle_description
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.1.0 (2025-01-28)
------------------
* unify version to 0.0.0
* test(static_centerline_generator): add launch test with autoware_sample_vehicle_launch package (`#190 <https://github.com/autowarefoundation/autoware_tools/issues/190>`_)
* test(static_centerline_generator): add launch test with autoware_sample_vehicle_launch package
* fix
* fix dependency to autoware_launch
---------
* Contributors: Takayuki Murooka, Yutaka Kondo
12 changes: 12 additions & 0 deletions common/autoware_sample_vehicle_description/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
cmake_minimum_required(VERSION 3.14)
project(autoware_sample_vehicle_description)

find_package(autoware_cmake REQUIRED)
find_package(xacro REQUIRED)
autoware_package()

ament_auto_package(INSTALL_TO_SHARE
mesh
urdf
config
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**:
ros__parameters:
mirror:
min_longitudinal_offset: 7.00
max_longitudinal_offset: 8.00
min_lateral_offset: -1.60
max_lateral_offset: 1.55
min_height_offset: 1.65
max_height_offset: 2.60
tire:
min_longitudinal_offset: 4.60
max_longitudinal_offset: 5.80
min_lateral_offset: -1.55
max_lateral_offset: 1.55
min_height_offset: 0.00
max_height_offset: 1.20
Loading

0 comments on commit 13a1a78

Please sign in to comment.