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

blairlpp's profile - activity

2023-07-25 04:51:37 -0500 received badge  Nice Question (source)
2021-07-21 07:24:51 -0500 received badge  Famous Question (source)
2021-07-21 07:24:51 -0500 received badge  Notable Question (source)
2021-07-21 07:24:51 -0500 received badge  Popular Question (source)
2018-11-14 12:11:50 -0500 received badge  Notable Question (source)
2018-11-14 12:11:50 -0500 received badge  Popular Question (source)
2018-04-29 06:15:01 -0500 received badge  Student (source)
2018-03-27 20:54:10 -0500 received badge  Famous Question (source)
2018-03-27 20:54:10 -0500 received badge  Notable Question (source)
2018-03-27 20:54:10 -0500 received badge  Popular Question (source)
2016-11-04 04:13:06 -0500 received badge  Famous Question (source)
2016-09-20 04:55:22 -0500 asked a question What's wrong with my opencv2.4.9 on ubuntu14.04LTS?

I want to install opencv2.4.9 on ubuntu14.04LTS. And I thought I did it cause I succeed in running find_obj which is an executable file opencv2.4.9 samples folder---the path is home/opencv/opencv-2.4.9/samples/c. in a terminal, cd to the path above and text ./find_obj, then a book corresponding picture shows. So I write a test.cpp to try whether opencv2.4.9 is avaliable. Test.cpp is

#include "stdio.h"
#include <iostream>
#include "opencv2/opencv.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/core/core.hpp"


using namespace cv;  

int main(int argc, char* argv[])  
{  
    Mat image;  
    image = imread(argv[1], 1);  

    if (argc != 2 || !image.data)   
    {  
        printf("No image data\n");  
        return -1;  
    }  

    namedWindow("Display Image", CV_WINDOW_AUTOSIZE);  
    imshow("Display Image", image);  
    waitKey(0);  
    return 0;  
}

I tried

g++ test.cpp

but some similar errors happened like ‘cv::Mat::create(int, int, int)’中: find_obj.cpp:(.text._ZN2cv3Mat6createEiii[_ZN2cv3Mat6createEiii]+0x8e):‘cv::Mat::create(int, int const*, int)’ undefinition quote.

And I don't think its the test.cpp 's problem cause I did g++ find_obj.cpp in a new terminal but the errors are stll there.

2016-07-21 10:09:00 -0500 asked a question How to publish PIONEER 3-AT's encoder message on ROS?

I have a C++ program which needs PIONEER 3-AT's encoder message. But how can I get and use it on ROS?

2016-06-11 22:58:37 -0500 asked a question Why does my kinect xbox 360 show wrong message after roslaunch openni_launch openni.launch?

I got a kinect xbox 360 recently. And I want to try it on ROS. First, I run

$ sudo apt-get install ros-jade-openni-camera ros-jade-openni-launch
$ rosstack profile

then, I install some drivers according to a tutorial on the net which include NITE-Bin-Dev-Linux-x64-v1.5.2.23, OpenNI-Bin-Dev-Linux-x64-v1.5.7.10 and Sensor-Bin-Linux-x64-v5.1.2.1. then, I plug my kinect and run

 cd ~/software/OpenNI-Bin-Dev-Linux-x64-v1.5.7.10/Samples/Bin/x64-Release
   ./NiViewer

luckily, it works. However, after that, I opened a new terminal and run

$ rosrun openni_camera openni_node

it shows some warnings such as

  • [ WARN] [1465703497.922185573]: ~device_id is not set! Using first device.

and I run

$ roslaunch openni_launch openni.launch

there were many errors:

  • [FATAL] [1465703522.416216624]: Service call failed! [camera/camera_nodelet_manager-1] process has died [pid 16155, exit code -6, cmd /opt/ros/jade/lib/nodelet/nodelet manager __name:=camera_nodelet_manager __log:=/home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-camera_nodelet_manager-1.log]. log file: /home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-camera_nodelet_manager-1.log [camera/rectify_ir-6] process has died [pid 16170, exit code 255, cmd /opt/ros/jade/lib/nodelet/nodelet load image_proc/rectify camera_nodelet_manager --no-bond image_mono:=ir/image_raw image_rect:=ir/image_rect_ir __name:=rectify_ir __log:=/home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-rectify_ir-6.log]. log file: /home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-rectify_ir-6.log [camera/depth_metric_rect-8] process has died [pid 16185, exit code 255, cmd /opt/ros/jade/lib/nodelet/nodelet load depth_image_proc/convert_metric camera_nodelet_manager --no-bond image_raw:=depth/image_rect_raw image:=depth/image_rect __name:=depth_metric_rect __log:=/home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-depth_metric_rect-8.log]. log file: /home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-depth_metric_rect-8.log [camera/driver-2] process has died [pid 16156, exit code 255, cmd /opt/ros/jade/lib/nodelet/nodelet load openni_camera/driver camera_nodelet_manager --no-bond ir:=ir rgb:=rgb depth:=depth depth_registered:=depth_registered projector:=projector __name:=driver __log:=/home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-driver-2.log]. log file: /home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-driver-2.log [camera/depth_rectify_depth-7] process has died [pid 16182, exit code 255, cmd /opt/ros/jade/lib/nodelet/nodelet load image_proc/rectify camera_nodelet_manager --no-bond image_mono:=depth/image_raw image_rect:=depth/image_rect_raw __name:=depth_rectify_depth __log:=/home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-depth_rectify_depth-7.log]. log file: /home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-depth_rectify_depth-7.log [camera/register_depth_rgb-11] process has died [pid 16209, exit code 255, cmd /opt/ros/jade/lib/nodelet/nodelet load depth_image_proc/register camera_nodelet_manager --no-bond rgb/camera_info:=rgb/camera_info depth/camera_info:=depth/camera_info depth/image_rect:=depth/image_rect_raw depth_registered/image_rect:=depth_registered/sw_registered/image_rect_raw __name:=register_depth_rgb __log:=/home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-register_depth_rgb-11.log]. log file: /home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-register_depth_rgb-11.log [camera/disparity_registered_hw-20] process has died [pid 16280, exit code 255, cmd /opt/ros/jade/lib/nodelet/nodelet load depth_image_proc/disparity camera_nodelet_manager --no-bond left/image_rect:=depth_registered/hw_registered/image_rect_raw right:=projector left/disparity:=depth_registered/disparity __name:=disparity_registered_hw __log:=/home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-disparity_registered_hw-20.log]. log file: /home/bit/.ros/log/e5007b1e-3045-11e6-b9d7-207c8f6f30fd/camera-disparity_registered_hw-20*.log
2016-06-11 09:35:06 -0500 commented answer Using ROS with Kinect (Failed to set USB interface)

hello, the link u gave us is unavailable, could u please give us another one cause i tried the two sudo command below but it doesn't work. thanks a lot~

2016-06-09 21:22:33 -0500 received badge  Notable Question (source)
2016-06-03 02:10:42 -0500 received badge  Popular Question (source)
2016-06-03 02:09:02 -0500 received badge  Enthusiast
2016-06-01 20:17:32 -0500 asked a question How can I find some valuable problems about SLAM which can be my master research projects?

hi, my dear ROS friends! I am a first-year student for my Master Degree and SLAM is totally a whole new thing for me. There are so many things I need to learn. I am learning how to operate ROS to do SLAM. And I have wrote one simple EKF-SLAM code which were tested on a vehicle robot these days but the landmarks recognition part is from my partner. Im very confused right now cause I have to determine my research projects in two weeks however I haven't read many SLAM papers. I am trying to read some but I can't totally understand what the papers said without practice by my hand such as using a LIDAR to do SLAM. So what should I do?

2016-05-30 21:56:02 -0500 received badge  Famous Question (source)
2016-05-26 01:46:57 -0500 commented answer Why can't I roslaunch?

Oh, my god! What a stupid question! Thank u so much.

2016-05-26 01:45:46 -0500 received badge  Supporter (source)
2016-05-25 03:01:11 -0500 received badge  Notable Question (source)
2016-05-25 02:08:01 -0500 commented question Why can't I roslaunch?

Thanks for ur help. I just used the Preformatted text button to upload my code. Do I use it right? Hope ur reply.

2016-05-24 06:39:48 -0500 received badge  Popular Question (source)
2016-05-23 21:48:13 -0500 asked a question Why can't I roslaunch?

Hi, everyone. Im learning ROS tutorials on wiki.When I first use roslaunch according to the beginner level tutorial, there is something wrong. I don't know why it shows that there is a syntax error at line 1,column 3 cause I just copy the code on tutorial. Please tell me why.

input:

roslaunch beginner_tutorials turtlemimic.launch

output:

logging to /home/bit/.ros/log/........long number....../roslaunch-bit-auto-6902.log
checking log directory for disk usage. This may take awhile.
press ctrl-c to interrupt
done checking log file disk usage. usage is <1GB

/the following r red words/

invalid roslaunch xml syntax: syntax error: line 1,column 3
the traceback for the exception was written to the log file

This is the turtlemimic.launch file.

   1 <launch>
   2 
   3   <group ns="turtlesim1">
   4     <node pkg="turtlesim" name="sim" type="turtlesim_node"/>
   5   </group>
   6 
   7   <group ns="turtlesim2">
   8     <node pkg="turtlesim" name="sim" type="turtlesim_node"/>
   9   </group>
  10 
  11   <node pkg="turtlesim" name="mimic" type="mimic">
  12     <remap from="input" to="turtlesim1/turtle1"/>
  13     <remap from="output" to="turtlesim2/turtle1"/>
  14   </node>
  15 
  16 </launch>
2016-05-23 21:01:47 -0500 received badge  Organizer (source)