stanfordroboticsclub / StanfordQuadruped

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make the swing and stance controller interfaces identical

Nate711 opened this issue · comments

Put the swing proportion calculation inside the swing controller.

self.gait_controller.subphase_ticks(state.ticks) / self.config.swing_ticks

Or better yet, create a pure virtual controller interface these adhere to.