Extreme lag while running spatial mapping with ros on a jetson orin nano.

Hey,

I setup the zed sdk, ros2 wrapper, and ran the ros node. In normal mode with no extra parameters it runs perfectly fine, I can even see the pointcloud on rviz2.
But when I run it with enable_mapping. It causes extreme lag on the jetson. Everything freezes for a while it gets slight better after some time but still very laggy, and while the node is running the keyboard pretty much completely stops working(maybe due to usb bandwidth)

Is this expected, is the jetson orin nano not powerful enough?

Any help would be much appreciated.
Thank you

Hi @Mathew
Welcome to the Stereolabs community.

Have you applied the recommended settings to tune ROS 2 to obtain the maximum communication performance?
Are you using the Jetson in MAX N mode with the running jetson_clocks script?