Esempio n. 1
0
 def to_walk_spec(self, step_index):
     walk_spec = drc.atlas_behavior_walk_spec_t()
     walk_spec.step_index = step_index
     walk_spec.foot_index = self.is_right_foot
     walk_spec.foot = self.to_bdi_foot_data()
     walk_spec.action = self.to_walk_action()
     return walk_spec
Esempio n. 2
0
def blank_walk_spec():
    msg = drc.atlas_behavior_walk_spec_t()
    msg.foot = drc.atlas_behavior_foot_data_t()
    msg.action = drc.atlas_behavior_walk_action_t()
    return msg