Exemple #1
0
def setWalkVelocity(velX, velY, velTheta):
    scale = max(math.sqrt(velX * velX + velY * velY), 1.0)
    velX /= scale
    velY /= scale
    walk_request.setWalk(velX, velY, velTheta)
Exemple #2
0
def setWalkVelocity(velX, velY, velTheta):
    """Request walk at certain velocity."""
    scale = max(math.sqrt(velX * velX + velY * velY), 1.0)
    velX /= scale
    velY /= scale
    walk_request.setWalk(velX, velY, velTheta)
Exemple #3
0
def setWalkVelocity(velX, velY, velTheta):
  scale = max(math.sqrt(velX * velX + velY  * velY), 1.0)
  velX /= scale; velY /= scale
  walk_request.setWalk(velX, velY, velTheta)