Skip to content

add list of default capabilities (backport of #359) - #366

Merged
davetcoleman merged 1 commit into
moveit:indigo-develfrom
v4hn:pr-indigo-default-caps
Nov 17, 2016
Merged

davetcoleman merged 1 commit into
moveit:indigo-develfrom
v4hn:pr-indigo-default-caps

Conversation

@v4hn

@v4hn v4hn commented Nov 16, 2016

Copy link
Copy Markdown
Contributor

This is a backport of #359. I'm not totally sure this should be backported,
but personally I'm slightly in favor of doing it. So here's the request.

Functionality in MoveIt!'s move_group node is implemented in terms of
MoveGroupCapability plugins. But until now the choice of which plugins
are loaded was solely left to the user who in many cases is not familiar
with these plugins at all. This entails that whenever we introduce or change
a basic capability we have to annoy the user with warnings on startup that
bug him to change and/or update his move_group.launch file.

This commit changes the startup behavior of move_group to load a specified
list of default capabilities and provides a new ROS parameter disable_capabilities
that can be used to disable default plugins.

@davetcoleman

Copy link
Copy Markdown
Member

Will you announce this change on the mailing list? +1 if so

C++11 error:

/root/ws_moveit/src/moveit/moveit_ros/move_group/src/move_group.cpp: In member function ‘void move_group::MoveGroupExe::configureCapabilities()’:
/root/ws_moveit/src/moveit/moveit_ros/move_group/src/move_group.cpp:132:64: error: ‘class std::set<std::basic_string<char> >’ has no member named ‘cbegin’
     for (std::set<std::string>::iterator plugin = capabilities.cbegin(); plugin != capabilities.cend(); ++plugin)

@v4hn
v4hn force-pushed the pr-indigo-default-caps branch from 2df7883 to 09c1249 Compare November 17, 2016 14:06
Functionality in MoveIt!'s move_group node is implemented in terms of
MoveGroupCapability plugins. But until now the choice of which plugins
are loaded was solely left to the user who in many cases is not familiar
with these plugins at all. This entails that whenever we introduce or change
a basic capability we have to annoy the user with warnings on startup that
bug him to change and/or update his move_group.launch file.

This commit changes the startup behavior of move_group to load a specified
list of default capabilities and provides a new ROS parameter `disable_capabilities`
that can be used to disable default plugins.

Fixes moveit#125.
@v4hn

v4hn commented Nov 17, 2016

Copy link
Copy Markdown
Contributor Author

On Wed, Nov 16, 2016 at 11:43:58AM -0800, Dave Coleman wrote:

Will you announce this change on the mailing list?

I can do that yes. If we merge this in before the indigo release,
we should probably bundle a list of changes the user should know about
and send one mail for all of them..

C++11 error:

/root/ws_moveit/src/moveit/moveit_ros/move_group/src/move_group.cpp: In member function ‘void move_group::MoveGroupExe::configureCapabilities()’:
/root/ws_moveit/src/moveit/moveit_ros/move_group/src/move_group.cpp:132:64: error: ‘class std::set<std::basic_string<char> >’ has no member named ‘cbegin’
     for (std::set<std::string>::iterator plugin = capabilities.cbegin(); plugin != capabilities.cend(); ++plugin)

Gnarf... One day after I switched to gcc 6.2, otherwise I would have noticed. -.-
Should be fixed now.

@davetcoleman

Copy link
Copy Markdown
Member

we should probably bundle a list of changes the user should know about and send one mail for all of them..

I'm personally a fan of more frequent emails to help any source developers who might experience unexpected breakages, and to show moveit is active. but maybe that's annoying for users on that list?

@davetcoleman
davetcoleman merged commit 1900010 into moveit:indigo-devel Nov 17, 2016
@davetcoleman

Copy link
Copy Markdown
Member

Can you open this PR for Jade too?

130s added a commit to 130s/moveit-2 that referenced this pull request Jan 4, 2017
@130s

130s commented Jan 4, 2017

Copy link
Copy Markdown
Contributor

Can you open this PR for Jade too?

I haven't found it's done, so I did #396

@davetcoleman

Copy link
Copy Markdown
Member

Thanks for opening that!

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.

3 participants