Skip to content

Conversation

@dsobek
Copy link

@dsobek dsobek commented Dec 18, 2024

This PR stops joint jog from hanging when the race condition described in https://github.com/PickNikRobotics/moveit_studio/issues/9828 occurs simply by setting a timeout in a RetrieveJointStateParameter behavior.

The race condition can still occur but the timeout prevents it from happening repeatedly.

Testing

Add a delay to the changed RetrieveJointStateParameter behavior like shown to repro the race condition reliably.
Screenshot 2024-12-18 at 9 48 40 AM
Then after switching from 'Waypoints' to 'Joint Jog' teleop modes, and manipulating a joint, you'll see an error from RetrieveJointStateParameter for timing out. Continuing to manipulate joints should then work.

@dsobek dsobek self-assigned this Dec 18, 2024
@dsobek dsobek merged commit beb9515 into v6.5 Dec 18, 2024
4 checks passed
@dsobek dsobek deleted the reduce-joint-jog-hang branch December 18, 2024 17:54
@davetcoleman
Copy link
Member

@dsobek why wasn't this reviewed or approved by anyone before merging? i don't think this is a good workflow

@EzraBrooks
Copy link

I think @MikeWrock forgot to set up branch protections on this repo - fixing

@EzraBrooks
Copy link

Fixed branch protections. See #31 for confirmation that merging is blocked without review.

fwiw this change seems sensical to me, but thanks @davetcoleman for catching that it went through without review.

@dsobek
Copy link
Author

dsobek commented Dec 18, 2024

My bad, I should've called out the lack of permissions.

dyackzan pushed a commit that referenced this pull request Jan 21, 2025
…om 77e6092..2ff8545

2ff8545 update urdf mesh filenames to use package path (#50) (#68)
93ecde7 Replace fake_sensor_commands with 'mock_sensor_commands (#62)
REVERT: 77e6092 update urdf mesh filenames to use package path (#50)
REVERT: 27ecc36 Replace fake_sensor_commands with 'mock_sensor_commands (#61)
REVERT: 5f0c39a Remove mimic tags and rename `sim_ignition` to `sim_gazebo` (#54)

git-subtree-dir: src/external_dependencies/ros2_robotiq_gripper
git-subtree-split: 2ff85455d4b9f973c4b0bab1ce95fb09367f0d26
shaur-k pushed a commit that referenced this pull request Sep 30, 2025
…om 77e6092..2ff8545

2ff8545 update urdf mesh filenames to use package path (#50) (#68)
93ecde7 Replace fake_sensor_commands with 'mock_sensor_commands (#62)
REVERT: 77e6092 update urdf mesh filenames to use package path (#50)
REVERT: 27ecc36 Replace fake_sensor_commands with 'mock_sensor_commands (#61)
REVERT: 5f0c39a Remove mimic tags and rename `sim_ignition` to `sim_gazebo` (#54)

git-subtree-dir: src/external_dependencies/ros2_robotiq_gripper
git-subtree-split: 2ff85455d4b9f973c4b0bab1ce95fb09367f0d26
shaur-k pushed a commit that referenced this pull request Sep 30, 2025
Keep joint jog jogging instead of hanging
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.

4 participants