diff --git a/awsim_sensor_kit_description/CHANGELOG.rst b/awsim_sensor_kit_description/CHANGELOG.rst index 3bea262..b52ef97 100644 --- a/awsim_sensor_kit_description/CHANGELOG.rst +++ b/awsim_sensor_kit_description/CHANGELOG.rst @@ -2,6 +2,9 @@ Changelog for package awsim_sensor_kit_description ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +0.41.0 (2025-02-12) +------------------- + 0.39.0 (2024-12-09) ------------------- * fixed to use xacro.load_yaml (`#6 `_) diff --git a/awsim_sensor_kit_description/package.xml b/awsim_sensor_kit_description/package.xml index 6f1a102..b0b7e10 100644 --- a/awsim_sensor_kit_description/package.xml +++ b/awsim_sensor_kit_description/package.xml @@ -2,7 +2,7 @@ awsim_sensor_kit_description - 0.39.0 + 0.41.0 The awsim_sensor_kit_description package Piotr Jaroszek Apache License 2.0 diff --git a/awsim_sensor_kit_launch/CHANGELOG.rst b/awsim_sensor_kit_launch/CHANGELOG.rst index 9e45aa4..2601650 100644 --- a/awsim_sensor_kit_launch/CHANGELOG.rst +++ b/awsim_sensor_kit_launch/CHANGELOG.rst @@ -2,6 +2,27 @@ Changelog for package awsim_sensor_kit_launch ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +0.41.0 (2025-02-12) +------------------- +* Merge remote-tracking branch 'origin/main' into humble +* Merge pull request `#26 `_ from SakodaShintaro/fix/add_udp_only + fix: add `udp_only` +* Merge pull request `#25 `_ from vividf/feature/tier4_awsim_load_concatenate + feat(awsim_sensor_kit_launch): awsim load concatenate node parameters +* chore: increase window size +* chore: add mathcing strategy +* chore: add use_naive_approach +* fix(awsim_sensor_kit_launch): add autoware prefix to vehicle_velocity_converter (`#27 `_) + * add autoware prefix + * add dependency autoware_vehicle_velocity_converter + --------- +* chore: update params +* Added `udp_only` +* chore: fix timeout sec +* chore: add space +* feat: awsim load comcatenate parameter +* Contributors: Masaki Baba, Ryohsuke Mitsudome, SakodaShintaro, Shintaro Sakoda, vividf + 0.39.0 (2024-12-09) ------------------- * Merge pull request `#24 `_ from SakodaShintaro/fix/restore_timeout_sec diff --git a/awsim_sensor_kit_launch/config/concatenate_and_time_sync_node.param.yaml b/awsim_sensor_kit_launch/config/concatenate_and_time_sync_node.param.yaml new file mode 100644 index 0000000..d1bc014 --- /dev/null +++ b/awsim_sensor_kit_launch/config/concatenate_and_time_sync_node.param.yaml @@ -0,0 +1,23 @@ +/**: + ros__parameters: + debug_mode: false + has_static_tf_only: false + rosbag_length: 10.0 + maximum_queue_size: 5 + timeout_sec: 0.01 + is_motion_compensated: false + publish_synchronized_pointcloud: true + keep_input_frame_in_synchronized_pointcloud: true + publish_previous_but_late_pointcloud: false + synchronized_pointcloud_postfix: pointcloud + input_twist_topic_type: twist + input_topics: [ + "/sensing/lidar/right/pointcloud_before_sync", # Fill this after using the right point cloud + "/sensing/lidar/top/pointcloud_before_sync", # 0.05 + "/sensing/lidar/left/pointcloud_before_sync", # Fill this after using the left point cloud + ] + output_frame: base_link + matching_strategy: + type: advanced + lidar_timestamp_offsets: [0.0, 0.0, 0.0] + lidar_timestamp_noise_window: [0.02, 0.02, 0.02] \ No newline at end of file diff --git a/awsim_sensor_kit_launch/launch/lidar.launch.xml b/awsim_sensor_kit_launch/launch/lidar.launch.xml index 6dcb49a..270bff3 100644 --- a/awsim_sensor_kit_launch/launch/lidar.launch.xml +++ b/awsim_sensor_kit_launch/launch/lidar.launch.xml @@ -21,6 +21,7 @@ + @@ -38,6 +39,7 @@ + @@ -55,6 +57,7 @@ + diff --git a/awsim_sensor_kit_launch/launch/pointcloud_preprocessor.launch.py b/awsim_sensor_kit_launch/launch/pointcloud_preprocessor.launch.py index 6bfec90..bbabebf 100644 --- a/awsim_sensor_kit_launch/launch/pointcloud_preprocessor.launch.py +++ b/awsim_sensor_kit_launch/launch/pointcloud_preprocessor.launch.py @@ -12,7 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +import os +from ament_index_python.packages import get_package_share_directory import launch from launch.actions import DeclareLaunchArgument from launch.actions import OpaqueFunction @@ -22,9 +24,16 @@ from launch.substitutions import LaunchConfiguration from launch_ros.actions import LoadComposableNodes from launch_ros.descriptions import ComposableNode - +from launch_ros.parameter_descriptions import ParameterFile def launch_setup(context, *args, **kwargs): + # concatenate node parameters + concatenate_and_time_sync_node_param = ParameterFile( + param_file=LaunchConfiguration("concatenate_and_time_sync_node_param_path").perform( + context + ), + allow_substs=True, + ) # set concat filter as a component concat_component = ComposableNode( package="autoware_pointcloud_preprocessor", @@ -37,19 +46,7 @@ def launch_setup(context, *args, **kwargs): ), ("output", "concatenated/pointcloud"), ], - parameters=[ - { - "input_topics": [ - "/sensing/lidar/top/pointcloud_before_sync", - "/sensing/lidar/left/pointcloud_before_sync", - "/sensing/lidar/right/pointcloud_before_sync", - ], - "output_frame": LaunchConfiguration("base_frame"), - "input_twist_topic_type": "twist", - "publish_synchronized_pointcloud": True, - "timeout_sec": 0.01, - } - ], + parameters=[concatenate_and_time_sync_node_param], extra_arguments=[ {"use_intra_process_comms": LaunchConfiguration("use_intra_process")} ], @@ -73,10 +70,18 @@ def add_launch_arg(name: str, default_value=None): DeclareLaunchArgument(name, default_value=default_value) ) - add_launch_arg("base_frame", "base_link") + awsim_sensor_kit_launch_share_dir = get_package_share_directory("awsim_sensor_kit_launch") add_launch_arg("use_multithread", "False") add_launch_arg("use_intra_process", "False") add_launch_arg("pointcloud_container_name", "pointcloud_container") + add_launch_arg( + "concatenate_and_time_sync_node_param_path", + os.path.join( + awsim_sensor_kit_launch_share_dir, + "config", + "concatenate_and_time_sync_node.param.yaml", + ), + ) set_container_executable = SetLaunchConfiguration( "container_executable", diff --git a/awsim_sensor_kit_launch/launch/sensing.launch.xml b/awsim_sensor_kit_launch/launch/sensing.launch.xml index 51eef61..bc41540 100644 --- a/awsim_sensor_kit_launch/launch/sensing.launch.xml +++ b/awsim_sensor_kit_launch/launch/sensing.launch.xml @@ -23,7 +23,7 @@ - + diff --git a/awsim_sensor_kit_launch/package.xml b/awsim_sensor_kit_launch/package.xml index c9240dc..dd21746 100644 --- a/awsim_sensor_kit_launch/package.xml +++ b/awsim_sensor_kit_launch/package.xml @@ -2,7 +2,7 @@ awsim_sensor_kit_launch - 0.39.0 + 0.41.0 The awsim_sensor_kit_launch package Piotr Jaroszek Apache License 2.0 @@ -11,6 +11,7 @@ autoware_gnss_poser autoware_pointcloud_preprocessor + autoware_vehicle_velocity_converter common_sensor_launch tamagawa_imu_driver topic_tools