Skip to content
This repository has been archived by the owner on Jan 16, 2019. It is now read-only.

Activation modes for service /ur_driver/robot_enable #2

Merged
merged 2 commits into from
Aug 30, 2017

Conversation

henningkayser
Copy link

@henningkayser henningkayser commented Aug 17, 2017

This PR was implemented in collaboration with @v4hn.
A parameter require_activation is added to configure when the robot_enable service has to be called to activate the driver. Prior this was required after every launch and emergency or protective stop.

There are three modes now as suggested by @Zagitta in his pull request:

  • Never - the service is not required to be called at all (default)
  • Always - the service has to be called after launch and every stop
  • OnStartup - the service has to be called after launch only

Never is set as default value to maintain the default behaviour in indigo.
Setting Always/OnStartup as default would probably require modifying all launch files however.
Enabling Always/OnStartup can be done by passing require_activation to the ur_common.launch or by modifying corresponding launch files.

Adds parameter 'require_activation' to configure when the service should be called (Always, Never, OnStartup).
Maintains default behavior of indigo that no controller activation is required.
Enabling required activation can be done by passing 'require_activation' as Always/OnStartup
to the ur_common.launch or by modifying corresponding launch files.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants