Position Based Servoing for Bridging Navigation to Manipulation#1513
Open
Position Based Servoing for Bridging Navigation to Manipulation#1513
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Closes DIM-658
The nav stack (localPlanner → pathFollower) handles long-range navigation well but is too coarse for short-range body-frame moves needed before manipulation or docking. The existing
local_movementC++ node invector_roboticsneeds a Python equivalent inside dimos so the rest of the Python stack can use it natively with dimos transport.Solution
Port
vector_robotics/src/gadgets/local_movement/src/localMovement.cppto a dimosModuleatdimos/navigation/local_movement/local_movement.py.What changed:
local_movement.py— Full Python port:LocalMovement(Module)withLocalMovementConfigdataclass, PID controller (3 axes: x, y, yaw), terrain-based collision checking (vectorized with numpy), stuck/timeout detection, and a 50 Hz control thread. Usesnormalize_anglefromdimos.utils.transform_utils. State machine:IDLE → MOVING → COMPLETED / TIMEOUT / STUCK.demo_local_movement.py— Demo blueprint withROSTransportwired to the same topics as the original launch file (/state_estimation,/local_movement,/terrain_map,/cmd_vel,/local_movement/status).__init__.py— Package re-exports.all_blueprints.py— Registereddemo-local-movementblueprint andlocal-movementmodule.Breaking Changes
None
How to Test
dimos run demo-local-movement— verify module starts and subscribes to ROS topics/cmd_velpublishesTwistStampedcommands and/local_movement/statustransitions throughMOVING → COMPLETED/terrain_mapand verify collision stops zero the blocked axisContributor License Agreement