NVIDIA-ISAAC-ROS / NVIDIA-ISAAC-ROS/isaac_ros_visual_slam

LoadMapAdnLocalize crashes

Open
#155 7 comments 0 reactions 1 assignee View on GitHub

@hemalshahNV is already working on this.

Since Aug 19, 2024.

bug
Dominant language
C++
Stars
1.5k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

Hello,

The service call to LoadMapAndLocalize sometimes crashes. Below is the error messages we
get , restarting and reissuing the service call will work. Doing a quick google search, it looks
like it could be caused by a "race" condition.

Please let me know if we can provide any more information
Best Regards
Sandeep
[component_container_mt-2] [WARN] [1711573751.678238729] [visual_slam_node]: CallbackLoadMapAndLocalizeAccepted()
[component_container_mt-2] [INFO] [1711573751.678336682] [visual_slam_node]: cuvslam: LoadMapAndLocalize /workspaces/isaac_ros-dev/src/jeeves_navigation/maps/visual_map [0.000000, 0.000000, 0.000000]
[component_container_mt-2] terminate called after throwing an instance of 'std::runtime_error'
[component_container_mt-2] what(): Taking data from action server but nothing is ready
[ERROR] [component_container_mt-2]: process has died [pid 92842, exit code -6, cmd '/opt/ros/humble/lib/rclcpp_components/component_container_mt --ros-args -r __node:=vslam_container'].

Command used to load map:
ros2 action send_goal /visual_slam/load_map_and_localize isaac_ros_visual_slam_interfaces/action/LoadMapAndLocalize "{map_url: /workspaces/isaac_ros-dev/src/jeeves_navigation/maps/visual_map, localize_near_point: { x: 0, y: 0,z: 0}}"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.