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

How many resources like shared_memory ROSCPP used?

asked 2012-01-13 13:58:35 -0600

sam gravatar image

updated 2012-01-13 13:58:49 -0600

I want to ask this question because of I found that if I don't care about resources,sometimes it will run into strange producure.

For example, when some code A run successfully.

I change to A' and failed.

So I change back to A but also failed.

Therefore, I think it maybe caused by system resources.

So my question is:

When I rebuild ROSCPP and want to run it, which resource I should remove first by tools similar to ipcs?

Thank you~

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-03-15 18:36:29 -0600

tfoote gravatar image

When you change things you only need to recompile. Make sure that you have recompiled all your libraries and their dependencies which connect to the changes you made. In general a rosmake will cover everything. There are a few packages, usually 3rd party packages that download external sources, where a make clean is necessary.

edit flag offensive delete link more


So what you mean is roscpp doesn't use any system resources like shared memory? Thank you~

sam gravatar image sam  ( 2012-03-16 03:13:25 -0600 )edit

Question Tools


Asked: 2012-01-13 13:58:35 -0600

Seen: 219 times

Last updated: Mar 15 '12