Skip to content

Fix: vla_sim teleop gripper close/open falls back to unconfigured default Objective - #841

Merged
griswaldbrooks merged 2 commits into
v10.0from
fix/vla-sim-teleop-gripper-objectives
Aug 12, 2026
Merged

Fix: vla_sim teleop gripper close/open falls back to unconfigured default Objective#841
griswaldbrooks merged 2 commits into
v10.0from
fix/vla-sim-teleop-gripper-objectives

Conversation

@griswaldbrooks

Copy link
Copy Markdown

Closing (or opening) the gripper during teleoperation in vla_sim does nothing and spams the log with:

[ERROR] LogMessage Error: This robot configuration does not have a `Close Gripper` Objective configured to override this default.

repeated on every BT tick (~10ms) for as long as the control is held — same for Open Gripper.

Cause: Teleoperation invokes the gripper through a named-Objective lookup ("Close Gripper" / "Open Gripper" SubTree in Request Teleoperation), which every other sim config (lab_sim, kinova_sim, hangar_sim, dual_arm_sim, etc.) overrides with a config-specific Objective that calls MoveGripperAction. vla_sim never got one, so the lookup falls back to moveit_pro's core placeholder, which logs an error and always fails by design (it exists to flag exactly this kind of missing config, not to silently no-op).

Confirmed the mechanism still works for this robot: vla_sim's own stack_cubes_with_the_vla_policy.xml already drives the same gripper via MoveGripperAction on /robotiq_gripper_controller/gripper_cmd directly — it just doesn't go through the named-Objective path teleop uses.

Fix: add close_gripper.xml / open_gripper.xml overrides for vla_sim, following the same MoveGripperAction pattern (and joint range: robotiq_85_left_knuckle_joint limit is 0.00.8 in this config's own URDF) used by the other Robotiq-85 configs.

Teleoperation invokes the gripper via the named "Close Gripper" /
"Open Gripper" Objectives (Request Teleoperation SubTree lookup).
vla_sim had no override for either, so every teleop gripper toggle
fell back to moveit_pro's core placeholder, which logs an ERROR and
fails on every BT tick while the control is held, and never actually
moves the gripper. Add both, using the same MoveGripperAction call
against /robotiq_gripper_controller/gripper_cmd already used by
vla_sim's own autonomous stack_cubes_with_the_vla_policy Objective.
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 168b65bd-d05f-4274-8f45-3ca6c395f3a0

📥 Commits

Reviewing files that changed from the base of the PR and between b295e30 and 85863db.

📒 Files selected for processing (3)
  • CLAUDE.md
  • src/vla_sim/objectives/close_gripper.xml
  • src/vla_sim/objectives/open_gripper.xml

📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Added built-in actions for opening and closing supported grippers.
    • Gripper actions are available under the Grasping category with execution timeouts.
  • Documentation

    • Documented configuration requirements for custom gripper actions.
    • Added guidance on required action names and fallback behavior when overrides are unavailable.

Walkthrough

The PR adds Close Gripper and Open Gripper BehaviorTree objectives. It configures Robotiq commands, target positions, timeouts, and runnable metadata. It also documents the required gripper objective overrides.

Changes

Gripper objectives

Layer / File(s) Summary
Gripper objective definitions
src/vla_sim/objectives/close_gripper.xml, src/vla_sim/objectives/open_gripper.xml, CLAUDE.md
Adds open and close gripper BehaviorTree definitions with Robotiq command actions, positions 0.0 and 0.7, 15-second timeouts, and Grasping metadata. Documents the required objective override names and fallback error behavior.

Possibly related PRs

Suggested reviewers: fdavulcu

Mergeability Score: ⚪ Minimal · up to 85863

This localized change adds the missing gripper open/close objectives for teleoperation; no actionable merge-blocking risk remains beyond normal checks and review.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description clearly explains the missing gripper Objective overrides and the added configuration-specific XML files.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Human Review Check ✅ Passed The 54-line diff adds two vla_sim objective XML resources and internal documentation; it changes no auth, CI/infra, launch scripts, public APIs, tutorials, or core behaviors.

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

MoveIt Pro Example WS - Objectives Integration Test Report

@github-actions

Copy link
Copy Markdown

MoveIt Pro Example WS - Objectives Integration Test Report

@griswaldbrooks
griswaldbrooks marked this pull request as ready for review August 12, 2026 23:00
@griswaldbrooks

Copy link
Copy Markdown
Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.


Your included review limit is currently reached under our Fair Usage Limits Policy. Your recent PR review activity is in the 95th percentile or higher among CodeRabbit users, so adaptive limits apply. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 28 minutes.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Aug 12, 2026
@griswaldbrooks
griswaldbrooks changed the base branch from main to v10.0 August 12, 2026 23:32
@griswaldbrooks
griswaldbrooks dismissed coderabbitai[bot]’s stale review August 12, 2026 23:32

The base branch was changed.

@griswaldbrooks griswaldbrooks added this to the 10.0.1 milestone Aug 12, 2026
@griswaldbrooks

Copy link
Copy Markdown
Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown
✅ Action performed

Full review finished.

@griswaldbrooks
griswaldbrooks merged commit f761114 into v10.0 Aug 12, 2026
16 checks passed
@griswaldbrooks
griswaldbrooks deleted the fix/vla-sim-teleop-gripper-objectives branch August 12, 2026 23:38
@griswaldbrooks

Copy link
Copy Markdown
Author

@JWhitleyWork needs forward port or are there bots now for that?

@JWhitleyWork

Copy link
Copy Markdown
Member

v10 will get a PR to main tomorrow morning.

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.

2 participants