From 4b0a9f8aa59cf2407e40ed0e4fe2450c02a0efae Mon Sep 17 00:00:00 2001 From: Shubham <52372631+skpawar1305@users.noreply.github.com> Date: Mon, 22 Jan 2024 13:16:18 +0100 Subject: [PATCH] fix typo _last_trajectory_command_precise -> last_trajectory_command_precise https://github.com/bdaiinstitute/spot_wrapper/blob/5bcf6d53abc6c9ae2fe8dd9ef8cadfeb1ca52e60/spot_wrapper/wrapper.py#L1375 --- spot_driver/spot_driver/spot_ros2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spot_driver/spot_driver/spot_ros2.py b/spot_driver/spot_driver/spot_ros2.py index ac6862122..5fca21ef2 100644 --- a/spot_driver/spot_driver/spot_ros2.py +++ b/spot_driver/spot_driver/spot_ros2.py @@ -2420,7 +2420,7 @@ def handle_trajectory(self, goal_handle: ServerGoalHandle) -> Optional[Trajector while rclpy.ok() and not self.spot_wrapper.at_goal and goal_handle.is_active: feedback = Trajectory.Feedback() if self.spot_wrapper.near_goal: - if self.spot_wrapper._last_trajectory_command_precise: + if self.spot_wrapper.last_trajectory_command_precise: feedback.feedback = "Near goal, performing final adjustments" else: feedback.feedback = "Near goal"