diff --git a/common_sensor_launch/launch/nebula_node_container.launch.py b/common_sensor_launch/launch/nebula_node_container.launch.py index e58ead2..7a8adfe 100644 --- a/common_sensor_launch/launch/nebula_node_container.launch.py +++ b/common_sensor_launch/launch/nebula_node_container.launch.py @@ -34,6 +34,8 @@ def get_lidar_make(sensor_name): return "Hesai", ".csv" elif sensor_name[:3].lower() in ["hdl", "vlp", "vls"]: return "Velodyne", ".yaml" + elif sensor_name.lower() in ["helios", "bpearl"]: + return "Robosense", None return "unrecognized_sensor_model" @@ -75,15 +77,18 @@ def create_parameter_dict(*args): nebula_decoders_share_dir = get_package_share_directory("nebula_decoders") # Calibration file - sensor_calib_fp = os.path.join( - nebula_decoders_share_dir, - "calibration", - sensor_make.lower(), - sensor_model + sensor_extension, - ) - assert os.path.exists( - sensor_calib_fp - ), "Sensor calib file under calibration/ was not found: {}".format(sensor_calib_fp) + if sensor_extension is not None: # Velodyne and Hesai + sensor_calib_fp = os.path.join( + nebula_decoders_share_dir, + "calibration", + sensor_make.lower(), + sensor_model + sensor_extension, + ) + assert os.path.exists( + sensor_calib_fp + ), "Sensor calib file under calibration/ was not found: {}".format(sensor_calib_fp) + else: # Robosense + sensor_calib_fp = "" # Pointcloud preprocessor parameters filter_param = ParameterFile( @@ -133,6 +138,8 @@ def create_parameter_dict(*args): # cSpell:ignore knzo25 # TODO(knzo25): fix the remapping once nebula gets updated ("velodyne_points", "pointcloud_raw_ex"), + # ("robosense_points", "pointcloud_raw_ex"), #for robosense + # ("pandar_points", "pointcloud_raw_ex"), # for hesai ], extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}], ) diff --git a/common_sensor_launch/launch/robosense_Bpearl.launch.xml b/common_sensor_launch/launch/robosense_Bpearl.launch.xml new file mode 100644 index 0000000..8fa49ef --- /dev/null +++ b/common_sensor_launch/launch/robosense_Bpearl.launch.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common_sensor_launch/launch/robosense_Helios.launch.xml b/common_sensor_launch/launch/robosense_Helios.launch.xml new file mode 100644 index 0000000..09addc2 --- /dev/null +++ b/common_sensor_launch/launch/robosense_Helios.launch.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sample_sensor_kit_launch/launch/gnss.launch.xml b/sample_sensor_kit_launch/launch/gnss.launch.xml index 0d04cd3..d4fbd40 100644 --- a/sample_sensor_kit_launch/launch/gnss.launch.xml +++ b/sample_sensor_kit_launch/launch/gnss.launch.xml @@ -24,7 +24,7 @@ - + diff --git a/sample_sensor_kit_launch/package.xml b/sample_sensor_kit_launch/package.xml index 210c5a8..5e4472e 100644 --- a/sample_sensor_kit_launch/package.xml +++ b/sample_sensor_kit_launch/package.xml @@ -10,9 +10,9 @@ ament_cmake_auto + autoware_gnss_poser autoware_pointcloud_preprocessor common_sensor_launch - gnss_poser tamagawa_imu_driver topic_tools ublox_gps