Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add launch for one host test #1374

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -116,6 +116,7 @@
<group if="$(var use_diagnostic_graph)">
<include file="$(find-pkg-share mrm_handler)/launch/mrm_handler.launch.xml">
<arg name="config_file" value="$(var mrm_handler_param_path)"/>
<arg name="output_mrm_state" value="/system/fail_safe/mrm_state/tmp"/>
</include>
</group>

@@ -160,15 +161,16 @@
<include file="$(find-pkg-share control_cmd_switcher)/launch/control_cmd_switcher.launch.xml"/>
</group>

<!-- Leader Election Converter-->
<!-- Leader Election Converter-->
<group>
<include file="$(find-pkg-share leader_election_converter)/launch/leader_election_converter.launch.xml"/>
<arg name="input_mrm_state" value="/system/fail_safe/mrm_state/tmp"/>
</group>

<!-- topic state montor for MRMv0.6 one host test-->
<!-- topic state monitor for MRMv0.6 one host test-->
<group>
<include file="$(find-pkg-share topic_state_monitor)/launch/topic_state_monitor.launch.xml">
<arg name="node_name_suffix" value="scenario_planning_trajectry"/>
<arg name="node_name_suffix" value="scenario_planning_trajectory"/>
<arg name="topic" value="/planning/scenario_planning/trajectory"/>
<arg name="topic_type" value="autoware_auto_planning_msgs/msg/Trajectory"/>
<arg name="diag_name" value="publish_to_sub_status"/>
2 changes: 2 additions & 0 deletions launch/tier4_system_launch/package.xml
Original file line number Diff line number Diff line change
@@ -17,6 +17,8 @@
<exec_depend>leader_election_converter</exec_depend>
<exec_depend>system_error_monitor</exec_depend>
<exec_depend>system_monitor</exec_depend>
<exec_depend>control_cmd_switcher</exec_depend>
<exec_depend>leader_election_converter</exec_depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>autoware_lint_common</test_depend>
2 changes: 1 addition & 1 deletion system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp
Original file line number Diff line number Diff line change
@@ -99,7 +99,7 @@ MrmHandler::MrmHandler() : Node("mrm_handler")
mrm_state_.behavior.type = tier4_system_msgs::msg::MrmBehavior::NONE;
is_operation_mode_availability_timeout = false;

// Timera
// Timer
const auto update_period_ns = rclcpp::Rate(param_.update_rate).period();
timer_ = rclcpp::create_timer(
this, get_clock(), update_period_ns, std::bind(&MrmHandler::onTimer, this));
Loading