Giter Site home page Giter Site logo

Comments (9)

awesomebytes avatar awesomebytes commented on June 23, 2024 1

You could also start off executing the node with the output visible, just modify (or even better, make a new launch file based on the single.launch) the line:

https://github.com/pal-robotics/aruco_ros/blob/master/aruco_ros/launch/single.launch#L10

and add output="screen"

So it will look like:

So at least you'll get the prints of the node before dieing.

from aruco_ros.

bmagyar avatar bmagyar commented on June 23, 2024

Hi,
There are not too many hints here that could help. Can you run the node in GDB so that we get a bit more insight?
Here is a wiki page that suggests some ways to do this from a launch file directly:
http://wiki.ros.org/roslaunch/Tutorials/Roslaunch%20Nodes%20in%20Valgrind%20or%20GDB

Start it with gdb, "run", then when it crashes execute "bt", and post the output here.

Also: what operating system, which ROS are you running on?

from aruco_ros.

jordi-pages avatar jordi-pages commented on June 23, 2024

By default the node is subscribing to /stereo/left/camera_info and /stereo/left/image_rect_color. You should modify the single.launch file and remap the /image and /camera_info topics to the corresponding topics of your camera.

from aruco_ros.

bmagyar avatar bmagyar commented on June 23, 2024

I think I have ran into the issue today. Could you please confirm that the camera_info has D: [] ?

rostopic echo /your_camera/camera_info

from aruco_ros.

hecsaniz avatar hecsaniz commented on June 23, 2024

Hi,

Sorry for no answering, I was very busy and I had to do a lot of things. I have tried many of the things that you told me to do (for example I had to remap the /image and /camera_info topics to my camera's topics), but I couldn't solve the problem.
Furthermore, I tried to use the package in another computer and it worked perfectly. So the solution was to uninstall ROS and then reinstall it.
Thank you for your quick answers, and thank you for the package, now it works very fine!

from aruco_ros.

bmagyar avatar bmagyar commented on June 23, 2024

I beleive I solved the problem that caused this crash. For now it is gone, the solution is not the best but lately I've been working on rearranging some code so it will get prettier.

4c904f7

from aruco_ros.

anirvan95 avatar anirvan95 commented on June 23, 2024

Hi bmagyar.

I am using aruco_ros and I am facing similar issue -

[aruco_single-1] process has died [pid 23951, exit code -11, cmd /home/<user_name>/catkin_ws/devel/lib/aruco_ros/single /camera_info:=/usb_cam/camera_info /image:=/usb_cam/image_raw __name:=aruco_single __log:=/home/<user_name>/.ros/log/c47e5f6a-a839-11e7-8fb5-9c2a7029bf35/aruco_single-1.log].
log file: /home/<user_name>/.ros/log/c47e5f6a-a839-11e7-8fb5-9c2a7029bf35/aruco_single-1*.log

I checked the log file, it was empty. I changed the topic to /usb_cam/camera_info. I checked the integrity of the camera_info and it was correct. I even reinstalled ROS indigo.
I launched the node in debug mode wherein it says -
Segmentation fault, in cv::Mat::setTo(cv::_InputArray const&, cv::_InputArray const&)()
from /usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4

I am attaching the detailed error code in the picture. I will be thankful to you if you debug the issue as soon as possible.
screenshot from 2017-10-03 18 41 55

from aruco_ros.

Beryl-Zong avatar Beryl-Zong commented on June 23, 2024

I am attaching the detailed error code in the picture. I will be thankful to you if you debug the issue as soon as possible.

Hello,
I've met exactly the same problem as yours, do you work out it now?

[aruco_single-2] process has died [pid 10981, exit code -6, cmd /home/z/my_ws/devel/lib/aruco_ros/single /camera_info:=/camera/color/camera_info /image:=/camera/color/image_raw __name:=aruco_single __log:=/home/z/.ros/log/5d2cf1b4-f5fa-11ec-bbc9-2811a83cf5b4/aruco_single-2.log].
log file: /home/z/.ros/log/5d2cf1b4-f5fa-11ec-bbc9-2811a83cf5b4/aruco_single-2*.log

my log file is empty also, the only different is when I launched the node in debug mode, it says -

Thread 1 "single" received signal SIGSEGV, Segmentation fault.
0x00007ffff67ffdc0 in cv::Size_::Size_(cv::Size_ const&) ()
from /home/z/my_ws/devel/lib/libaruco.so

here is the picture of my terminal:

2022-06-27 17-46-08屏幕截图

from aruco_ros.

saikishor avatar saikishor commented on June 23, 2024

Hello @Aya-nuomi,

This issue had been closed for a long time. If you are facing any issue, please open a new issue and specify the detailed steps to reproduce it, and also provide us the data of the camera info you are using.

Thank you,

Best Regards,
PAL Robotics Team.

from aruco_ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.