Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable nodelet support #160

Merged
merged 3 commits into from
Mar 21, 2014
Merged

Enable nodelet support #160

merged 3 commits into from
Mar 21, 2014

Conversation

bit-pirate
Copy link
Collaborator

So far nodelets have been quite a headache with apps. This PR will make our lives easier by utilising the newly implemented nodelet support by the capability server.

From now on all nodelets - both app and cap nodelets - are loaded into the capability server's nodelet manager. This is done automatically by using the right parameter in the app launch file, e.g. https://github.com/yujinrobot/kobuki/blob/caps_updates/kobuki_apps/rapps/random_walker/random_walker.launch.xml#L2

This PR resolves #115 and resolves #119.

NOTE: This PR already contains the changes in PR #159. Please merge that one first.

if 'timeout' in str(e):
rospy.loginfo("App Manager : disabling apps requiring capabilities [timed out looking for the capability server]")
except exceptions.NotFoundException as e:
if 'Timed out' in str(e) or "Couldn't find" in str(e):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use that different exception here. Maybe keep this as NotFoundException and then handle lines 65-67 differently (allow the usual ROS exceptions to bubble up and use a different one in https://github.com/robotics-in-concert/rocon_app_platform/blob/caps_nodelet_manager/rocon_app_manager/src/rocon_app_manager/caps_list.py#L77

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bit-pirate will follow this up in #161.

stonier added a commit that referenced this pull request Mar 21, 2014
@stonier stonier merged commit d45c9b0 into hydro-devel Mar 21, 2014
@stonier stonier deleted the caps_nodelet_manager branch March 21, 2014 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants