Пример #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
Пример #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
Пример #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
Пример #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