Ask Your Question

Grim's profile - activity

2019-04-02 05:46:16 -0500 received badge  Famous Question (source)
2017-10-26 07:00:53 -0500 received badge  Notable Question (source)
2017-04-28 10:00:18 -0500 received badge  Famous Question (source)
2017-02-08 18:57:25 -0500 received badge  Notable Question (source)
2017-02-08 18:57:25 -0500 received badge  Popular Question (source)
2016-12-07 21:02:15 -0500 received badge  Nice Question (source)
2016-12-07 08:35:30 -0500 received badge  Popular Question (source)
2016-12-07 06:48:37 -0500 commented answer How do you determine the number of messages left in your subcriber buffer queue?

While I think this may be a solution, I don't know how to do it. I have not dealt with std::shared_ptr or std::queue. And I am not sure if learning it right now would be worth my time for this project. This also needs to be memory efficient since the messages themselves are quite large.

2016-12-06 16:45:33 -0500 asked a question How do you determine the number of messages left in your subcriber buffer queue?

If I have a subscriber with a buffer size of 10, and my callback has dealt with 3 messages, is there a way to access the number of messages left in the queue ( retrieve the value of 7 )?

Basically I want my subscriber to deal with a batch of messages, and then do some task once they have all come through, then deal with the next batch of messages, and then do the task again. I do not know the size of the batch of messages.

Ideally I just need an indication that the buffer is empty.

2016-10-25 00:28:24 -0500 received badge  Student (source)
2016-10-20 01:39:19 -0500 received badge  Enthusiast
2016-10-19 18:16:59 -0500 asked a question ROS Indigo with PCL 1.8.0 and other pcl libraries won't compile

Hi,

My system: Ubuntu 14.04, ROS Indigo with all the libraries, PCL 1.8.0.

I can't compile any program if I try to include any PCL header, or any ros header that links to using pcl. I get the following error:

    In file included from /usr/local/include/pcl-1.8/pcl/conversions.h:48:0,
             from /opt/ros/indigo/include/pcl_ros/point_cloud.h:8,
             from /home/grim/catkin_ws/src/directory_to_my_program/my_program.cpp:22:
    /usr/local/include/pcl-1.8/pcl/PCLPointCloud2.h:5:5: error: #error USE_ROS setup requires PCL to compile against ROS message headers, which is now deprecated
#error USE_ROS setup requires PCL to compile against ROS message headers, which is now deprecated

This is annoying as I can't handle pointcloud data properly without any decent tutorials available. My main concern is to work with PCL data types, convert them into various ROS messages, and also work with Octomap_server.

Any information and/or guidance is welcome.

2016-06-15 06:19:06 -0500 received badge  Supporter (source)