-
Notifications
You must be signed in to change notification settings - Fork 17
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_x2_gen2_launch): update launch to run new concatenate node #386
Conversation
Signed-off-by: Tomohito Ando <[email protected]>
Signed-off-by: Tomohito Ando <[email protected]>
@@ -0,0 +1,28 @@ | |||
/**: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This parameter config might be wrong because these parameters are for x2 gen1.
Could you run the new algorithm with the parameters
/**:
ros__parameters:
debug_mode: false
has_static_tf_only: false
rosbag_length: 10.0
maximum_queue_size: 5
timeout_sec: 0.2
is_motion_compensated: true
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/left_lower/pointcloud_before_sync",
"/sensing/lidar/left_upper/pointcloud_before_sync",
"/sensing/lidar/front_lower/pointcloud_before_sync",
"/sensing/lidar/front_upper/pointcloud_before_sync",
"/sensing/lidar/right_upper/pointcloud_before_sync",
"/sensing/lidar/right_lower/pointcloud_before_sync",
"/sensing/lidar/rear_lower/pointcloud_before_sync",
"/sensing/lidar/rear_upper/pointcloud_before_sync"
]
output_frame: base_link
matching_strategy:
type: advanced
lidar_timestamp_offsets: [0.0, 0.0, 0.025, 0.028, 0.026, 0.05, 0.075, 0.076]
lidar_timestamp_noise_window: [0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please help me verify that the time offsets between the LiDAR timestamps are accurate. (with ros2 topic echo pointcloud_topic --field header
)
I set these parameters at the X2 Gen2 bench months ago, and I'm unsure if any sensor configurations have changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vividf
I played rosbag recorded on the x2 gen vehicle and did ros2 topic echo pointcloud_topic --field header
.
Please tell me if you need any other information!
simplescreenrecorder-2025-02-05_14.37.34.mp4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
This helps a lot!
The parameters below should be accurate one
/**:
ros__parameters:
debug_mode: false
has_static_tf_only: false
rosbag_length: 10.0
maximum_queue_size: 5
timeout_sec: 0.2
is_motion_compensated: true
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/rear_upper/pointcloud_before_sync", # 0.047
"/sensing/lidar/rear_lower/pointcloud_before_sync", # 0.048
"/sensing/lidar/left_upper/pointcloud_before_sync", # 0.048
"/sensing/lidar/left_lower/pointcloud_before_sync", # 0.047
"/sensing/lidar/front_upper/pointcloud_before_sync", # 0.072
"/sensing/lidar/front_lower/pointcloud_before_sync", # 0.072
"/sensing/lidar/right_upper/pointcloud_before_sync", # 0.073
"/sensing/lidar/right_lower/pointcloud_before_sync" # 0.097
]
output_frame: base_link
matching_strategy:
type: advanced
lidar_timestamp_offsets: [0.0, 0.001, 0.001, 0.0, 0.025, 0.025, 0.026, 0.050]
lidar_timestamp_noise_window: [0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TomohitoAndo Sorry! I set two values wrong.
0.01 -> 0.001
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lidar_timestamp_offsets: [0.0, 0.001, 0.001, 0.0, 0.025, 0.025, 0.026, 0.050]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
updated param in fcb43fd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the parameters by myself
#386 (comment)
Signed-off-by: Tomohito Ando <[email protected]>
aip_x2_gen2_launch/config/concatenate_and_time_sync_node.param.yaml
Outdated
Show resolved
Hide resolved
…to true Signed-off-by: Tomohito Ando <[email protected]>
Signed-off-by: Tomohito Ando <[email protected]>
aip_x2_gen2_launch/config/concatenate_and_time_sync_node.param.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Just a notification: I changed the parameters to #386 (comment).
Result should be the same
Description
I updated launch and added the config file to run the new concatenate node.
These changes were made in this PR originally.
Additionally, I changed the output topic name of pointcloud_preprocessor from
pointcloud
topointcloud_before_sync
Tests performed
I confirmed concatenate node works fine in logging_simulator.
![image](https://private-user-images.githubusercontent.com/11865769/409839261-783b681f-016d-43c0-8598-58f34498bab3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzAxMTgsIm5iZiI6MTczOTE2OTgxOCwicGF0aCI6Ii8xMTg2NTc2OS80MDk4MzkyNjEtNzgzYjY4MWYtMDE2ZC00M2MwLTg1OTgtNThmMzQ0OThiYWIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA2NDMzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEyZTQ5MGE0N2Y5ODMyODI4Mzk1YTc0OWMyNWM1MTY0ODc2Y2Q0ZDM2NmY0MmQ3ZGI2OTQwM2U2MmE1MTkyOWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.J5PUoxcQCqk9fQQe-uJE2P3NRHePOd9nr8BEyLX3v44)