Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node is crashing when tag is being detected #153

Open
abhip64 opened this issue May 15, 2023 · 1 comment
Open

Node is crashing when tag is being detected #153

abhip64 opened this issue May 15, 2023 · 1 comment

Comments

@abhip64
Copy link

abhip64 commented May 15, 2023

In continuous detector, whenever the tag is detected the node crashes with an exit code of -11 (SIGSEGV).

[apriltag_ros_continuous_node-1] process has died [pid 25446, exit code -11, cmd /home/emad/catkin_ws/devel/lib/apriltag_ros/apriltag_ros_continuous_node image_rect:=/duo3d_camera/left/image_rect camera_info:=/duo3d_camera/left/camera_info __name:=apriltag_ros_continuous_node __log:=/home/emad/.ros/log/1e7635d6-f2f5-11ed-850c-bb0023300a6f/apriltag_ros_continuous_node-1.log].
log file: /home/emad/.ros/log/1e7635d6-f2f5-11ed-850c-bb0023300a6f/apriltag_ros_continuous_node-1*.log

Commenting out the following lines in continuous_detector.cpp mitigates the issue but the /tag_detections_image topic will not be published. The /tag_detections as well as /tf topics work fine.

if (draw_tag_detections_image_)
  {
    tag_detector_->drawDetections(cv_image_);
    tag_detections_image_publisher_.publish(cv_image_->toImageMsg());
  }

Rosdistro: Noetic
Device: NVIDIA Jetson AGX Orin

@arizonat
Copy link

arizonat commented Jun 9, 2023

Can also confirm that this is an issue for us and setting draw_tag_detections_image_ to false "fixes" it (as in, no longer crashes, but also no longer gives us tag_detections_images). This is using the version built from source (apt version seems not to have this issue), but we've had other issues in regards to timing that we've been fixing and thus need to build from source.

Platform: ROS Noetic and Nvidia Jetson Orin NX JetPack 5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants