Skip to content

Commit 5f39653

Browse files
GoldenZephyrAryan-Naveenaclswarm
authored
Fix/mid level planner (#36)
* removed occupancy frame * fixed identity planner * deleted comments --------- Co-authored-by: Aryan-Naveen <[email protected]> Co-authored-by: Robot Account <[email protected]>
1 parent 3b49f63 commit 5f39653

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

robot_executor_interface/robot_executor_interface/src/robot_executor_interface/mid_level_planner.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@ def plan_path(self, high_level_path_metric):
504504
Input: high level path in <robot>/odom frame, Nx2 numpy array
505505
Output: (bool, path) -> (success, path in odom frame)
506506
"""
507-
output = {
508-
"target_point_metric": None,
509-
"path_shapely": shapely.LineString(high_level_path_metric[:, :2]),
510-
"path_waypoints_metric": None,
511-
}
507+
output = MidLevelPlannerOutput(
508+
target_point_metric=None,
509+
path_shapely=shapely.LineString(high_level_path_metric[:, :2]),
510+
path_waypoints_metric=None,
511+
)
512512
return True, output

spot_tools_ros/src/spot_tools_ros/spot_executor_ros.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@ def __init__(self):
252252
bdai_password = self.get_parameter("bosdyn_client_password").value
253253
assert bdai_password != ""
254254

255-
self.declare_parameter("occupancy_frame", "")
256-
self.occupancy_frame = self.get_parameter("occupancy_frame").value
257-
self.get_logger().info(f"{self.occupancy_frame=}")
258-
259255
# Follow Skill
260256
self.declare_parameter("follower_lookahead", 0.0)
261257
follower_lookahead = self.get_parameter("follower_lookahead").value

0 commit comments

Comments
 (0)