ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

dpoiesz's profile - activity

2019-06-28 15:20:30 -0500 received badge  Necromancer (source)
2019-06-28 15:20:30 -0500 received badge  Teacher (source)
2019-04-08 01:05:08 -0500 marked best answer Apriltag topics do not return any information but execute without errors or warnings

I can launch the apriltag_detector node without errors or warnings but the topics do not return any information. The command 'rostopics list' will show all the correct topics but they do not return any info. After the command 'rostopics echo /tag_detections_pose' nothing happens, the terminal just reacts as it does when it is processing something ad infinitum. If I use web_video_server I can view /image_raw but if I select /tag_detections_image the browser will also continual load but never show anything. The camera was calibrated. I would appreciate any advice in correcting this problem, thank you.

System info:

ROS Kinetic, Ubuntu Mate 16.04 LTS, Raspberry Pi 3, Raspberry Pi camera

2019-03-05 14:56:23 -0500 marked best answer How do I change the version of a package being used? Specifically, I want to downgrade the version of opencv being used.

I want to change the version of opencv I am using to fix a problem I am having, or to at least rule out the version update as the problem cause. The problem is described here.

Downgrading the package using apt-get does not work because the package source is not available. I used the following commands to download an archived version(current version 3.3.1):

wget -O opencv_contrib.zip https://github.com/opencv/opencv_cont... unzip opencv_contrib.zip

The unzipped file is 'opencv-3.3.0'. Initially moved the unzipped file to the src directory of my catkin workspace and executed catkin_make from the top of the work space. The build exited with errors.

Next, I moved the file to the /opt/src/kinetic/include directory where opencv-3.3.1 was located. Then I changed the files cv_bridge-extras.cmake and cv_bridgeConfig.cmake in the directory /opt/ros/kinetic/share/cv_bridge/cmake/ to reflect the version information and location that I wanted. I executed catkin_make again. There were no errors but does not finish. It gets hung up at:

[ 93%] Building CXX object apriltags_ros/apriltags_ros/CMakeFiles/apriltag_detector_nodelet.dir/src/apriltag_detector_nodelet.cpp.o

After about 15 minutes I interrupt the build and the following output is produced:

^CTraceback (most recent call last):
File "/opt/ros/kinetic/bin/catkin_make", line 296, in <module> sys.exit(main()) File "/opt/ros/kinetic/bin/catkin_make", line 240, in main> run_command(cmd, make_path) File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/builder.py", line 239, in run_command proc.wait() File "/usr/lib/python2.7/subprocess.py", line 1392, in wait pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0) File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call return func(*args)

KeyboardInterruptapriltags_ros/apriltags_ros/CMakeFiles/apriltag_detector_nodelet.dir/build.make:62: recipe for target 'apriltags_ros/apriltags_ros/CMakeFiles/apriltag_detector_nodelet.dir/src/apriltag_detector_nodelet.cpp.o' failed apriltags_ros/apriltags_ros/CMakeFiles/apriltag_detector_node.dir/build.make:62: recipe for target 'apriltags_ros/apriltags_ros/CMakeFiles/apriltag_detector_node.dir/src/apriltag_detector_node.cpp.o' failed make[2]: * [apriltags_ros/apriltags_ros/CMakeFiles/apriltag_detector_node.dir/src/apriltag_detector_node.cpp.o] Interrupt make[2]: * [apriltags_ros/apriltags_ros/CMakeFiles/apriltag_detector_nodelet.dir/src/apriltag_detector_nodelet.cpp.o] Interrupt

CMakeFiles/Makefile2:987: recipe for target 'apriltags_ros/apriltags_ros/CMakeFiles/apriltag_detector_node.dir/all' failed make[1]: * [apriltags_ros/apriltags_ros/CMakeFiles/apriltag_detector_node.dir/all] Interrupt CMakeFiles/Makefile2:1968: recipe for target 'apriltags_ros/apriltags_ros/CMakeFiles/apriltag_detector_nodelet.dir/all' failed make[1]: [apriltags_ros/apriltags_ros/CMakeFiles/apriltag_detector_nodelet.dir/all] Interrupt Makefile:138: recipe for target 'all' failed make: ** [all] Interrupt

2019-02-24 10:39:36 -0500 received badge  Famous Question (source)
2019-02-24 10:39:36 -0500 received badge  Notable Question (source)
2018-11-16 05:20:27 -0500 received badge  Taxonomist
2018-03-03 02:08:27 -0500 received badge  Famous Question (source)
2018-01-27 15:09:03 -0500 commented answer /apriltag_detector node crashes after viewing an apriltag. Receive openCV error

Nevermind, I forgot to rebuild the workspace. Thank you very much for helping me!

2018-01-27 15:08:14 -0500 marked best answer /apriltag_detector node crashes after viewing an apriltag. Receive openCV error

The node /apriltag_detector will launch with no errors or warnings. I ssh into a Raspberry Pi and view the camera image with the package web_video_ server via the topic /tag_detection_image. Once I place an apriltag in view of the camera the apriltag_detector node crashes and gives this error:

OpenCV Error: Assertion failed (mtype == type0 || (((((mtype) & ((512 - 1) << 3)) >> 3) + 1) == 1 && ((1 << type0) & fixedDepthMask) != 0)) in create, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/core/src/matrix.cpp, line 2542 terminate called after throwing an instance of 'cv::Exception' what(): /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/core/src/matrix.cpp:2542: error: (-215) mtype == type0 || (((((mtype) & ((512 - 1) << 3)) >> 3) + 1) == 1 && ((1 << type0) & fixedDepthMask) != 0) in function create

[apriltag_detector-1] process has died [pid 2075, exit code -6, cmd /home/pi/catkin_ws/devel/lib/apriltags_ros/apriltag_detector_node image_rect:=usb_cam/image_raw camera_info:=usb_cam/camera_info __name:=apriltag_detector __log:=/home/pi/.ros/log/943615a2-fb0c-11e7-91d7-b827eb550879/apriltag_detector-1.log]. log file: /home/pi/.ros/log/943615a2-fb0c-11e7-91d7-b827eb550879/apriltag_detector-1*.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done

This node used to work before complications with calibrating the camera. I resolved the calibration problem and the camera is calibrated. Initially I thought I may have messed something up trying to fix the calibration problem but am now led to believe it may have happened after an update/upgrade.

My attempts to downgrade openCV3 using sudo apt-get failed. I thought of commenting out the line of code causing the error but the error list a temporary directory that no longer exists. Any thoughts or advice would be appreciated. Thank you in advance.

2018-01-27 15:08:14 -0500 received badge  Scholar (source)
2018-01-27 15:03:17 -0500 commented question /apriltag_detector node crashes after viewing an apriltag. Receive openCV error

@deksprime, were you able to revert back to opencv-3.2? My attempts failed because the source was not available, could y

2018-01-27 15:01:04 -0500 commented answer /apriltag_detector node crashes after viewing an apriltag. Receive openCV error

@cagatay, I changed the f to a d in TagDetections.cc but still get the same error. Did I miss a step?

2018-01-27 15:00:49 -0500 commented answer /apriltag_detector node crashes after viewing an apriltag. Receive openCV error

@cagatay, I made changed the f to a d in TagDetections.cc but still get the same error. Did I miss a step?

2018-01-27 14:56:02 -0500 commented answer /apriltag_detector node crashes after viewing an apriltag. Receive openCV error

@cagatay, I made changed thee f to a d in TagDetections.cc but still get the same error. Did I miss a step?

2018-01-26 03:11:25 -0500 received badge  Famous Question (source)
2018-01-22 11:11:51 -0500 commented answer /apriltag_detector node crashes after viewing an apriltag. Receive openCV error

Thanks, can't wait to try it. I will let you know how it goes.

2018-01-22 10:19:20 -0500 received badge  Good Question (source)
2018-01-22 08:35:53 -0500 received badge  Nice Question (source)
2018-01-22 06:01:21 -0500 received badge  Notable Question (source)
2018-01-22 05:58:25 -0500 received badge  Notable Question (source)
2018-01-22 05:57:00 -0500 received badge  Student (source)
2018-01-20 10:20:43 -0500 received badge  Popular Question (source)
2018-01-19 02:04:49 -0500 received badge  Popular Question (source)
2018-01-18 15:17:19 -0500 asked a question How do I change the version of a package being used? Specifically, I want to downgrade the version of opencv being used.

How do I change the version of a package being used? Specifically, I want to downgrade the version of opencv being used.

2018-01-16 20:19:25 -0500 edited question /apriltag_detector node crashes after viewing an apriltag. Receive openCV error

/apriltag_detector node crashes after viewing an apriltag. Receive openCV error The node /apriltag_detector will launch

2018-01-16 18:47:25 -0500 asked a question /apriltag_detector node crashes after viewing an apriltag. Receive openCV error

/apriltag_detector node crashes after viewing an apriltag. Receive openCV error The node /apriltag_detector will launch

2018-01-16 16:09:52 -0500 commented answer Apriltag topics do not return any information but execute without errors or warnings

I fixed a mapping mistake and now get the same error as this post: https://answers.ros.org/question/277859/ros-kinetic-o

2018-01-16 16:08:03 -0500 commented answer Apriltag topics do not return any information but execute without errors or warnings

I fixed a mapping mistake and now get the same error as this post: https://answers.ros.org/question/277859/ros-kinetic-o

2018-01-16 16:07:21 -0500 commented answer Apriltag topics do not return any information but execute without errors or warnings

I fixed a mapping typo and now get the same error as this post: https://answers.ros.org/question/277859/ros-kinetic-open

2018-01-16 16:06:05 -0500 received badge  Popular Question (source)
2018-01-16 11:05:58 -0500 commented question ros-kinetic-opencv3 and apriltags regression?

I'm having a similar issue. Has anyone found a solution?

2018-01-14 13:21:51 -0500 commented answer Apriltag topics do not return any information but execute without errors or warnings

Before the /tag_detections_image would display the video even if there was no tag to detect now it doesn't even load.

2018-01-14 13:19:58 -0500 commented answer Apriltag topics do not return any information but execute without errors or warnings

I must have altered something by mistake when I was having problems calibrating the camera because I started getting err

2018-01-14 13:16:01 -0500 commented answer Apriltag topics do not return any information but execute without errors or warnings

I'll start looking into those questions, I am still a novice and it may take me a bit to figure out how. What has me mos

2018-01-13 17:09:24 -0500 answered a question Using camera on Raspberry Pi 3 running ROS::Kinetic

I use the Raspberry PI camera with ROS kinetic and Ubuntu Mate. First, download raspi-config to enable the camera. I use

2018-01-13 17:09:24 -0500 asked a question Apriltag topics do not return any information but execute without errors or warnings

Apriltag topics do not return any information but execute without errors or warnings I can launch the apriltag_detector

2018-01-13 17:09:23 -0500 asked a question Apriltags_ros /tags_detection_pose topic does not echo results

Apriltags_ros /tags_detection_pose topic does not echo results I can launch the apriltag_detector node without errors or