forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request autowarefoundation#128 from tier4/sync-upstream
chore: sync upstream
- Loading branch information
Showing
15 changed files
with
268 additions
and
59 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
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
93 changes: 93 additions & 0 deletions
93
perception_launch/launch/occupancy_grid_map/pointcloud_based_occupancy_grid_map.launch.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# Copyright 2021 Tier IV, Inc. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
from launch import LaunchDescription | ||
from launch.actions import DeclareLaunchArgument | ||
from launch.actions import SetLaunchConfiguration | ||
from launch.conditions import IfCondition | ||
from launch.conditions import LaunchConfigurationEquals | ||
from launch.conditions import LaunchConfigurationNotEquals | ||
from launch.conditions import UnlessCondition | ||
from launch.substitutions import LaunchConfiguration | ||
from launch_ros.actions import ComposableNodeContainer | ||
from launch_ros.actions import LoadComposableNodes | ||
from launch_ros.descriptions import ComposableNode | ||
|
||
|
||
def generate_launch_description(): | ||
def add_launch_arg(name: str, default_value=None): | ||
return DeclareLaunchArgument(name, default_value=default_value) | ||
|
||
set_container_executable = SetLaunchConfiguration( | ||
"container_executable", | ||
"component_container", | ||
condition=UnlessCondition(LaunchConfiguration("use_multithread")), | ||
) | ||
|
||
set_container_mt_executable = SetLaunchConfiguration( | ||
"container_executable", | ||
"component_container_mt", | ||
condition=IfCondition(LaunchConfiguration("use_multithread")), | ||
) | ||
|
||
composable_nodes = [ | ||
ComposableNode( | ||
package="probabilistic_occupancy_grid_map", | ||
plugin="occupancy_grid_map::PointcloudBasedOccupancyGridMapNode", | ||
name="occupancy_grid_map_node", | ||
remappings=[ | ||
("~/input/obstacle_pointcloud", LaunchConfiguration("input/obstacle_pointcloud")), | ||
("~/input/raw_pointcloud", LaunchConfiguration("input/raw_pointcloud")), | ||
("~/output/occupancy_grid_map", LaunchConfiguration("output")), | ||
], | ||
parameters=[ | ||
{ | ||
"map_resolution": 0.5, | ||
"use_height_filter": True, | ||
} | ||
], | ||
extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}], | ||
), | ||
] | ||
|
||
occupancy_grid_map_container = ComposableNodeContainer( | ||
condition=LaunchConfigurationEquals("container", ""), | ||
name="occupancy_grid_map_container", | ||
namespace="", | ||
package="rclcpp_components", | ||
executable=LaunchConfiguration("container_executable"), | ||
composable_node_descriptions=composable_nodes, | ||
output="screen", | ||
) | ||
|
||
load_composable_nodes = LoadComposableNodes( | ||
condition=LaunchConfigurationNotEquals("container", ""), | ||
composable_node_descriptions=composable_nodes, | ||
target_container=LaunchConfiguration("container"), | ||
) | ||
|
||
return LaunchDescription( | ||
[ | ||
add_launch_arg("container", ""), | ||
add_launch_arg("use_multithread", "false"), | ||
add_launch_arg("use_intra_process", "false"), | ||
add_launch_arg("input/obstacle_pointcloud", "no_ground/oneshot/pointcloud"), | ||
add_launch_arg("input/raw_pointcloud", "concatenated/pointcloud"), | ||
add_launch_arg("output", "occupancy_grid"), | ||
set_container_executable, | ||
set_container_mt_executable, | ||
occupancy_grid_map_container, | ||
load_composable_nodes, | ||
] | ||
) |
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 |
---|---|---|
|
@@ -11,4 +11,5 @@ endif() | |
|
||
ament_auto_package(INSTALL_TO_SHARE | ||
launch | ||
config | ||
) |
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,37 @@ | ||
/**: | ||
ros__parameters: | ||
event_diag_list: | ||
vehicle_is_out_of_lane: "lane_departure" | ||
trajectory_deviation_is_high: "trajectory_deviation" | ||
localization_matching_score_is_low: "ndt_scan_matcher" | ||
localization_accuracy_is_low: "localization_accuracy" | ||
map_version_is_different: "map_version" | ||
trajectory_is_invalid: "trajectory_point_validation" | ||
cpu_temperature_is_high: "CPU Temperature" | ||
cpu_usage_is_high: "CPU Usage" | ||
cpu_is_in_thermal_throttling: "CPU Thermal Throttling" | ||
storage_temperature_is_high: "HDD Temperature" | ||
storage_usage_is_high: "HDD Usage" | ||
network_usage_is_high: "Network Usage" | ||
clock_error_is_large: "NTP Offset" | ||
gpu_temperature_is_high: "GPU Temperature" | ||
gpu_usage_is_high: "GPU Usage" | ||
gpu_memory_usage_is_high: "GPU Memory Usage" | ||
gpu_is_in_thermal_throttling: "GPU Thermal Throttling" | ||
driving_recorder_storage_error: "driving_recorder" | ||
debug_data_logger_storage_error: "bagpacker" | ||
emergency_stop_operation: "emergency_stop_operation" | ||
vehicle_error_occurred: "vehicle_errors" | ||
vehicle_ecu_connection_is_lost: "can_bus_connection" | ||
obstacle_crash_sensor_is_activated: "obstacle_crash" | ||
/control/command_gate/node_alive_monitoring: "vehicle_cmd_gate: heartbeat" | ||
/control/autonomous_driving/node_alive_monitoring: "control_topic_status" | ||
/control/external_command_selector/node_alive_monitoring: "external_cmd_selector: heartbeat" | ||
/localization/node_alive_monitoring: "localization_topic_status" | ||
/map/node_alive_monitoring: "map_topic_status" | ||
/planning/node_alive_monitoring: "planning_topic_status" | ||
/sensing/lidar/node_alive_monitoring: "lidar_topic_status" | ||
/sensing/imu/node_alive_monitoring: "imu_connection" | ||
/sensing/gnss/node_alive_monitoring: "gnss_connection" | ||
/system/node_alive_monitoring: "system_topic_status" | ||
/vehicle/node_alive_monitoring: "vehicle_topic_status" |
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
52 changes: 0 additions & 52 deletions
52
system_launch/config/system_error_monitor.planning_simulation.param.yaml
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
<launch> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="joy_controller_connection"/> | ||
</include> | ||
|
||
</launch> |
11 changes: 11 additions & 0 deletions
11
system_launch/launch/dummy_diag_publisher/localization.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<launch> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="localization_accuracy"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="ndt_scan_matcher"/> | ||
</include> | ||
|
||
</launch> |
91 changes: 91 additions & 0 deletions
91
system_launch/launch/dummy_diag_publisher/system.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 |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<launch> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="bagpacker"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="NTP Offset"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="CPU Temperature"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="CPU Usage"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="CPU Thermal Throttling"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="CPU Frequency"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="CPU Load Average"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="GPU Temperature"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="GPU Usage"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="GPU Memory Usage"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="GPU Thermal Throttling"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="Memory Usage"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="Network Usage"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="Network Traffic"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="HDD Temperature"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="Network Traffic"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="HDD Usage"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="HDD PowerOnHours"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="HDD TotalDataWritten"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="High-load"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="High-mem"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="Tasks Summary"/> | ||
</include> | ||
|
||
</launch> |
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,7 @@ | ||
<launch> | ||
|
||
<include file="$(find-pkg-share dummy_diag_publisher)/launch/dummy_diag_publisher_node.launch.xml"> | ||
<arg name="diag_name" value="vehicle_errors"/> | ||
</include> | ||
|
||
</launch> |
Oops, something went wrong.