Skip to content

Commit

Permalink
Just walk to target if no sensible path exists (HULKs#1051)
Browse files Browse the repository at this point in the history
  • Loading branch information
knoellle authored Jun 9, 2024
1 parent 19be8d1 commit a78c1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/control/src/behavior/walk_to_pose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl<'cycle> WalkPathPlanner<'cycle> {
.plan(Point::origin(), clamped_target_in_robot)
.unwrap();
path_obstacles_output.fill_if_subscribed(|| planner.obstacles.clone());
path.unwrap_or_else(|| direct_path(Point::origin(), Point::origin()))
path.unwrap_or_else(|| direct_path(Point::origin(), target_in_ground))
}

pub fn walk_with_obstacle_avoiding_arms(
Expand Down

0 comments on commit a78c1c2

Please sign in to comment.