Example #1
0
 def to_walk_spec(self, step_index):
     walk_spec = 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
Example #2
0
 def to_walk_spec(self, step_index):
     walk_spec = 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
Example #3
0
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
Example #4
0
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