def to_walk_action(self): action = atlas.behavior_walk_action_t() action.step_duration = self.bdi_step_duration action.swing_height = self.step_height return action
def blank_walk_spec(): msg = atlas.behavior_walk_spec_t() msg.foot = atlas.behavior_foot_data_t() msg.action = atlas.behavior_walk_action_t() return msg