Skip to content

Commit

Permalink
fix typo _last_trajectory_command_precise -> last_trajectory_command_…
Browse files Browse the repository at this point in the history
  • Loading branch information
skpawar1305 authored and amessing-bdai committed Jan 26, 2024
1 parent a695e52 commit 4b0a9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spot_driver/spot_driver/spot_ros2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4b0a9f8

Please sign in to comment.