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

Kyle Strabala's profile - activity

2023-02-03 00:57:19 -0500 received badge  Good Question (source)
2019-11-01 05:38:22 -0500 received badge  Great Question (source)
2019-08-07 00:01:15 -0500 received badge  Guru (source)
2019-08-07 00:01:15 -0500 received badge  Great Answer (source)
2017-06-30 15:30:45 -0500 received badge  Enlightened (source)
2017-06-30 15:30:45 -0500 received badge  Good Answer (source)
2014-07-31 19:21:46 -0500 received badge  Good Question (source)
2014-07-28 04:23:51 -0500 received badge  Famous Question (source)
2014-07-28 04:23:51 -0500 received badge  Notable Question (source)
2014-01-28 17:26:04 -0500 marked best answer Problems compiling nodes using pcl in Ubuntu 11.10

There seems to be an issue with compiling ROS nodes that use pcl on Ubuntu 11.10. When I try to compile my node on 10.04 I don't have any problems. Both installations were installed from the debian packages ros-electric-desktop-full and ros-electric-perception-pcl-addons.

  1. Ubuntu 10.04, 32-bit, ROS Electric: Works
  2. Ubuntu 11.10, 32-bit, ROS Electric: Doesn't compile

My node is pretty simple, mainly just visualizing a static point cloud that I create.

In the second case, I get the following compiler error during linking.

...
Linking CXX executable ../bin/publish_primitives
/usr/bin/ld: CMakeFiles/publish_primitives.dir/src/publish_primitives.o: undefined reference to symbol 'vtkSmartPointerBase::operator=(vtkObjectBase*)'
/usr/bin/ld: note: 'vtkSmartPointerBase::operator=(vtkObjectBase*)' is defined in DSO /usr/lib/libvtkCommon.so.5.6 so try adding it to the linker command line
/usr/lib/libvtkCommon.so.5.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
...

I manually added the required libraries in CMakeLists.txt (below) and it fixes the compiler problem.

rosbuild_add_executable(publish_primitives src/publish_primitives.cpp)
target_link_libraries(publish_primitives libvtkCommon.so libvtkFiltering.so )

Messing with the compiler flags for pcl is beyond me, so I'll leave it to the higher ups to figure out what is going on.

2014-01-28 17:23:01 -0500 marked best answer How do you upgrade pcl to the current release?

How can I update/upgrade the pcl library used by ROS? I downloaded the latest source code for PCL from pointclouds.org, added some functionality, and now I want to use this new code in my ROS nodes. However, I cannot determine how to overwrite the ROS pcl package.

Things I've tried:

1) Replacing the files/libraries I changed in the pcl package. Doesn't work because other stuff was updated in addition to the stuff I changed.

2) Removing the dependency on the ROS pcl package and use CMakeLists.txt to link to the system pcl library. Doesn't work because pcl and ROS try to declare some of the same classes.

Someone must know how to do this because pcl is so popular in ROS. It would be nice to have some documentation on it.

Thanks, Kyle.

2013-02-28 20:04:08 -0500 received badge  Popular Question (source)
2013-02-26 07:15:40 -0500 received badge  Nice Question (source)
2013-01-29 23:28:29 -0500 received badge  Famous Question (source)
2013-01-20 15:22:03 -0500 asked a question rviz: get interactive object behind transparent object

I am playing around with an rviz tool plugin and I'm trying figure out how to select an interactive marker that is behind a transparent non-interactive object.

Is there a way to parse the results from rviz::SelectionManager::pick to get handles to the objects further back in depth?

2013-01-20 15:13:42 -0500 commented question Openni with Xtion Pro on Groovy: Unsupported encoding yuv422

works fine now

2013-01-07 02:59:58 -0500 received badge  Notable Question (source)
2013-01-02 18:42:23 -0500 received badge  Popular Question (source)
2012-12-29 03:23:01 -0500 received badge  Editor (source)
2012-12-29 03:20:22 -0500 received badge  Organizer (source)
2012-12-29 03:18:49 -0500 asked a question Openni with Xtion Pro on Groovy: Unsupported encoding yuv422

When I run openni_launch/openni.launch with an Asus Xtion Pro, I get the following error and the depth_registered topics are not published.

[ERROR] [1356793701.839304000]: Unsupported encoding [yuv422]

I do not get this error with a Microsoft Kinect.

I running Ubuntu 12.04 (64-bit) with the latest groovy debians.

Anyone know how to fix this?

2012-12-20 06:04:41 -0500 commented question Ubuntu precise amd64 packages missing for ROS Fuerte

I am having the same problem.

2012-10-10 05:08:44 -0500 received badge  Famous Question (source)
2012-10-10 05:08:44 -0500 received badge  Notable Question (source)
2012-08-23 09:47:50 -0500 received badge  Famous Question (source)
2012-07-20 14:42:16 -0500 received badge  Popular Question (source)
2012-06-22 05:59:16 -0500 received badge  Nice Question (source)
2012-06-09 11:16:31 -0500 received badge  Notable Question (source)
2012-04-29 10:15:18 -0500 received badge  Popular Question (source)
2012-04-25 01:38:15 -0500 marked best answer rosbag reverse

In the C++ API for rosbag, you can open a rosbag and then step forwards through messages using the following loop (taken from the rosbag API website):

BOOST_FOREACH(rosbag::MessageInstance const m, view)

Is there a way to reverse through the messages?

I have tried the following:

for(rosbag::View::iterator iter = view.end(); iter != view.begin(); --iter)

but the compiler complains that ‘class rosbag::View::iterator’ has no member named ‘decrement’

I tried to add a "decrement" function to view.h/cpp in the rosbag API based on the "increment" function, but my C++ isn't good enough to figure out what is going on.

Any suggestions? Thanks, Kyle.

2012-04-25 01:38:15 -0500 received badge  Nice Answer (source)
2012-04-17 00:21:36 -0500 received badge  Famous Question (source)
2012-04-10 07:14:53 -0500 received badge  Good Question (source)
2012-02-13 03:24:27 -0500 received badge  Notable Question (source)
2012-02-07 12:36:45 -0500 commented answer Problems compiling nodes using pcl in Ubuntu 11.10
I meant that I am using a fresh install of everything (Ubuntu 11.10, ROS Electric from deb packages). I have tried cleaning and re-building without success.