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

VicL's profile - activity

2015-10-24 20:11:40 -0500 received badge  Student (source)
2014-06-09 15:32:55 -0500 received badge  Famous Question (source)
2014-01-28 17:30:31 -0500 marked best answer change initial pose of camera in rgbdslam

Hi I am looking to mount the kinect on a robot and it will be tilted at about 45 degrees towards the floor. I want to add the inital offset of 45 degree to the initial pose of the camera. Would like to know which part of the code should I look at?

2013-09-21 18:03:25 -0500 received badge  Famous Question (source)
2013-08-12 23:46:44 -0500 received badge  Taxonomist
2013-07-14 22:18:58 -0500 received badge  Notable Question (source)
2013-07-09 05:06:04 -0500 received badge  Famous Question (source)
2013-07-01 09:47:56 -0500 commented answer uninstall ROS

sudo apt-get remove ros-* would be more extensive!

2013-07-01 08:19:36 -0500 commented answer How do I use pcl 1.7 with groovy?

Which CMakeLists.txt would that be? is it the one at /tmp/pcl_ws/src/flann?

2013-06-30 19:56:11 -0500 received badge  Commentator
2013-06-30 19:56:11 -0500 commented answer How do I use pcl 1.7 with groovy?

Hmm I did not do anything for this part of the patch:

diff --git a/cmake/pcl_find_ros.cmake b/cmake/pcl_find_ros.cmake index cf2e1e3..b426066 100644 --- a/cmake/pcl_find_ros.cmake +++ b/cmake/pcl_find_ros.cmake

Is there something to edit in this part?

2013-06-30 19:52:15 -0500 commented answer How do I use pcl 1.7 with groovy?

any help?thanks in advance!

2013-06-30 19:49:55 -0500 commented answer How do I use pcl 1.7 with groovy?

Hi I had an error here: [ 87%] Built target flann_s

CalledProcessError: Command '/tmp/pcl_ws/install_isolated/env.sh make -j8 -l8' returned non-zero exit status 2 <== Failed to process package 'flann': Command '/tmp/pcl_ws/install_isolated/env.sh make -j8 -l8' returned non-zero exit status 2

2013-06-24 15:23:55 -0500 commented answer publishing camera point clouds in rviz

it works! thanks Philip!

I placed

clusteredScene->header.frame_id = "my_frame"

before

clusterPub.publish(*clusteredScene);

and broadcasted the transformation with parent frame as "camera_depth_optical_frame" and child frame as "clusteredScene_frame"

2013-06-24 14:30:55 -0500 received badge  Notable Question (source)
2013-06-23 21:21:06 -0500 received badge  Popular Question (source)
2013-06-21 13:28:32 -0500 asked a question publishing camera point clouds in rviz

Hi all! I used "roslaunch openni_launch openni.launch" and I am trying to subscribe to the "/camera/depth/points" of pointcloud2 datatype, do something to it in the callback function, which is a member function, and then publish it to rviz.

Problem that I am facing is regarding the fixed and target frames under global options of rviz. All the available frames do not work.

I am receiving this error:"For frame[]: Frame[] does not exist" under "Transform[sender=/MyNodeName]" under "Status:Error" under "PointCloud2" of Rviz.

I believe I need to subscribe to the tf of the camera and publish it in my program, and rviz will use the publish frame as the fixed frame, and the processed point cloud can be visualised.

Not sure how to do this though, or if this is even the coorect approach. Appreciate any help thx! I a on Ubuntu 12.04, fuerte btw!

My source code is as below.

void 
Listener::callback (const sensor_msgs::PointCloud2::ConstPtr& input)
{
    boost::mutex::scoped_lock lock (mtx_);

    pcl17::fromROSMsg(*input, *scene);

            //did some EuclideanClusterExtraction 

    pcl17::toROSMsg(*cloud_cluster, *clusteredScene);
    clusterPub.publish(*clusteredScene);
}

int main (int argc, char** argv)

{

ros::init (argc, argv, "MyNodeName");

ros::NodeHandle nh;

Listener listener;

ros::Subscriber sub = nh.subscribe ("/camera/depth/points", 1000, &Listener::callback, &listener);

clusterPub = nh.advertise<sensor_msgs::pointcloud2> ("="" cluster",="" 1000);<="" p="">

ros::spin ();

}

2013-06-17 12:14:12 -0500 received badge  Popular Question (source)
2013-06-11 03:34:04 -0500 commented answer PCL error in ROS fuerte

my package is in ~/fuerte_workspace/ btw!

2013-06-11 03:29:23 -0500 commented answer PCL error in ROS fuerte

"cat: /opt/ros/fuerte/stacks/perception_pcl/pcl/vtk_include_dirs.txt: No such file or directory".

rosmake pcl didnt show any errors.

Should I have deleted the perception_pcl stack at /opt/ros/fuerte/stacks?

Bythe way, what do you mean by redo VTK? Where shld the source file be at?

2013-06-11 03:29:06 -0500 commented answer PCL error in ROS fuerte

Hi Jiayi, when i modified "cmake -P ${prefix}/vtk_include.cmake" lflags="-Lcmake -P ${prefix}/vtk_library.cmake" to "cat ${prefix}/vtk_include_dirs.txt" lflags="-Lcat ${prefix}/vtk_library_dirs.txt", this is what I got (next comment!)

2013-06-05 09:15:00 -0500 asked a question openni-dev/ps-engine with rgbdslam_freiburg

Hi!

Is there a way to use openni-dev and ps-engine packages with rgbdslam_freiburg?

There is a conflict with the file openni_launch.

openni_launch is used by rgbdslam, but when the newer openni-dev is installed, openni_launch and openni_camera need to be uninstalled.

How can I modify any files to use rgbdslam with the newer openni-dev and ps-engine?

Thanks in advance!!

2013-06-04 21:44:20 -0500 received badge  Famous Question (source)
2013-05-22 10:48:48 -0500 marked best answer how to save/process WHOLE map of rgbdslam

Hi, I am having trouble saving the whole map as seen in the gui of rgbdslam. I need the whole map for path planning. I created a node that listens to /rgbdslam/batch_clouds topic and data were flowing in successfully, as Rviz displays.

I want to perform a planar segmentation and obtain the floor as described in this tutorial:http pointclouds.org documentation tutorials extract_indices.php #extract-indices

The relevant part of the code in this tutorial were placed in the call back function (the function for processing rostopic data as described in ros tutorials) of my program.

And then after I ran my program, where I saved the output to a pcd file and view it via pcd_viewer, only the floor of the last captured frame is displayed, but not the whole map.

The write function (which saves the point cloud into the pcd file) is carried out within the call back function of my program which should be the cause of the problem. Where should I put the write function so that it saves not the last frame but the whole map? Or am I looking at this problem wrongly?

An option would be to save the map as an octomap (.ot extension) using the options avaiable in the gui. I could view the whole map on octovis. But the documentation for octomap is rather poor and I do no know how to manipulate the data to get the floor which I need for path planning.

I am also not sure how to read .ot files and convert them to pointcloud data; not much info can be found regarding ".ot" files.

I have considered a solution in here, but my camera will be place 45 degrees towards the floor, so this solution is insufficient.

Thanks in advance!

2013-05-22 10:48:43 -0500 commented answer how to save/process WHOLE map of rgbdslam

nice! press the "save" button under "data" to save a .pcd file in the default dir but theres nothing published on /rgbdslam/aggregate_clouds

I could open the file and get the floor plane out of the full map, and use

rosrun pcl_ros pcd_to_pointcloud <file.pcd> [ <interval> ]

to publish for rviz