Skip to content

Commit bd76ff7

Browse files
committed
Squashed commit of the developmen on GpioToolController.
commit 6efde49 Author: Dr. Denis <[email protected]> Date: Thu Jun 12 14:42:30 2025 +0200 Renamed IO Gripper Controller to GPIO tool controller. commit 6cb4c50 Author: sachinkum0009 <[email protected]> Date: Mon Jan 20 08:47:28 2025 +0100 pre-commit fix commit 36d81f6 Author: Dr. Denis <[email protected]> Date: Fri Jan 17 16:06:45 2025 +0100 Update messges to have better status from the gripper. commit 01bfd75 Author: sachinkum0009 <[email protected]> Date: Thu Jan 9 23:09:44 2025 +0100 doc updated for states commit 90c1bea Author: sachinkum0009 <[email protected]> Date: Thu Jan 9 23:02:51 2025 +0100 pre-commit fix commit 4007594 Author: Sachin Kumar <[email protected]> Date: Thu Jan 9 23:04:52 2025 +0100 configuration names modified Co-authored-by: Dr. Denis <[email protected]> commit 22c0466 Author: Sachin Kumar <[email protected]> Date: Thu Jan 9 19:12:21 2025 +0100 configuration names modified Co-authored-by: Dr. Denis <[email protected]> commit b5570d7 Author: Sachin Kumar <[email protected]> Date: Thu Jan 9 19:10:25 2025 +0100 Update code for states Co-authored-by: Dr. Denis <[email protected]> commit 651b4ce Author: sachinkum0009 <[email protected]> Date: Fri Jan 3 01:51:58 2025 +0100 removed whitespace line commit 7fc20db Author: sachinkum0009 <[email protected]> Date: Thu Jan 2 22:45:50 2025 +0100 renamed interface names and added doc commit 5949676 Author: Dr. Denis <[email protected]> Date: Thu Jan 2 12:11:18 2025 +0100 Rename IoGripperSensor.msg to IOGripperSensor.msg commit d0f726f Author: Dr. Denis <[email protected]> Date: Thu Jan 2 12:11:02 2025 +0100 Update CMakeLists.txt commit a26a01a Author: sachinkum0009 <[email protected]> Date: Sat Dec 21 19:45:36 2024 +0100 fix: standardize end-of-file formatting in control_msgs commit 92a3d47 Author: Manuel Muth <[email protected]> Date: Wed Dec 11 10:11:30 2024 +0000 Update actions, add action for Gripper (open/close) and setting a configuration of a gripepr for gripper_io_controller commit 54c9bd0 Author: Dr. Denis <[email protected]> Date: Fri Nov 29 10:33:29 2024 +0100 Added IOGripperController msgs. commit fc9633c Author: Christoph Fröhlich <[email protected]> Date: Sat Apr 12 20:44:46 2025 +0200 Update README.md to be consistent within ros-controls (ros-controls#184) commit b7d5cbc Author: Christoph Fröhlich <[email protected]> Date: Thu Apr 3 17:12:29 2025 +0200 Add copyright owner (ros-controls#188) commit e408450 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed Apr 2 13:21:32 2025 +0200 Bump version of pre-commit hooks (ros-controls#185) commit 0c06cb3 Author: Christoph Fröhlich <[email protected]> Date: Sat Mar 29 14:10:44 2025 +0100 Add stale workflow (ros-controls#183) commit cb4175e Author: Christoph Fröhlich <[email protected]> Date: Sun Mar 16 22:57:01 2025 +0100 Update branch for downstream job (ros-controls#180) commit 0c71394 Author: Christoph Froehlich <[email protected]> Date: Wed Mar 12 19:22:19 2025 +0000 6.0.0 commit 935b8b1 Author: Christoph Froehlich <[email protected]> Date: Wed Mar 12 19:21:54 2025 +0000 Update changelog commit 51f9009 Author: Christoph Fröhlich <[email protected]> Date: Wed Mar 12 20:18:38 2025 +0100 Cleanup duplicate entries in the msg definition (ros-controls#179) commit ad756b1 Author: Christoph Fröhlich <[email protected]> Date: Tue Mar 11 22:21:56 2025 +0100 Branch for jazzy (ros-controls#175)
1 parent 7da2ac9 commit bd76ff7

File tree

8 files changed

+94
-8
lines changed

8 files changed

+94
-8
lines changed

.github/workflows/stale.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'Stale issues and PRs'
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
# UTC noon every workday
6+
- cron: '0 12 * * MON-FRI'
7+
8+
jobs:
9+
stale:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
steps:
15+
- uses: actions/stale@v9
16+
with:
17+
stale-issue-label: 'stale'
18+
stale-pr-label: 'stale'
19+
stale-issue-message: 'This issue is being labeled as stale because it has been open 45 days with no activity. It will be automatically closed after another 45 days without follow-ups.'
20+
close-issue-message: 'This issue was closed because it has been stalled for 45 days with no activity.'
21+
stale-pr-message: 'This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete.'
22+
days-before-stale: 45
23+
days-before-close: 45
24+
days-before-pr-close: -1
25+
exempt-all-milestones: true
26+
exempt-issue-labels: good first issue,good second issue,persistent,release,roadmap,Epic
27+
operations-per-run: 100

control_msgs/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ set(msg_files
1818
msg/DynamicJointState.msg
1919
msg/GripperCommand.msg
2020
msg/InterfaceValue.msg
21+
msg/GPIOToolControllerState.msg
22+
msg/GPIOToolTransition.msg
2123
msg/JointComponentTolerance.msg
2224
msg/JointControllerState.msg
2325
msg/JointJog.msg
@@ -37,14 +39,17 @@ set(action_files
3739
action/ParallelGripperCommand.action
3840
action/FollowJointTrajectory.action
3941
action/GripperCommand.action
42+
action/GPIOToolCommand.action
4043
action/JointTrajectory.action
4144
action/PointHead.action
45+
action/SetGPIOToolConfig.action
4246
action/SingleJointPosition.action
4347
)
4448

4549
set(srv_files
4650
srv/QueryCalibrationState.srv
4751
srv/QueryTrajectoryState.srv
52+
srv/SetGPIOToolConfig.srv
4853
)
4954

5055
rosidl_generate_interfaces(${PROJECT_NAME}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This action interface is for commanding GPIOToolController to disengage or engage the tool.
2+
# The tools are going through the predefed transitions in during disengaging and engaging processes.
3+
# Those are returned as feedback.
4+
5+
bool engage # boolean value to indicate if the tool should engaged (true) or disengaged (false). true for open, false for close)
6+
---
7+
bool success # true for performing the tool command successfully and vice versa
8+
string message # informational, e.g. for success or error messages
9+
---
10+
GPIOToolTransition transition # current transition of the gripper during enagagin/disengaging processes
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This action interface is defined for setting the configuration of the GPIOToolController.
2+
# 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"].
3+
# The action request is called with the name of the configuration to be set.
4+
# During the configuration change, the gripper is going through a set of transitions, which are defined in the GPIOToolTransition message.
5+
6+
string config_name # information about which configuration is being set for the tool
7+
---
8+
bool success # indicate success for setting the configuration of the tool and vice versa
9+
string message # informational, e.g. for success or error messages
10+
---
11+
GPIOToolTransition transition # current transition of the tool during reconfiguration process
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Name of the tool's disengaged or engaged state.
2+
# 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.
3+
string state
4+
# Name of the tool's current configuration.
5+
string configuration
6+
# Current transition if the tool is going through a state or configuration change.
7+
GPIOToolTransition current_transition
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# The tools are going through the different transition phases when changing states or configurations.
2+
3+
# The tool is in an idle state, not performing any action.
4+
uint8 IDLE=0
5+
# The tool is setting command interfaces to be able to perform state changes (disengaged or engaged), e.g., disabling breaks.
6+
uint8 SET_BEFORE_COMMAND=1
7+
# (optional) Check if before command is set correctly and confirmed by the sensors.
8+
uint8 CHECK_BEFORE_COMMAND=2
9+
# Set command to tool's command interfaces.
10+
uint8 SET_COMMAND=11
11+
# The controller is checking its current tool's state on state interfaces is set.
12+
uint8 CHECK_COMMAND=12
13+
# The tool is setting "after" commands when ostate changes (disengaged or engaged) is finished, e.g., engaging breaks.
14+
uint8 SET_AFTER_COMMAND=21
15+
# (optional) Check if after command is set correctly and confirmed by the sensors.
16+
uint8 CHECK_AFTER_COMMAND=22
17+
# The tool has halted due to an error or stop command.
18+
uint8 HALTED=100
19+
20+
# state of the tool during transitions as defined above
21+
uint8 state

control_msgs/msg/PidState.msg

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,15 @@ float64 error
66
# derivative of error
77
float64 error_dot
88

9-
# equals error
10-
float64 p_error
119
# weighted integral of error
12-
float64 i_error
13-
# equals derivative of error
14-
float64 d_error
10+
float64 i_term
1511

1612
# proportional gain
17-
float64 p_term
13+
float64 p_gain
1814
# integral gain
19-
float64 i_term
15+
float64 i_gain
2016
# derivative gain
21-
float64 d_term
17+
float64 d_gain
2218
# upper integral clamp.
2319
float64 i_max
2420
# lower integral clamp.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This action interface is defined for setting the configuration of the GPIOToolController.
2+
# 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"].
3+
# The action request is called with the name of the configuration to be set.
4+
# During the configuration change, the gripper is going through a set of transitions, which are defined in the GPIOToolTransition message.
5+
6+
string config_name # information about which configuration is being set for tool
7+
---
8+
bool success # indicate success for setting the configuration of the tool and vice versa
9+
string message # informational, e.g. for success or error messages

0 commit comments

Comments
 (0)