feat(control): update cmd_vel_control based on 北仑 practice#86
Open
xiaolefang-dm wants to merge 8 commits intomainfrom
Open
feat(control): update cmd_vel_control based on 北仑 practice#86xiaolefang-dm wants to merge 8 commits intomainfrom
xiaolefang-dm wants to merge 8 commits intomainfrom
Conversation
|
…andalone tool Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Rewrite cmd_vel_control to compute heading on every odom callback rather than differentiating the first two path points. Controller now aims at the path endpoint directly, relying on planning_node's replanning frequency for obstacle avoidance. Removes lookahead, target_pose, and recovery logic — control node is a pure path follower. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
At ~7.5 Hz planning rate, the robot can overshoot before receiving a cleared path. Scale linear speed by clip(dist_to_endpoint, 0.2, 1.0) to decelerate within 1 m of the target. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
- pose_callback now triggers _update_cmd on every odom message, leveraging high-frequency odometry from looper_bridge_node - Replace path-differentiation (hardcoded dt=0.1s) with local path tangent tracking — finds nearest segment and follows its direction, correctly handling curved paths - Update speed limits: max_linear 0.8 m/s, acc 2.0/2.5 m/s², 30 Hz - Add dist_scale: decelerate within 1 m of endpoint to reduce overshoot at ~7.5 Hz planning rate Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
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.
Summary
pose_callbacknow triggers_update_cmdon every odom message, leveraging high-frequency odometry from looper_bridge_nodeoutput.mp4