Ask Your Question
0

PointClouds as service vs topic

asked 2013-08-14 21:49:03 -0600

The Martin gravatar image

In my system, I'm getting PointClouds from a sensor, and I have some nodes that need all of the point clouds (so they subscribe to a point cloud topic), but I have some nodes that only need to see the most recent point cloud every once in a while (once per minute, or so).

It seems wasteful to have those nodes subscribe to the point cloud topic as well, as I suppose that would result in copying a lot of data, even if most of it is thrown away; even if all nodes run on the same computer.

So what I'm planning to do is to have the sensor node that communicates with the sensor provide point clouds both as a topic (for streaming access) and as a service (so that interested nodes can request a scan here and there).

Does that look like a sensible solution?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2013-08-15 01:41:45 -0600

Sound not too bad :-). An easy alternative might be to shutdown a subscriber and resubscribe when you need a new cloud.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-08-14 21:49:03 -0600

Seen: 81 times

Last updated: Aug 15 '13