Skip to content

Commit f51cae9

Browse files
committed
Remove useless part
1 parent d4f03a5 commit f51cae9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

biped_walking_controller/preview_control.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,10 @@ def __init__(self, params: WalkingFSMParams, initial_state=State.INIT):
318318
self.steps = None
319319
self.step_idx = None
320320

321+
def update_steps(self, steps_pose):
322+
self.steps = steps_pose
323+
self.step_idx = 0
324+
321325
def update(
322326
self,
323327
t: float,
@@ -371,7 +375,3 @@ def update(
371375

372376
def get_current_state(self) -> State:
373377
return self.state
374-
375-
def update_steps(self, steps_pose):
376-
self.steps = steps_pose
377-
self.step_idx = 0

0 commit comments

Comments
 (0)