Skip to content

Commit

Permalink
feat: merge message update
Browse files Browse the repository at this point in the history
Signed-off-by: Hayato Mizushima <[email protected]>
  • Loading branch information
hayato-m126 committed Jan 14, 2025
1 parent 54d183e commit fd0813a
Show file tree
Hide file tree
Showing 14 changed files with 73 additions and 58 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"${workspaceFolder}/../../../install/perception_eval/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/ros2_numpy/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/driving_log_replayer_v2_msgs/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/tier4_debug_msgs/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/autoware_internal_debug_msgs/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/driving_log_replayer_v2_analyzer/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/tier4_localization_msgs/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/tier4_api_msgs/local/lib/python3.10/dist-packages",
Expand All @@ -52,7 +52,7 @@
"${workspaceFolder}/../../../install/perception_eval/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/ros2_numpy/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/driving_log_replayer_v2_msgs/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/tier4_debug_msgs/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/autoware_internal_debug_msgs/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/driving_log_replayer_v2_analyzer/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/tier4_localization_msgs/local/lib/python3.10/dist-packages",
"${workspaceFolder}/../../../install/tier4_api_msgs/local/lib/python3.10/dist-packages",
Expand Down
8 changes: 8 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ Major changes
| `planning_control` | use case | add planning_control_evaluator | [#43](https://github.com/tier4/driving_log_replayer_v2/pull/43) | [hayato-m126](https://github.com/hayato-m126) |
| `diagnostics` | use case | add diagnostics_evaluator | [#42](https://github.com/tier4/driving_log_replayer_v2/pull/42) | [hayato-m126](https://github.com/hayato-m126) |

## Version 2.6.0

Major changes

| Module | Feature | Brief summary | Pull request | Jira | Contributor |
| ------ | ------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------- | --------------------------------------------------- |
| `all` | message | replace `tier4_debug_msgs` with `autoware_internal_debug_msgs` | [#589](https://github.com/tier4/driving_log_replayer/pull/589) | RT1-9020 | [SakodaShintaro](https://github.com/SakodaShintaro) |

## Version 2.5.0

Major changes
Expand Down
18 changes: 8 additions & 10 deletions dependency.repos
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
repositories:
# core
core/autoware_msgs:
autoware/autoware_msgs:
type: git
url: https://github.com/autowarefoundation/autoware_msgs.git
version: 1.3.0
core/autoware_adapi_msgs:
autoware/autoware_adapi_msgs:
type: git
url: https://github.com/autowarefoundation/autoware_adapi_msgs.git
version: beta/1.7.0
core/autoware_internal_msgs:
autoware/autoware_internal_msgs:
type: git
url: https://github.com/autowarefoundation/autoware_internal_msgs.git
version: 1.1.0
core/autoware_cmake:
version: 1.3.0
autoware/autoware_cmake:
type: git
url: https://github.com/autowarefoundation/autoware_cmake.git
version: 1.0.0
core/autoware_utils:
autoware/autoware_utils:
type: git
url: https://github.com/autowarefoundation/autoware_utils.git
version: 1.0.0
core/autoware_lanelet2_extension:
autoware/autoware_lanelet2_extension:
type: git
url: https://github.com/autowarefoundation/autoware_lanelet2_extension.git
version: 0.6.2
# universe
universe/external/tier4_autoware_msgs:
autoware/tier4_autoware_msgs:
type: git
url: https://github.com/tier4/tier4_autoware_msgs.git
version: tier4/universe
Expand Down
22 changes: 11 additions & 11 deletions docs/use_case/localization.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,17 @@ The NDT availability evaluation output is marked as `Error` when conditions for

Subscribed topics:

| Topic name | Data type |
| -------------------------------------------------------------------- | ----------------------------------- |
| /diagnostics | diagnostic_msgs/msg/DiagnosticArray |
| /localization/pose_estimator/transform_probability | tier4_debug_msgs/msg/Float32Stamped |
| /localization/pose_estimator/nearest_voxel_transformation_likelihood | tier4_debug_msgs/msg/Float32Stamped |
| /localization/pose_estimator/initial_to_result_relative_pose | geometry_msgs/msg/PoseStamped |
| /localization/pose_estimator/exe_time_ms | tier4_debug_msgs/msg/Float32Stamped |
| /localization/pose_estimator/iteration_num | tier4_debug_msgs/msg/Int32Stamped |
| /tf | tf2_msgs/msg/TFMessage |
| /localization/util/downsample/pointcloud | sensor_msgs/msg/PointCloud2 |
| /localization/pose_estimator/points_aligned | sensor_msgs/msg/PointCloud2 |
| Topic name | Data type |
| -------------------------------------------------------------------- | ------------------------------------------------- |
| /diagnostics | diagnostic_msgs::msg::DiagnosticArray |
| /localization/pose_estimator/transform_probability | autoware_internal_debug_msgs::msg::Float32Stamped |
| /localization/pose_estimator/nearest_voxel_transformation_likelihood | autoware_internal_debug_msgs::msg::Float32Stamped |
| /localization/pose_estimator/initial_to_result_relative_pose | geometry_msgs::msg::PoseStamped |
| /localization/pose_estimator/exe_time_ms | autoware_internal_debug_msgs::msg::Float32Stamped |
| /localization/pose_estimator/iteration_num | autoware_internal_debug_msgs::msg::Int32Stamped |
| /tf | tf2_msgs/msg/TFMessage |
| /localization/util/downsample/pointcloud | sensor_msgs::msg::PointCloud2 |
| /localization/pose_estimator/points_aligned | sensor_msgs::msg::PointCloud2 |

Published topics:

Expand Down
22 changes: 11 additions & 11 deletions docs/use_case/localization.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,17 @@ Component State Monitorが出力する `/diagnostics` の中から、監視ト

Subscribed topics:

| topic 名 | データ型 |
| -------------------------------------------------------------------- | ----------------------------------- |
| /diagnostics | diagnostic_msgs/msg/DiagnosticArray |
| /localization/pose_estimator/transform_probability | tier4_debug_msgs/msg/Float32Stamped |
| /localization/pose_estimator/nearest_voxel_transformation_likelihood | tier4_debug_msgs/msg/Float32Stamped |
| /localization/pose_estimator/initial_to_result_relative_pose | geometry_msgs/msg/PoseStamped |
| /localization/pose_estimator/exe_time_ms | tier4_debug_msgs/msg/Float32Stamped |
| /localization/pose_estimator/iteration_num | tier4_debug_msgs/msg/Int32Stamped |
| /tf | tf2_msgs/msg/TFMessage |
| /localization/util/downsample/pointcloud | sensor_msgs/msg/PointCloud2 |
| /localization/pose_estimator/points_aligned | sensor_msgs/msg/PointCloud2 |
| topic 名 | データ型 |
| -------------------------------------------------------------------- | ------------------------------------------------- |
| /diagnostics | diagnostic_msgs::msg::DiagnosticArray |
| /localization/pose_estimator/transform_probability | autoware_internal_debug_msgs::msg::Float32Stamped |
| /localization/pose_estimator/nearest_voxel_transformation_likelihood | autoware_internal_debug_msgs::msg::Float32Stamped |
| /localization/pose_estimator/initial_to_result_relative_pose | geometry_msgs::msg::PoseStamped |
| /localization/pose_estimator/exe_time_ms | autoware_internal_debug_msgs::msg::Float32Stamped |
| /localization/pose_estimator/iteration_num | autoware_internal_debug_msgs::msg::Int32Stamped |
| /tf | tf2_msgs/msg/TFMessage |
| /localization/util/downsample/pointcloud | sensor_msgs::msg::PointCloud2 |
| /localization/pose_estimator/points_aligned | sensor_msgs::msg::PointCloud2 |

Published topics:

Expand Down
6 changes: 6 additions & 0 deletions driving_log_replayer_v2/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ Changelog for package driving_log_replayer
---------
* Contributors: Hayato Mizushima, iwatake

2.6.0 (2025-01-14)
------------------
* feat: update message type (`#589 <https://github.com/tier4/driving_log_replayer/issues/589>`_)
Co-authored-by: Shintaro Sakoda <[email protected]>
* Contributors: Hayato Mizushima

2.5.0 (2024-12-19)
------------------
* fix: update lanelet2 extension (`#586 <https://github.com/tier4/driving_log_replayer/issues/586>`_)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
args:
node_name_suffix: ndt_scan_matcher_exe_time
topic: /localization/pose_estimator/exe_time_ms
topic_type: tier4_debug_msgs/msg/Float32Stamped
topic_type: autoware_internal_debug_msgs/msg/Float32Stamped
best_effort: false
transient_local: false
warn_rate: 5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def set_frame(self, msg: DiagnosticArray) -> dict:
diag_array_class[class_name] = {}
diag_array_class[class_name].update(diag_dict)
# evaluate for each class
for class_name in diag_array_class: # noqa PLC0206
for class_name in diag_array_class: # noqa: PLC0206
if self.__container.get(class_name) is None:
# Add default ObjectMetricsClass for metrics aggregation
self.__container[class_name] = ObjectMetrics(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
from typing import ClassVar
from typing import Literal

from autoware_internal_debug_msgs.msg import Float32Stamped
from autoware_internal_debug_msgs.msg import Int32Stamped
from diagnostic_msgs.msg import DiagnosticStatus
from example_interfaces.msg import Float64
from geometry_msgs.msg import PoseStamped
import numpy as np
from pydantic import BaseModel
from rosidl_runtime_py import message_to_ordereddict
from tier4_debug_msgs.msg import Float32Stamped
from tier4_debug_msgs.msg import Int32Stamped

from driving_log_replayer_v2.result import EvaluationItem
from driving_log_replayer_v2.result import ResultBase
Expand Down
2 changes: 1 addition & 1 deletion driving_log_replayer_v2/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<build_depend>autoware_cmake</build_depend>

<depend>autoware_common_msgs</depend>
<depend>autoware_internal_debug_msgs</depend>
<depend>autoware_map_msgs</depend>
<depend>autoware_perception_msgs</depend>
<depend>diagnostic_msgs</depend>
Expand All @@ -29,7 +30,6 @@
<depend>tf2_geometry_msgs</depend>
<depend>tf2_msgs</depend>
<depend>tf2_ros</depend>
<depend>tier4_debug_msgs</depend>
<depend>tier4_localization_msgs</depend>
<depend>tier4_metric_msgs</depend>
<depend>visualization_msgs</depend>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from autoware_internal_debug_msgs.msg import Float32Stamped
from autoware_internal_debug_msgs.msg import Int32Stamped
from diagnostic_msgs.msg import DiagnosticArray
from diagnostic_msgs.msg import DiagnosticStatus
from example_interfaces.msg import Float64
from geometry_msgs.msg import PoseStamped
from tier4_debug_msgs.msg import Float32Stamped
from tier4_debug_msgs.msg import Int32Stamped

from driving_log_replayer_v2.evaluator import DLREvaluatorV2
from driving_log_replayer_v2.evaluator import evaluator_main
Expand Down
4 changes: 2 additions & 2 deletions driving_log_replayer_v2/test/unittest/test_localization.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from autoware_internal_debug_msgs.msg import Float32Stamped
from autoware_internal_debug_msgs.msg import Int32Stamped
from builtin_interfaces.msg import Time
from diagnostic_msgs.msg import DiagnosticStatus
from diagnostic_msgs.msg import KeyValue
from example_interfaces.msg import Float64
import pytest
from tier4_debug_msgs.msg import Float32Stamped
from tier4_debug_msgs.msg import Int32Stamped

from driving_log_replayer_v2.localization import Availability
from driving_log_replayer_v2.localization import Convergence
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authors = [
{ name = "Hayato Mizushima", email = "[email protected]" },
{ name = "Kotaro Uetake", email = "[email protected]" },
{ name = "Masato Saeki", email = "[email protected]" },
{ name = "Shintaro Sakoda", email = "[email protected]" },
{ name = "Koji Minoda", email = "[email protected]" },
{ name = "Kosuke Takeuchi", email = "[email protected]" },
{ name = "Keisuke Shima", email = "[email protected]" },
Expand Down
32 changes: 17 additions & 15 deletions repository.cspell.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,43 @@
{
"words": [
"CENTERDISTANCE",
"Hayato",
"Keisuke",
"Koji",
"Kotaro",
"Masato",
"MOTA",
"MOTP",
"Minoda",
"Mizushima",
"Saeki",
"Sakamoto",
"Shima",
"UMiho",
"Uetake",
"annotationless",
"autouse",
"bbox",
"CENTERDISTANCE",
"conlist",
"devkit",
"dtick",
"fastjsonschema",
"Hayato",
"kaleido",
"Keisuke",
"Koji",
"Kotaro",
"lanefollowing",
"leftdiagonal",
"Masato",
"Minoda",
"Mizushima",
"MOTA",
"MOTP",
"nums",
"nuscenes",
"objdata",
"pydantic",
"pyproject",
"rightdiagonal",
"Saeki",
"Sakamoto",
"Sakoda",
"Shima",
"Shintaro",
"sideshift",
"simplejson",
"tickmode",
"ticktext",
"tickvals",
"Uetake",
"UMiho",
"xaxes",
"yaxes",
"youtalk",
Expand Down

0 comments on commit fd0813a

Please sign in to comment.