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

mmyself's profile - activity

2021-08-11 15:31:11 -0500 received badge  Great Question (source)
2020-02-22 03:07:42 -0500 received badge  Good Question (source)
2018-07-24 10:34:54 -0500 received badge  Good Question (source)
2016-04-26 07:03:39 -0500 received badge  Self-Learner (source)
2015-08-20 04:24:34 -0500 received badge  Nice Question (source)
2014-02-18 07:15:16 -0500 received badge  Nice Question (source)
2013-10-29 04:54:25 -0500 received badge  Nice Answer (source)
2013-10-29 04:49:35 -0500 received badge  Teacher (source)
2013-10-23 22:18:06 -0500 answered a question pcl to tf - example for pcl::transformPointCloud
  1. tully's answer is absolut correct, to my question.

  2. the answer i need, i found here. here happens the tranformation stuff. https://github.com/ethz-asl/ethzasl_ptam/blob/master/ptam/src/PTAMVisualizer.cpp

  3. my fault was: i don't know that i can gave many topics the same frame.id and that there must only one tf for two different frames to work in rviz, in my case world->camera. So i gave the pcl topic also the frame.id /world and everything works great. i can see the cloud in rivz :)

2013-10-21 23:05:09 -0500 received badge  Famous Question (source)
2013-10-17 08:40:13 -0500 received badge  Notable Question (source)
2013-10-16 05:23:40 -0500 answered a question ardrone_automony is not receiving correct navdata from AR.Drone2.0

You have to look for the drone firmware. it must be 2.3.3

look here https://github.com/AutonomyLab/ardrone_autonomy/issues/69

we are all waiting for the new sdk from parrot

2013-10-15 23:45:21 -0500 commented answer pcl to tf - example for pcl::transformPointCloud

i know the tutorials and have other tf solutions working. my prob is the pcl to tf thing. hope i can post the solution here. try to bring the above link to work. and will post it.

2013-10-15 23:42:41 -0500 received badge  Scholar (source)
2013-10-14 23:05:54 -0500 received badge  Popular Question (source)
2013-10-14 22:43:59 -0500 commented answer pcl to tf - example for pcl::transformPointCloud

thx a lot tfoote, "but "/pcl is not published as a tf frame_id". this is what i also thought, after a long night yesterday. but this is exactly what i want. so i'm back to my question, how can i bring a pcl to tf. if i was searching on google for pcl to tf i found only examples in the above way. Must i only make a tf broadcaster for the pcl? You know an example file in ros where i can see how this work? maybe this i a good example? http://lars.mec.ua.pt/lartk/doc/plane_model_road_segmentation/html/transform__cloud__nodelet_8cpp_source.html many thx for your patient, tf is a hard concept for me ;)

2013-10-14 00:25:38 -0500 commented question pcl to tf - example for pcl::transformPointCloud

My question so stupid?

2013-10-13 00:22:44 -0500 received badge  Editor (source)
2013-10-13 00:21:10 -0500 asked a question pcl to tf - example for pcl::transformPointCloud

I am looking for a working example for translating a pointcloud to tf. Here is my example based on the examples here. pcl_ros tutorials (http://wiki.ros.org/pcl_ros#CA-1e7f8563c53a97f77516b3fe5ea24f4b33d237de_3)

typedef pcl::PointCloud<pcl::PointXYZ> PointCloud;

ros::Publisher tf_pub;
tf::TransformListener *tf_listener; 

void callback(const PointCloud::ConstPtr& pcl_in)
{

  PointCloud pcl_out;

  tf_listener->waitForTransform("/world", (*pcl_in).header.frame_id, (*pcl_in).header.stamp, ros::Duration(5.0));
  pcl_ros::transformPointCloud("/world", *pcl_in, pcl_out, *tf_listener);
  tf_pub.publish(pcl_out);

  printf ("Cloud: width = %d, height = %d\n", pcl_in->width, pcl_in->height);
  BOOST_FOREACH (const pcl::PointXYZ& pt, pcl_in->points)
    printf ("\t(%f, %f, %f)\n", pt.x, pt.y, pt.z);
}

int main(int argc, char** argv)
{
  ros::init(argc, argv, "sub_pcl");
  ros::NodeHandle nh;
  ros::Subscriber sub = nh.subscribe<PointCloud>("points2", 1, callback);
  tf_pub = nh.advertise<PointCloud> ("tf_points2", 1);

  tf_listener    = new tf::TransformListener();

  ros::spin();
  //delete tf_listener; 
  //return 0; 
}

this resumes in the following error.

[ERROR] [1381659561.691872448]: Frame id /pcl does not exist! Frames (3): Frame /world_marker exists with parent /world.
Frame /world exists with parent NO_PARENT.

the frame_id /pcl exists. rxgraph show that is all connected and well.

anybody there who can tell me what i'm doing wrong or maybe has a working example for me?

update: after looking around and trying a lot, i didn't find a working example anyway. the above code is not what i'am searching for. i was on the wrong lane, by googling to the theme pcl to tf.

i was looking for an example for maybe an /world frame and the /pcl frame from pcl_ros tutorial above. must i transform any point of the pointcloud or ...??? don't no what to do.

at the end, i only want a /world -> /camera -> /pcl tf chain for the ardrone. but stick in the pcl to tf thing and didn't come further :(

anybody out there who can help me at this point.

2013-03-08 08:12:21 -0500 received badge  Student (source)
2012-08-16 09:27:13 -0500 received badge  Famous Question (source)
2012-08-16 09:27:13 -0500 received badge  Notable Question (source)
2012-06-10 08:43:11 -0500 received badge  Popular Question (source)
2011-10-09 18:36:03 -0500 commented answer how to run a gazebo world file
thx, thats it.
2011-10-08 02:26:23 -0500 asked a question how to run a gazebo world file

how do i run the *.world files in gazebo_worlds/worlds?