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(aip_x1): new sensor configuration #315

Closed
wants to merge 52 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
4670240
feat: add XT32 sensor model
1222-takeshi May 15, 2023
4dafb34
fix(velodyne_node_container): fix param load failure
1222-takeshi May 17, 2023
1a9c6b3
fix(diagnostic_aggregator): update sensor kit param (#22) (#23)
YoheiMishina May 18, 2023
6379498
fix: add vehicle_velocity_converter.launch (#146)
1222-takeshi Jun 5, 2023
6141067
feat: add use_awsim option and add gnss imu
1222-takeshi Dec 13, 2023
add6e31
feat: add GNSS
1222-takeshi Dec 13, 2023
ce1b446
feat: update for upstream
1222-takeshi Dec 13, 2023
71a808a
feat: add use_awsim option
1222-takeshi Dec 13, 2023
e1c74f3
feat: change topic name
1222-takeshi Dec 13, 2023
29d1ccf
feat: add node alive monitoring
1222-takeshi Jan 30, 2024
e104c72
feat: add gnss
1222-takeshi Jan 30, 2024
fa62cf7
feat: update ground_segmentation param
1222-takeshi Jan 30, 2024
0a9981a
feat: remove use_awsim option
1222-takeshi Jan 30, 2024
1237a67
feat: add cropbox filter
1222-takeshi Jan 30, 2024
726bb0c
feat: add diag of gyro_bias_validator
1222-takeshi Jan 31, 2024
48c48fe
chore: update for upstream
1222-takeshi Jan 31, 2024
f3eb8eb
chore: comment out for avoid no diag stale
1222-takeshi Jan 31, 2024
9572b3a
feat: add gnss.launch for x1_1
1222-takeshi Feb 9, 2024
8a9661e
feat: use pointcloud_container
1222-takeshi Feb 9, 2024
f4bbe2f
fix: change topic name for ground segmentation
1222-takeshi Feb 9, 2024
a618ce2
feat(aip_x1_launch): rename some topics
1222-takeshi Feb 16, 2024
6614eb6
feat(aip_x1, aip_x1_1): use interpolate
1222-takeshi Feb 20, 2024
9270eed
feat(velodyne_node_container): use distortion_corrector
1222-takeshi Feb 26, 2024
cb63d9f
feat(ground_segmentation): change crop parameter
1222-takeshi Feb 26, 2024
a42ed83
feat(obstacle_segmentation): relax ground_segmentation threshold
1222-takeshi Feb 28, 2024
5f05c26
chore(ground_segmentation): change parameter name (#229)
1222-takeshi Apr 5, 2024
e42e17b
chore(ground_segmentation): add missing parameters (#231)
Autumn60 Apr 17, 2024
25e24cc
feat: use nebula driver for aip_x1_1 sensor configuration (#235)
1222-takeshi May 2, 2024
fa40439
chore: remove aip_x1 and rename aip_x1_1 to aip_x1
1222-takeshi May 2, 2024
3f53819
chore: rename aip_x1_1 to aip_x1
1222-takeshi May 7, 2024
3ea091c
chore: remove unused file and fix bug
1222-takeshi May 7, 2024
78ad120
ci(pre-commit): autofix
pre-commit-ci[bot] May 7, 2024
6f95b4b
fix: diag list
1222-takeshi May 7, 2024
85e6e96
feat: add input_offset parameter to pointcloud preprocessor launch
asa-naki Jul 18, 2024
05028c0
feat: nebula_hw_monitor is not started except when simulation is running
1222-takeshi Jul 19, 2024
c4a3b2c
feat(x2_gen1_nebula): changed LiDAR driver to nebula (#252)
kotaro-hihara Jul 9, 2024
4d93b17
fix(aip_x2_launch): read callibration from individual_params (#255)
kotaro-hihara Jul 10, 2024
fe2e707
fix(aip_x2_launch): set use_multithread and use_intra_process to True…
kotaro-hihara Jul 11, 2024
a53113b
fix(aip_x2_launch): update lidar angle setting for j6_gen1_02 (#254)
kotaro-hihara Jul 12, 2024
e3a55b9
update dummy diag name
saka1-s Jul 16, 2024
143eebc
chore(blockage_diag): update param for aip_x1_launch (#268)
Autumn60 Jul 24, 2024
c19b2d4
revert(common_sensor_launch): revert PR of changing vlp16 param (#251…
zusizusi Aug 7, 2024
3a9adac
fix: change container name
1222-takeshi Aug 13, 2024
b48f5f9
fix: config for awsim (#289)
Autumn60 Aug 29, 2024
b7959f5
chore: replace use_awsim to use_gnss (#292)
Autumn60 Aug 29, 2024
2cbfd49
Revert "update dummy diag name"
Autumn60 Sep 17, 2024
f71b769
Merge branch 'tier4/universe' into add-XT32-model_rebase_main
Autumn60 Sep 26, 2024
4f93b23
Revert "fix(aip_x2_launch): update lidar angle setting for j6_gen1_02…
Autumn60 Sep 26, 2024
9a9a39b
Revert "fix(aip_x2_launch): set use_multithread and use_intra_process…
Autumn60 Sep 26, 2024
a570fd8
Revert "fix(aip_x2_launch): read callibration from individual_params …
Autumn60 Sep 26, 2024
6efc127
Revert "feat(x2_gen1_nebula): changed LiDAR driver to nebula (#252)"
Autumn60 Sep 26, 2024
9533bb2
Merge branch 'tier4/universe' into add-XT32-model_rebase_main
Autumn60 Sep 27, 2024
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
42 changes: 21 additions & 21 deletions aip_x1_description/config/sensor_kit_calibration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ sensor_kit_base_link:
roll: 0.000
pitch: 0.000
yaw: 0.000
livox_front_left_base_link:
x: 1.054
y: 0.260
z: -1.330
roll: 0.000
pitch: 0.000
yaw: 1.047
livox_front_center_base_link:
x: 1.054
y: 0.000
z: -1.330
roll: 0.000
pitch: 0.000
yaw: 0.000
livox_front_right_base_link:
x: 1.054
y: -0.260
z: -1.330
roll: 0.000
pitch: 0.000
yaw: -1.047
pandar_xt32_front_center_base_link:
x: 1.130
y: 0.038
z: -1.400
roll: -0.000
pitch: -0.00
yaw: 1.6225
tamagawa/imu_link:
x: 0.0
y: 0.0
z: 0.0
roll: 3.14159
pitch: 0.0
yaw: 0.0
gnss_link:
x: 0.0
y: 0.0
z: 0.0
roll: 0.0
pitch: 0.0
yaw: 0.0
6 changes: 3 additions & 3 deletions aip_x1_description/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<package format="2">
<name>aip_x1_description</name>
<version>0.1.0</version>
<description>The aip_xx1_description package</description>
<description>The aip_x1_description package</description>

<maintainer email="yukihiro.saito@tier4.jp">Yukihiro Saito</maintainer>
<maintainer email="takeshi.miura@tier4.jp">Takeshi Miura</maintainer>
<license>Apache 2</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>

<depend>livox_description</depend>
<depend>pandar_description</depend>
<depend>velodyne_description</depend>

<export>
Expand Down
58 changes: 33 additions & 25 deletions aip_x1_description/urdf/sensor_kit.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<robot xmlns:xacro="http://ros.org/wiki/xacro">
<xacro:macro name="sensor_kit_macro" params="parent x y z roll pitch yaw">
<xacro:include filename="$(find velodyne_description)/urdf/VLP-16.urdf.xacro"/>
<xacro:include filename="$(find imu_description)/urdf/imu.xacro"/>

<xacro:arg name="gpu" default="false"/>
<xacro:arg name="config_dir" default="$(find aip_x1_description)/config"/>
Expand Down Expand Up @@ -36,36 +37,43 @@
${calibration['sensor_kit_base_link']['velodyne_top_base_link']['yaw']}"
/>
</xacro:VLP-16>
<xacro:include filename="$(find livox_description)/urdf/livox_horizon.xacro"/>
<xacro:livox_horizon_macro
name="livox_front_left"

<xacro:include filename="$(find pandar_description)/urdf/pandar_xt32.xacro"/>
<xacro:PandarXT-32
name="pandar_xt32_front_center"
parent="sensor_kit_base_link"
x="${calibration['sensor_kit_base_link']['livox_front_left_base_link']['x']}"
y="${calibration['sensor_kit_base_link']['livox_front_left_base_link']['y']}"
z="${calibration['sensor_kit_base_link']['livox_front_left_base_link']['z']}"
roll="${calibration['sensor_kit_base_link']['livox_front_left_base_link']['roll']}"
pitch="${calibration['sensor_kit_base_link']['livox_front_left_base_link']['pitch']}"
yaw="${calibration['sensor_kit_base_link']['livox_front_left_base_link']['yaw']}"
x="${calibration['sensor_kit_base_link']['pandar_xt32_front_center_base_link']['x']}"
y="${calibration['sensor_kit_base_link']['pandar_xt32_front_center_base_link']['y']}"
z="${calibration['sensor_kit_base_link']['pandar_xt32_front_center_base_link']['z']}"
roll="${calibration['sensor_kit_base_link']['pandar_xt32_front_center_base_link']['roll']}"
pitch="${calibration['sensor_kit_base_link']['pandar_xt32_front_center_base_link']['pitch']}"
yaw="${calibration['sensor_kit_base_link']['pandar_xt32_front_center_base_link']['yaw']}"
/>
<xacro:livox_horizon_macro
name="livox_front_center"
<!-- gnss -->
<xacro:imu_macro
name="gnss"
parent="sensor_kit_base_link"
x="${calibration['sensor_kit_base_link']['livox_front_center_base_link']['x']}"
y="${calibration['sensor_kit_base_link']['livox_front_center_base_link']['y']}"
z="${calibration['sensor_kit_base_link']['livox_front_center_base_link']['z']}"
roll="${calibration['sensor_kit_base_link']['livox_front_center_base_link']['roll']}"
pitch="${calibration['sensor_kit_base_link']['livox_front_center_base_link']['pitch']}"
yaw="${calibration['sensor_kit_base_link']['livox_front_center_base_link']['yaw']}"
namespace=""
x="${calibration['sensor_kit_base_link']['gnss_link']['x']}"
y="${calibration['sensor_kit_base_link']['gnss_link']['y']}"
z="${calibration['sensor_kit_base_link']['gnss_link']['z']}"
roll="${calibration['sensor_kit_base_link']['gnss_link']['roll']}"
pitch="${calibration['sensor_kit_base_link']['gnss_link']['pitch']}"
yaw="${calibration['sensor_kit_base_link']['gnss_link']['yaw']}"
fps="100"
/>
<xacro:livox_horizon_macro
name="livox_front_right"
<!-- imu -->
<xacro:imu_macro
name="tamagawa/imu"
parent="sensor_kit_base_link"
x="${calibration['sensor_kit_base_link']['livox_front_right_base_link']['x']}"
y="${calibration['sensor_kit_base_link']['livox_front_right_base_link']['y']}"
z="${calibration['sensor_kit_base_link']['livox_front_right_base_link']['z']}"
roll="${calibration['sensor_kit_base_link']['livox_front_right_base_link']['roll']}"
pitch="${calibration['sensor_kit_base_link']['livox_front_right_base_link']['pitch']}"
yaw="${calibration['sensor_kit_base_link']['livox_front_right_base_link']['yaw']}"
namespace=""
x="${calibration['sensor_kit_base_link']['tamagawa/imu_link']['x']}"
y="${calibration['sensor_kit_base_link']['tamagawa/imu_link']['y']}"
z="${calibration['sensor_kit_base_link']['tamagawa/imu_link']['z']}"
roll="${calibration['sensor_kit_base_link']['tamagawa/imu_link']['roll']}"
pitch="${calibration['sensor_kit_base_link']['tamagawa/imu_link']['pitch']}"
yaw="${calibration['sensor_kit_base_link']['tamagawa/imu_link']['yaw']}"
fps="100"
/>
</xacro:macro>
</robot>
1 change: 0 additions & 1 deletion aip_x1_launch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ endif()

ament_auto_package(INSTALL_TO_SHARE
launch
data
config
)
114 changes: 64 additions & 50 deletions aip_x1_launch/config/diagnostic_aggregator/sensor_kit.param.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
type: diagnostic_aggregator/AnalyzerGroup
path: sensing
analyzers:
node_alive_monitoring:
type: diagnostic_aggregator/AnalyzerGroup
path: node_alive_monitoring
analyzers:
topic_status:
type: diagnostic_aggregator/GenericAnalyzer
path: topic_status
contains: [": sensing_topic_status"]
timeout: 1.0
lidar:
type: diagnostic_aggregator/AnalyzerGroup
path: lidar
Expand Down Expand Up @@ -33,10 +42,9 @@
path: rpm
contains: [": velodyne_rpm"]
timeout: 3.0

livox:
pandar:
type: diagnostic_aggregator/AnalyzerGroup
path: livox
path: pandar
analyzers:
health_monitoring:
type: diagnostic_aggregator/AnalyzerGroup
Expand All @@ -45,62 +53,68 @@
connection:
type: diagnostic_aggregator/GenericAnalyzer
path: connection
contains: [": livox_connection"]
timeout: 3.0

fan_status:
contains: [": pandar_connection"]
timeout: 5.0
temperature:
type: diagnostic_aggregator/GenericAnalyzer
path: fan_status
contains: [": livox_fan_status"]
timeout: 3.0

firmware_status:
path: temperature
contains: [": pandar_temperature"]
timeout: 5.0
ptp:
type: diagnostic_aggregator/GenericAnalyzer
path: firmware_status
contains: [": livox_firmware_status"]
timeout: 3.0
path: ptp
contains: [": pandar_ptp"]
timeout: 5.0

internal_voltage:
type: diagnostic_aggregator/GenericAnalyzer
path: internal_voltage
contains: [": livox_internal_voltage"]
timeout: 3.0
gnss:
type: diagnostic_aggregator/AnalyzerGroup
path: gnss
analyzers:
health_monitoring:
type: diagnostic_aggregator/AnalyzerGroup
path: health_monitoring
analyzers:
connection:
type: diagnostic_aggregator/GenericAnalyzer
path: connection
contains: [": gnss_connection"]
timeout: 3.0

motor_status:
type: diagnostic_aggregator/GenericAnalyzer
path: motor_status
contains: [": livox_motor_status"]
timeout: 3.0
data:
type: diagnostic_aggregator/GenericAnalyzer
path: data
contains: [": gnss_data"]
timeout: 3.0

# pps_signal:
# type: diagnostic_aggregator/GenericAnalyzer
# path: pps_signal
# contains: [": livox_pps_signal"]
# timeout: 3.0
antenna:
type: diagnostic_aggregator/GenericAnalyzer
path: antenna
contains: [": gnss_antenna"]
timeout: 3.0

# ptp_signal:
# type: diagnostic_aggregator/GenericAnalyzer
# path: ptp_signal
# contains: [": livox_ptp_signal"]
# timeout: 3.0
tx_usage:
type: diagnostic_aggregator/GenericAnalyzer
path: tx_usage
contains: [": gnss_tx_usage"]
timeout: 3.0

service_life:
type: diagnostic_aggregator/GenericAnalyzer
path: service_life
contains: [": livox_service_life"]
timeout: 3.0
spoofing:
type: diagnostic_aggregator/GenericAnalyzer
path: spoofing
contains: [": gnss_spoofing"]
timeout: 3.0

temperature:
type: diagnostic_aggregator/GenericAnalyzer
path: temperature
contains: [": livox_temperature"]
timeout: 3.0
jamming:
type: diagnostic_aggregator/GenericAnalyzer
path: jamming
contains: [": gnss_jamming"]
timeout: 3.0

# time_sync:
# type: diagnostic_aggregator/GenericAnalyzer
# path: time_sync
# contains: [": livox_time_sync"]
# timeout: 3.0
fix_topic_status:
type: diagnostic_aggregator/GenericAnalyzer
path: fix_topic_status
contains: [": fix topic status"]
timeout: 3.0

imu:
type: diagnostic_aggregator/AnalyzerGroup
Expand Down
23 changes: 15 additions & 8 deletions aip_x1_launch/config/dummy_diag_publisher/sensor_kit.param.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,26 @@
/**:
ros__parameters:
required_diags:
# gnss
gnss_connection: default
gnss_data: default
gnss_antenna: default
gnss_tx_usage: default
gnss_spoofing: default
gnss_jamming: default
fix topic status: default

# pandar
pandar_connection: default
pandar_temperature: default
pandar_ptp: default

# velodyne
velodyne_connection: default
velodyne_temperature: default
velodyne_rpm: default

# livox
livox_connection: default
livox_fan_status: default
livox_firmware_status: default
livox_internal_voltage: default
livox_motor_status: default
livox_service_life: default
livox_temperature: default
sensing_topic_status: default

# imu
gyro_bias_estimator: default
8 changes: 8 additions & 0 deletions aip_x1_launch/config/gnss_poser.param.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**:
ros__parameters:
base_frame: base_link
gnss_base_frame: gnss_link
map_frame: map
buff_epoch: 1
use_gnss_ins_orientation: false
gnss_pose_pub_method: 0 # 0: Median, 1: Average
20 changes: 0 additions & 20 deletions aip_x1_launch/data/traffic_light_camera.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions aip_x1_launch/launch/camera.launch.xml

This file was deleted.

Loading
Loading