Zed publish_pose_cov not creating pose_with_covariance topic

Hi, I am trying to publish a pose_with_covariance to use with an EKF node.

I set the publish_pose_cov option to true but no topic for pose with covariance shows up

I tried spatial_memory := true

I also tried setting it manually in the yaml in the wrapper and rebuilding, but that caused running the camera to fail

ros2 launch zed_wrapper zed_camera.launch.py \ publish_pose_cov:=true \ camera_model:=zed2i \ publish_map_tf:=false \ publish_tf:=true \ res:=HD720 \ depth_mode:=PERFORMANCE \ camera_fps:=30 \ colorize_depth:=false \ color_enhancing:=false \ pos_tracking_enabled:=true \ pos_tracking_mode:=“GEN_1” \ area_memory:=false \ sensors_image_sync:=true

Hi @rishikandimalla
Welcome to the Stereolabs Community.

The set of arguments that you are using with the launch file are not valid.

You can use this command to retrieve a set of available launch arguments:
ros2 launch zed_wrapper zed_camera.launch.py -s

To enable the plublishing of the pose with covariance topic you must modify the common_stereo.yaml configuration file:

I recommend you read the ZED ROS2 Wrapper documentation to learn the best practices to use it: