コード例 #1
0
ファイル: pose.py プロジェクト: dtbinh/robotics-4
    def run(self):
        finished = walk_response.finished_standing_
        received = walk_response.received_
        kick_request.setNoKick()
        walk_request.standStraight()
        if received and self.state.inState('requested'):
            self.state.transition('running')
        elif self.state.inState('running') and finished:
            self.finish()

        if self.getTime() > 2:
            self.finish()
コード例 #2
0
ファイル: pose.py プロジェクト: gjacobrobertson/robotics
  def run(self):
    finished = walk_response.finished_standing_
    received = walk_response.received_
    kick_request.setNoKick()
    walk_request.standStraight()
    if received and self.state.inState('requested'):
      self.state.transition('running')
    elif self.state.inState('running') and finished:
      self.finish()

    if self.getTime() > 2:
      self.finish()
コード例 #3
0
def standStraight():
    """Request tall straight stand."""
    walk_request.standStraight()
コード例 #4
0
ファイル: commands.py プロジェクト: gjacobrobertson/robotics
def standStraight():
    walk_request.standStraight()
コード例 #5
0
ファイル: commands.py プロジェクト: SiChiTong/robotics
def standStraight():
  walk_request.standStraight()