On Sat, Mar 31, 2012 at 6:23 AM, Gonçalo Cabrita wrote: > > My program uses a Kinect to extract cylinders using PCL and draws them in > rviz, or at least its supposed to! The problem is that the model from PCL > provides me with a Vector3 that represents the axis of the cylinder and to > draw it as a Marker on rviz I need to convert this into a quaternion. I also > have access to a random point along the axis of the cylinder so I made the > following function to extract the top and bottom points of the axis of the > cylinder: [...] > Would this be a good question of answers.ros.og? Perhaps if I make it more > general in terms of the conversion between Vector3 and a look at Quaternion? Yes. That is the right forum for questions like this. --  joq