Skip to content

Distance-Based Velocity Scaling for SafetyPositionController#25

Open
Joschi3 wants to merge 9 commits intojazzyfrom
feature/saftey_position_controller_collision_vel_scaling
Open

Distance-Based Velocity Scaling for SafetyPositionController#25
Joschi3 wants to merge 9 commits intojazzyfrom
feature/saftey_position_controller_collision_vel_scaling

Conversation

@Joschi3
Copy link
Member

@Joschi3 Joschi3 commented Feb 25, 2026

Summary

Replaces the binary block_if_too_far toggle with mandatory distance-based velocity scaling when self-collision checks are enabled.

Changes:

  • CollisionChecker now returns a CollisionResult struct with both collision flag and minimum clearance distance (previously only a boolean)
  • New collision_safety_zone parameter: Between collision_padding and collision_safety_zone, joint velocities are linearly scaled from 0% to 100%. Beyond the safety zone, full speed is allowed. At or below padding, motion is blocked entirely.
  • Velocity limiting is always enforced when check_self_collisions is enabled (removed the user-disableable block_if_too_far parameter)

@Joschi3 Joschi3 self-assigned this Feb 25, 2026
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.

1 participant