Hello Xiaochen,
Here are a couple of posts I've made previously to help with diagnosing and fixing communication issues with ROS 2. Please try out the steps outlined in them.
-Cam
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!