Closed aPonza closed 5 years ago
status: the problem lies with ArUco not writing/publishing frames anywhere:
$ roswtf
Loaded plugin tf.tfwtf
No package or stack in context
================================================================================
Static checks summary:
No errors or warnings
================================================================================
Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
... done running graph rules
running tf checks, this will take a second...
... tf checks complete
Online checks summary:
Found 1 warning(s).
Warnings are things that may be just fine, but are sometimes at fault
WARNING No tf messages
I'm trying to go step by step but it's not helping much, I'll also double check again the Debugging tf tutorial for good measure
The problem seemed to be no marker was ever detected (maybe the marker I printed is unsupported from this repo? I have number 42 from the default ARUCO_MIP_36h12 dictionary).
Incorporating #44 seems to solve the issue.
@aPonza Hi, I am in the same situation as you,I also get a forever frozen window, and no output on any topic.How did you solve it?And where is the aruco_simple file?
I'm 90% sure I'm missing something easy but crucial, but I can't get this package to work. What I did:
roslaunch realsense2_camera rs_rgbd.launch
to get the camera up, and these topics/frames:topics
frames![frames](https://user-images.githubusercontent.com/39060879/56574132-c97d3e80-65c2-11e9-8704-e5d13ea14472.png)
roslaunch aruco_ros single.launch markerId:=42 markerSize:=0.07 camera_frame:=camera_color_optical_frame camera_info:=/camera/color/camera_info image:=/camera/color/image_rect_color
androslaunch aruco_ros single.launch markerId:=42 markerSize:=0.07 camera_frame:=camera_link camera_info:=/camera/color/camera_info image:=/camera/color/image_rect_color
: in both cases I get these topics up and no errors in the outputtopics
and of course I have a print of marker 42 in front of the camera;
if I
rosrun image_view image_view image:=/aruco_single/result
I get a forever frozen window, and no output on any topic. I'm instead expecting a window identical to the one I'd have by runningrosrun image_view image_view image:=/camera/color/image_raw
but with colored borders around the marker and a tf frame in the center of the marker, like everybody else's examples show.if I
./aruco_simple ~/Desktop/image_raw_screenshot_23.04.2019.png
where the screenshot is an unmodified screen from the aforementionedrosrun image_view image_view image:=/camera/color/image_raw
I get the colored border and number 42 next to it.Reading through other issues I have found I had an extra opencv installation (2.4) which seemed safe to uninstall, so now I only have the apt packaged ros-kinetic-opencv3:
I cleaned and rebuilt library and catkin workspace after uninstalling to no avail, again.
How can I debug this situation?
EDIT: roswtf says:
so I'll look there for a bit
EDIT2: rewriting the launch file connected the subscriptions, which made the image_view window work, but still with no frames/borders...