I have found the reason is: the pkl file is saved with numpy==2.2.6, but opened with a python env with numpy=1.24.4. Then i change the config vscode-pydata-viewer ...
This template will get you set up using ROS2 with VSCode as your IDE. See how I develop with vscode and ros2 for a more in-depth look on how to use this workspace. There are many pre-defined tasks, ...