-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update messges to have better status from the gripper.
- Loading branch information
Showing
5 changed files
with
32 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 gripper open close state. Note that it can have mutliple "closed" states. If empty, then transition is happening and check the state of the transition. | ||
string open_close | ||
IOGripperState open_close_transition | ||
|
||
# Name of the gripper's current configuration. If empty, then transition is happening and check the state of the transition. | ||
string configuration | ||
IOGripperState configuration_transition |
This file contains 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 grippers are going through the different states during opening, closing, and configuraiton chnages process. | ||
|
||
# The gripper is in an idle state, not performing any action. | ||
uint8 IDLE=0 | ||
# The gripper is setting command interfaces to be able to perform open or close action, e.g., disabling breaks. | ||
uint8 SET_BEFORE_COMMAND=1 | ||
# (optional) Check if brfore command is set correctly and confirmed by the sensors. | ||
uint8 CHECK_BEFORE_COMMAND=2 | ||
# Set command to gripper's command interfaces. | ||
uint8 SET_COMMAND=11 | ||
# The controller is checking its current gripper's state on state interfaces. | ||
uint8 CHECK_COMMAND=12 | ||
# The gripper is setting "after" commands when open or close process if 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 gripper has halted due to an error or stop command. | ||
uint8 HALTED=100 | ||
|
||
# state of the gripper during transitions as defined above | ||
uint8 state |