Skip to content

Commit 350b8d0

Browse files
tkimura4mitsudome-rkenji-miyakennmmjilaada
authored
feat: add autoware_state_monitor package (#9)
* release v0.4.0 * Add map diag (#688) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Change default value of disengage_on_route (#703) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Change localization diag namespace (#718) * Change default value of output_diagnostics_topic Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove localization_diagnostic.js from web_controller Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Integrate localization diag to diagnostic_aggregator Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Delete old and unused publisher Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Support error in autoware state (#728) * Support Error in autoware_state_monitor Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Refactor autoware_state_monitor Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Wait after planning completed Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Integrate FailedToArriveGoal and Error into Emergency state Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove override after arrived goal in autoware_state_monitor (#737) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Improve autoware state monitor diag (#792) * Add ok_list to stats Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Use key-value Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add ok_list Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * remove ROS1 packages temporarily Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * Revert "remove ROS1 packages temporarily" This reverts commit 470b35a4a07baca60033f7b363dba2f4279ff9c7. Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * add COLCON_IGNORE to ros1 packages Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * Rename launch files to launch.xml (#28) * [WIP] ROS2 Porting: autoware_state_monitor (#81) * Fix CMake and package.xml - Remove topic_tools deps in package.xml - Fix cmake refs - Build just core without other deps * Remove colcon ignore * Convert CMake to ament_cmake_auto * Fix package.xml with correct deps - Remove topic tools * Convert yaml files to be ROS2 compliant - Previous XmlRpc was used to collect yaml array like structures - Use _configs.names string array to locate config.<name>.<field> - Will need to convert the way the parametersa are retrieved * First pass - make compile * Port headers - Change the name of arrived goal for consistency - Port state machine - Port diagnostics wrapper methods * Add subscription, publisher and timers - Add simple parameters - Add back functionality - Add topic state functionality - Add functionality * Add configuration parameter implementations * Add launch files and clean up - Remove commented code from cmake and package.xml - Remove rosconsole.h * Clean up - Remove changes to autoware_sysytem_msgs - remove comments * Added types to the launch files - Make type arrays to allow for multiple types * Add rclcpp_generic implementation for subscriptions - Add the callback method back - Include exec_depends in package.xml * Clean up - Remove boost dependencies - Remove commented out dependencies - Remove comments * Rename h files to hpp (#142) * Change includes * Rename files * Adjustments to make things compile * Other packages * Adjust copyright notice on 532 out of 699 source files (#143) * Use quotes for includes where appropriate (#144) * Use quotes for includes where appropriate * Fix lint tests * Make tests pass hopefully * Run uncrustify on the entire Pilot.Auto codebase (#151) * Run uncrustify on the entire Pilot.Auto codebase * Exclude open PRs * Add linters and fix some clang-tidy warnings (#205) * [autoware_state_monitor] fix parameter in autoware_state_monitor.planning_simulation.yaml (#244) Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * Modify autoware state monitor (#288) * comment out param config Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp> * fix minor issues Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp> * change engage from bool to control msg (#292) Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp> * Ros2 v0.8.0 autoware state monitor (#277) * Ros2 v0.8.0 engage (#342) * [autoware_vehicle_msgs]: Add engage message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [as]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [awapi_awiv_adapter]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [web_controller]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [vehicle_cmd_gate]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [autoware_state_monitor]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [autoware_control_msgs]: Remove EngageMode message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * [simple_planning_simulator]: Update message Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix invalid exception handling (#344) * remove invalid exception handling Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp> * remove unnecessary topics Signed-off-by: Kosuke Murakami <kosuke.murakami@tier4.jp> * Ros2 v0.8.0 fix packages (#351) * add subscription to QoS * add vihicle_param _file to simple_planning_sim * update cmake/packages.xml * comment out unused parameter * apply lint * add vehicle_info_util to lane_change_planner * add vehicle_info_util to vehicle_cmd_gate * fix cmake of simple planning simulator * update cmake/packages.xml of vehicle cmd gate * apply lint * apply lint * add latch option to autoware_state_monitor * delete unused comment * fix implement miss in autoware_state_monitor * Rename ROS-related .yaml to .param.yaml (#352) * Rename ROS-related .yaml to .param.yaml Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove prefix 'default_' of yaml files Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Rename vehicle_info.yaml to vehicle_info.param.yaml Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Rename diagnostic_aggregator's param files Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix overlooked parameters Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Ros2 v0.8.0 fix packages2 (#354) * fix topic name * fix duration rate * fix sensing.yaml * fix topic name * add latch-option to autoware_state_monitor * fix timer callback * fix autoware state monitor config * fix sensing.yaml * Add parameter args to autoware_state_monitor.launch (#1175) (#385) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Feature/Add route cancel service (#384) * Feature/Add route cancel service (#1100) * Feature/Add route cancel service Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add guard Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix service name in launch Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * remove spin_some within service callback functions Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * apply ament_uncrustify Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> * change wait time for state transition (#416) * Sensor data qos (#407) * Use sensor data qos for pointcloud preprocessor Signed-off-by: Autoware <autoware@tier4.jp> * Use sensor data qos for pointcloud Signed-off-by: Autoware <autoware@tier4.jp> * Fix lint Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Use sensor data qos for livox tag filter and vector map filter Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix lint Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> Co-authored-by: Autoware <autoware@tier4.jp> * Fix typo in system module (#434) * Fix typo in system module * Change variable name * Move comments * Apply uncrustify * add use_sim-time option (#454) * add missing topic to topic config list (#1224) * remove pointcloud from state_monitor (#1236) * Remove use_sim_time for set_parameter (#1260) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Use integrated generic subscription (#1342) Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * suppress warnings for autoware_state_monitor (#1722) * suppress warnings for autoware_state_monitor * fix style * re fix style * Fix -Wunused-parameter (#1836) * Fix -Wunused-parameter Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix mistake Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fix spell * Fix lint issues Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Ignore flake8 warnings Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp> * Sync v1.3.0 (#1909) * Add elevation_map to autoware_state_monitor (#1907) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * Disable saving elevation map temporarily (#1906) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * sync rc (#1930) * Remove elevation_map from autoware_state_monitor (#1922) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * Use base_ref (#1925) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * Add autoware api (#1979) * suport auto recovery on autoware_state_monitor (#2006) * disable emergency check if hazard_status is not received (#2024) * suppress warnings for system directory #2046 * add sort-package-xml hook in pre-commit (#1881) * add sort xml hook in pre-commit * change retval to exit_status * rename * add prettier plugin-xml * use early return * add license note * add tier4 license * restore prettier * change license order * move local hooks to public repo * move prettier-xml to pre-commit-hooks-ros * update version for bug-fix * apply pre-commit * Added warning about lookupTransform failure in autoware_status_monitor (#2099) * Change formatter to clang-format and black (#2332) * Revert "Temporarily comment out pre-commit hooks" This reverts commit 748e9cdb145ce12f8b520bcbd97f5ff899fc28a3. * Replace ament_lint_common with autoware_lint_common Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remove ament_cmake_uncrustify and ament_clang_format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Apply Black Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Apply clang-format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix build errors Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix for cpplint * Fix include double quotes to angle brackets Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Apply clang-format Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix build errors Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add COLCON_IGNORE (#500) Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * [autoware state monitor] support autoware.auto msg (#521) * support autoware.auto msg * add readme * remove unused code * remove emergency state * stop to subscribe hazard_status * remove VehicleStateReport/VehicleStateCommand/VehicleControlCommand (#549) * fix autoware_error_monitor * fix state monitor * fix emergency handler(vehicle_state_report) * fix emergency Handler(vehicle_state_command) * fix shift_decider * fix emergency_handler(vehicle_control_command) * fix topic name * fix readme * Update system/autoware_state_monitor/Readme.md Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> * fix format * Update system/autoware_state_monitor/launch/autoware_state_monitor.launch.xml Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> * fix typo Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> * [autowere_web_controller/autoware_state_monitor/emergency_handler]fix some packages (#603) * fix vehicle_engage.js * fix autoware_state_monitor param * fix emergency_handler * oh * update autoware_state.js * [autoware_state_monitor]route -> had_map_route (#635) * route -> had_map_route * Rename Readme.md to README.md Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com> * Fix autoware monitors readme (#629) * Fix readme of autoware_state_monitor * Fix readme of autoware_error_monitor * adapt to actuation cmd/status as control msg (#646) * adapt to actuation cmd/status as control msg * fix readme * fix topics * fix remaing topics * as to pacmod interface * fix vehicle status * add header to twist * revert gyro_odometer_change * revert twist topic change * revert unchanged package * Fix topic name in autoware_state_monitor (#667) * Fix no ground pointcloud topic name (#733) Signed-off-by: j4tfwm6z <proj-jpntaxi@tier4.jp> Co-authored-by: j4tfwm6z <proj-jpntaxi@tier4.jp> * fix/rename segmentation namespace (#742) * rename segmentation directory * fix namespace: system stack * fix namespace: planning * fix namespace: control stack * fix namespace: perception stack * fix readme Co-authored-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> Co-authored-by: Nikolai Morin <nnmmgit@gmail.com> Co-authored-by: Jilada Eccleston <jilada.eccleston@gmail.com> Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com> Co-authored-by: Kosuke Murakami <kosuke.murakami@tier4.jp> Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com> Co-authored-by: Autoware <autoware@tier4.jp> Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> Co-authored-by: Hiroki OTA <hiroki.ota@tier4.jp> Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com> Co-authored-by: autoware-iv-sync-ci[bot] <87871706+autoware-iv-sync-ci[bot]@users.noreply.github.com> Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> Co-authored-by: Taichi Higashide <taichi.higashide@tier4.jp> Co-authored-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com> Co-authored-by: Yohei Mishina <66298900+YoheiMishina@users.noreply.github.com> Co-authored-by: taikitanaka3 <65527974+taikitanaka3@users.noreply.github.com> Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: j4tfwm6z <proj-jpntaxi@tier4.jp> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
1 parent 15ec6ff commit 350b8d0

15 files changed

+1949
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
cmake_minimum_required(VERSION 3.5)
2+
project(autoware_state_monitor)
3+
4+
### Compile options
5+
if(NOT CMAKE_CXX_STANDARD)
6+
set(CMAKE_CXX_STANDARD 14)
7+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
8+
set(CMAKE_CXX_EXTENSIONS OFF)
9+
endif()
10+
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
11+
add_compile_options(-Wall -Wextra -Wpedantic -Werror)
12+
endif()
13+
14+
### Dependencies
15+
find_package(ament_cmake_auto REQUIRED)
16+
ament_auto_find_build_dependencies()
17+
18+
# Target
19+
## Set source files
20+
set(AUTOWARE_STATE_MONITOR_SRC
21+
src/autoware_state_monitor_node/autoware_state_monitor_node.cpp
22+
src/autoware_state_monitor_node/state_machine.cpp
23+
src/autoware_state_monitor_node/diagnostics.cpp
24+
)
25+
26+
## Add executables
27+
ament_auto_add_executable(autoware_state_monitor
28+
src/autoware_state_monitor_node/main.cpp
29+
${AUTOWARE_STATE_MONITOR_SRC}
30+
)
31+
32+
if(BUILD_TESTING)
33+
find_package(ament_lint_auto REQUIRED)
34+
ament_lint_auto_find_test_dependencies()
35+
endif()
36+
37+
ament_auto_package(INSTALL_TO_SHARE
38+
launch
39+
config
40+
)
+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# autoware_state_monitor
2+
3+
## Purpose
4+
5+
This node manages AutowareState transitions.
6+
7+
## Inner-workings / Algorithms
8+
9+
## Inputs / Outputs
10+
11+
### Input
12+
13+
| Name | Type | Description |
14+
| ---------------------------------- | ---------------------------------------------------- | ------------------------------------------------- |
15+
| `/planning/mission_planning/route` | `autoware_auto_planning_msgs::msg::HADMapRoute` | Subscribe route |
16+
| `/localization/kinematic_state` | `nav_msgs::msg::Odometry` | Used to decide whether vehicle is stopped or not |
17+
| `/vehicle/state_report` | `autoware_auto_vehicle_msgs::msg::ControlModeReport` | Used to check vehicle mode: autonomous or manual. |
18+
19+
### Output
20+
21+
| Name | Type | Description |
22+
| ------------------ | ----------------------------------------------- | -------------------------------------------------- |
23+
| `/autoware/engage` | `autoware_auto_vehicle_msgs::msg::Engage` | publish disengage flag on AutowareState transition |
24+
| `/autoware/state` | `autoware_auto_system_msgs::msg::AutowareState` | publish AutowareState |
25+
26+
## Parameters
27+
28+
### Node Parameters
29+
30+
| Name | Type | Default Value | Explanation |
31+
| ------------- | ---- | ------------- | ---------------------- |
32+
| `update_rate` | int | `10` | Timer callback period. |
33+
34+
### Core Parameters
35+
36+
| Name | Type | Default Value | Explanation |
37+
| ------------------------- | ------ | ------------- | -------------------------------------------------------------------------- |
38+
| `th_arrived_distance_m` | double | 1.0 | threshold distance to check if vehicle has arrived at the route's endpoint |
39+
| `th_stopped_time_sec` | double | 1.0 | threshold time to check if vehicle is stopped |
40+
| `th_stopped_velocity_mps` | double | 0.01 | threshold velocity to check if vehicle is stopped |
41+
| `disengage_on_route` | bool | true | send disengage flag or not when the route is subscribed |
42+
| `disengage_on_goal` | bool | true | send disengage flag or not when the vehicle is arrived goal |
43+
44+
## Assumptions / Known limits
45+
46+
TBD.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
# Autoware State Monitor Parameters
2+
/**:
3+
ros__parameters:
4+
# modules_names: string array
5+
module_names: [
6+
"map",
7+
"sensing",
8+
"perception",
9+
"localization",
10+
"planning",
11+
"control",
12+
"vehicle",
13+
"system"
14+
]
15+
16+
# Topic Config
17+
## names: string array
18+
## configs: top level
19+
### names used to declare parameter group
20+
#### module: string
21+
#### timeout[s]: double (0: none)
22+
#### warn_rate[hz]: double (0: none)
23+
topic_configs:
24+
names: [
25+
"/map/vector_map",
26+
"/map/pointcloud_map",
27+
"/perception/obstacle_segmentation/pointcloud",
28+
"/initialpose3d",
29+
"/localization/pose_twist_fusion_filter/pose",
30+
"/perception/object_recognition/objects",
31+
"/planning/mission_planning/route",
32+
"/planning/scenario_planning/trajectory",
33+
"/control/trajectory_follower/control_cmd",
34+
"/control/command/control_cmd",
35+
"/vehicle/status/velocity_status",
36+
"/vehicle/status/steering_status",
37+
"/system/emergency/control_cmd"
38+
]
39+
40+
configs:
41+
/map/vector_map:
42+
module: "map"
43+
timeout: 0.0
44+
warn_rate: 0.0
45+
type: "autoware_auto_mapping_msgs/msg/HADMapBin"
46+
transient_local: True
47+
48+
/map/pointcloud_map:
49+
module: "map"
50+
timeout: 0.0
51+
warn_rate: 0.0
52+
type: "sensor_msgs/msg/PointCloud2"
53+
transient_local: True
54+
55+
/perception/obstacle_segmentation/pointcloud:
56+
module: "sensing"
57+
timeout: 1.0
58+
warn_rate: 5.0
59+
type: "sensor_msgs/msg/PointCloud2"
60+
best_effort: True
61+
62+
/initialpose3d:
63+
module: "localization"
64+
timeout: 0.0
65+
warn_rate: 0.0
66+
type: "geometry_msgs/msg/PoseWithCovarianceStamped"
67+
68+
/localization/pose_twist_fusion_filter/pose:
69+
module: "localization"
70+
timeout: 1.0
71+
warn_rate: 5.0
72+
type: "geometry_msgs/msg/PoseStamped"
73+
74+
# Can be both with feature array or without
75+
# In prediction.launch.xml this is set to without
76+
/perception/object_recognition/objects:
77+
module: "perception"
78+
timeout: 1.0
79+
warn_rate: 5.0
80+
type: "autoware_auto_perception_msgs/msg/PredictedObjects"
81+
# This topic could have two different types depending on the launch flags used.
82+
# The implementation of subscriptions in ROS2 does not allow for multiple types
83+
# to be defined for a topic. By default this is set to not use have features.
84+
# type: ["autoware_perception_msgs/msg/DynamicObjectArray", "autoware_perception_msgs/msg/DynamicObjectWithFeatureArray"]
85+
86+
/planning/mission_planning/route:
87+
module: "planning"
88+
timeout: 0.0
89+
warn_rate: 0.0
90+
type: "autoware_auto_planning_msgs/msg/HADMapRoute"
91+
transient_local: True
92+
93+
/planning/scenario_planning/trajectory:
94+
module: "planning"
95+
timeout: 1.0
96+
warn_rate: 5.0
97+
type: "autoware_auto_planning_msgs/msg/Trajectory"
98+
99+
/control/trajectory_follower/control_cmd:
100+
module: "control"
101+
timeout: 1.0
102+
warn_rate: 5.0
103+
type: "autoware_auto_control_msgs/msg/AckermannControlCommand"
104+
105+
/control/command/control_cmd:
106+
module: "control"
107+
timeout: 1.0
108+
warn_rate: 5.0
109+
type: "autoware_auto_control_msgs/msg/AckermannControlCommand"
110+
111+
/vehicle/status/velocity_status:
112+
module: "vehicle"
113+
timeout: 1.0
114+
warn_rate: 5.0
115+
type: "autoware_auto_vehicle_msgs/msg/VelocityReport"
116+
117+
/vehicle/status/steering_status:
118+
module: "vehicle"
119+
timeout: 1.0
120+
warn_rate: 5.0
121+
type: "autoware_auto_vehicle_msgs/msg/SteeringReport"
122+
123+
/system/emergency/control_cmd:
124+
module: "system"
125+
timeout: 1.0
126+
warn_rate: 5.0
127+
type: "autoware_auto_control_msgs/msg/AckermannControlCommand"
128+
129+
# Param Config
130+
## names: string array
131+
## configs: top level
132+
### names used to declare parameter group
133+
#### module: string
134+
# param_configs:
135+
# names: ["/vehicle_info"]
136+
# configs:
137+
# /vehicle_info:
138+
# module: "vehicle"
139+
140+
# TF Config
141+
## names: string array
142+
## configs: top level
143+
### names used to declare parameter group
144+
#### module: string
145+
#### from: string
146+
#### to: string
147+
#### timeout[s]: double (0: none)
148+
tf_configs:
149+
names: ["map_to_base_link"]
150+
configs:
151+
map_to_base_link:
152+
module: "localization"
153+
from: "map"
154+
to: "base_link"
155+
timeout: 1.0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# Autoware State Monitor: Planning Simulator Parameters
2+
/**:
3+
ros__parameters:
4+
# modules_names: string array
5+
module_names: [
6+
"map",
7+
"sensing",
8+
"perception",
9+
"localization",
10+
"planning",
11+
"control",
12+
"vehicle",
13+
"system"
14+
]
15+
16+
# Topic Config
17+
## names: string array
18+
## configs: top level
19+
### names used to declare parameter group
20+
#### module: string
21+
#### timeout[s]: double (0: none)
22+
#### warn_rate[hz]: double (0: none)
23+
topic_configs:
24+
names: [
25+
"/map/vector_map",
26+
"/map/pointcloud_map",
27+
"/perception/object_recognition/objects",
28+
"/initialpose2d",
29+
"/planning/mission_planning/route",
30+
"/planning/scenario_planning/trajectory",
31+
"/control/trajectory_follower/control_cmd",
32+
"/control/command/control_cmd",
33+
"/vehicle/status/velocity_status",
34+
"/vehicle/status/steering_status",
35+
"/system/emergency/control_cmd"
36+
]
37+
38+
configs:
39+
/map/vector_map:
40+
module: "map"
41+
timeout: 0.0
42+
warn_rate: 0.0
43+
type: "autoware_auto_mapping_msgs/msg/HADMapBin"
44+
transient_local: True
45+
46+
/map/pointcloud_map:
47+
module: "map"
48+
timeout: 0.0
49+
warn_rate: 0.0
50+
type: "sensor_msgs/msg/PointCloud2"
51+
transient_local: True
52+
53+
/perception/object_recognition/objects:
54+
module: "perception"
55+
timeout: 1.0
56+
warn_rate: 5.0
57+
type: "autoware_auto_perception_msgs/msg/PredictedObjects"
58+
59+
/initialpose2d:
60+
module: "localization"
61+
timeout: 0.0
62+
warn_rate: 0.0
63+
type: "geometry_msgs/msg/PoseWithCovarianceStamped"
64+
65+
/planning/mission_planning/route:
66+
module: "planning"
67+
timeout: 0.0
68+
warn_rate: 0.0
69+
type: "autoware_auto_planning_msgs/msg/HADMapRoute"
70+
transient_local: True
71+
72+
/planning/scenario_planning/trajectory:
73+
module: "planning"
74+
timeout: 1.0
75+
warn_rate: 5.0
76+
type: "autoware_auto_planning_msgs/msg/Trajectory"
77+
78+
/control/trajectory_follower/control_cmd:
79+
module: "control"
80+
timeout: 1.0
81+
warn_rate: 5.0
82+
type: "autoware_auto_control_msgs/msg/AckermannControlCommand"
83+
84+
/control/command/control_cmd:
85+
module: "control"
86+
timeout: 1.0
87+
warn_rate: 5.0
88+
type: "autoware_auto_control_msgs/msg/AckermannControlCommand"
89+
90+
/vehicle/status/velocity_status:
91+
module: "vehicle"
92+
timeout: 1.0
93+
warn_rate: 5.0
94+
type: "autoware_auto_vehicle_msgs/msg/VelocityReport"
95+
96+
/vehicle/status/steering_status:
97+
module: "vehicle"
98+
timeout: 1.0
99+
warn_rate: 5.0
100+
type: "autoware_auto_vehicle_msgs/msg/SteeringReport"
101+
102+
/system/emergency/control_cmd:
103+
module: "system"
104+
timeout: 1.0
105+
warn_rate: 5.0
106+
type: "autoware_auto_control_msgs/msg/AckermannControlCommand"
107+
108+
# Param Config
109+
## names: string array
110+
## configs: top level
111+
### names used to declare parameter group
112+
#### module: string
113+
# param_configs:
114+
# names: ["/vehicle_info"]
115+
# configs:
116+
# /vehicle_info:
117+
# module: "vehicle"
118+
119+
# TF Config
120+
## names: string array
121+
## configs: top level
122+
### names used to declare parameter group
123+
#### module: string
124+
#### from: string
125+
#### to: string
126+
#### timeout[s]: double (0: none)
127+
tf_configs:
128+
names: ["map_to_base_link"]
129+
configs:
130+
map_to_base_link:
131+
module: "localization"
132+
from: "map"
133+
to: "base_link"
134+
timeout: 1.0

0 commit comments

Comments
 (0)