-
Couldn't load subscription status.
- Fork 75
Added IO Gripper Control and Configuration Messages, Services, and Actions #164
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
Open
sachinkum0009
wants to merge
20
commits into
ros-controls:master
Choose a base branch
from
b-robotized-forks:gripper-io-msg
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 16 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
54c9bd0
Added IOGripperController msgs.
destogl 92a3d47
Update actions, add action for Gripper (open/close) and setting a
mamueluth a26a01a
fix: standardize end-of-file formatting in control_msgs
sachinkum0009 d0f726f
Update CMakeLists.txt
destogl 5949676
Rename IoGripperSensor.msg to IOGripperSensor.msg
destogl 7fc20db
renamed interface names and added doc
sachinkum0009 651b4ce
removed whitespace line
sachinkum0009 b5570d7
Update code for states
sachinkum0009 22c0466
configuration names modified
sachinkum0009 4007594
configuration names modified
sachinkum0009 90c1bea
pre-commit fix
sachinkum0009 01bfd75
doc updated for states
sachinkum0009 36d81f6
Update messges to have better status from the gripper.
destogl 6cb4c50
pre-commit fix
sachinkum0009 6efde49
Renamed IO Gripper Controller to GPIO tool controller.
destogl 53cf1eb
Merge branch 'master' into gripper-io-msg
christophfroehlich 353e1db
Update control_msgs/CMakeLists.txt
destogl 12ce27f
Update control_msgs/CMakeLists.txt
destogl 1623562
Add name of the final state and configuration in the action.
destogl 03f3a3a
Merge branch 'master' into gripper-io-msg
destogl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # This action interface is for commanding GPIOToolController to disengage or engage the tool. | ||
| # The tools are going through the predefed transitions in during disengaging and engaging processes. | ||
| # Those are returned as feedback. | ||
|
|
||
| bool engage # boolean value to indicate if the tool should engaged (true) or disengaged (false). true for open, false for close) | ||
| --- | ||
| bool success # true for performing the tool command successfully and vice versa | ||
| string message # informational, e.g. for success or error messages | ||
| --- | ||
| GPIOToolTransition transition # current transition of the gripper during enagagin/disengaging processes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # This action interface is defined for setting the configuration of the GPIOToolController. | ||
| # In yaml file of the controller, the configurations are defined as a list of strings, for example a gripper might have the following configurations: ["narrow_objects", "wide_objects"], or a lift unit on a mobile base might have configurations like ["with_payload", "without_payload"]. | ||
| # The action request is called with the name of the configuration to be set. | ||
| # During the configuration change, the gripper is going through a set of transitions, which are defined in the GPIOToolTransition message. | ||
|
|
||
| string config_name # information about which configuration is being set for the tool | ||
| --- | ||
| bool success # indicate success for setting the configuration of the tool and vice versa | ||
| string message # informational, e.g. for success or error messages | ||
| --- | ||
| GPIOToolTransition transition # current transition of the tool during reconfiguration process |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Name of the tool's disengaged or engaged state. | ||
| # Note that a tool can have multiple "enagaged" states that can be detected by a sensor, for example: gripper is engaged (closed) with or without an object; a lift unit on a mobile base can be lifted with or without payload. | ||
| string state | ||
| # Name of the tool's current configuration. | ||
| string configuration | ||
| # Current transition if the tool is going through a state or configuration change. | ||
| GPIOToolTransition current_transition |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # The tools are going through the different transition phases when changing states or configurations. | ||
|
|
||
| # The tool is in an idle state, not performing any action. | ||
| uint8 IDLE=0 | ||
| # The tool is setting command interfaces to be able to perform state changes (disengaged or engaged), e.g., disabling breaks. | ||
| uint8 SET_BEFORE_COMMAND=1 | ||
| # (optional) Check if before command is set correctly and confirmed by the sensors. | ||
| uint8 CHECK_BEFORE_COMMAND=2 | ||
| # Set command to tool's command interfaces. | ||
| uint8 SET_COMMAND=11 | ||
| # The controller is checking its current tool's state on state interfaces is set. | ||
| uint8 CHECK_COMMAND=12 | ||
| # The tool is setting "after" commands when ostate changes (disengaged or engaged) is finished, e.g., engaging breaks. | ||
| uint8 SET_AFTER_COMMAND=21 | ||
| # (optional) Check if after command is set correctly and confirmed by the sensors. | ||
| uint8 CHECK_AFTER_COMMAND=22 | ||
| # The tool has halted due to an error or stop command. | ||
| uint8 HALTED=100 | ||
|
|
||
| # state of the tool during transitions as defined above | ||
| uint8 state |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # This action interface is defined for setting the configuration of the GPIOToolController. | ||
| # In yaml file of the controller, the configurations are defined as a list of strings, for example a gripper might have the following configurations: ["narrow_objects", "wide_objects"], or a lift unit on a mobile base might have configurations like ["with_payload", "without_payload"]. | ||
| # The action request is called with the name of the configuration to be set. | ||
| # During the configuration change, the gripper is going through a set of transitions, which are defined in the GPIOToolTransition message. | ||
|
|
||
| string config_name # information about which configuration is being set for tool | ||
| --- | ||
| bool success # indicate success for setting the configuration of the tool and vice versa | ||
| string message # informational, e.g. for success or error messages |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.