NVIDIA-ISAAC-ROS / isaac_ros_visual_slam

Visual SLAM/odometry package based on NVIDIA-accelerated cuVSLAM
https://developer.nvidia.com/isaac-ros-gems
Apache License 2.0
819 stars 127 forks source link

The passed action type is invalid #32

Closed hpf9017 closed 1 year ago

hpf9017 commented 2 years ago

when call the save map action, it occurs an error.

Screenshot from 2022-06-23 18-05-58 Screenshot from 2022-06-23 18-06-20

hemalshahNV commented 1 year ago

Please make sure you've sourced the workspace with the interface definitions before using the ros2 CLI. The string format of your message is missing a key from what you posted:

ros2 action send_goal /visual_slam/save_map isaac_ros_visual_slam_interfaces/action/SaveMap "{map_url: /tmp/isaac-vslam-map}"
ztbupt commented 4 months ago

I meet the same issue. The HW is Orin NX 8G with realsense camera. The Rviz shows good. But savemap action reports "The passed action type is invalid". I used the below cmd ros2 action send_goal /visual_slam/save_map isaac_ros_visual_slam_interfaces/action/SaveMap "{map_url: /tmp/map}"

how to solve it?

ztbupt commented 4 months ago

I meet the same issue. The HW is Orin NX 8G with realsense camera. The Rviz shows good. But savemap action reports "The passed action type is invalid". I used the below cmd ros2 action send_goal /visual_slam/save_map isaac_ros_visual_slam_interfaces/action/SaveMap "{map_url: /tmp/map}"

how to solve it?

And the action is below:

admin@em3-desktop:/tmp/map$ ros2 action list /visual_slam/load_map_and_localize /visual_slam/save_map admin@em3-desktop:/tmp/map$ ros2 action info save_map Action: save_map Action clients: 0 Action servers: 0 admin@em3-desktop:/tmp/map$ ros2 action info load_map_and_localize Action: load_map_and_localize Action clients: 0 Action servers: 0