pepper.framework.backend.naoqi.motion module

class pepper.framework.backend.naoqi.motion.NAOqiMotion(session)[source]

Bases: pepper.framework.abstract.motion.AbstractMotion

Control Robot Motion (other than speech animation) through NAOqi Motion

Parameters:session (qi.Session) – The current session with the Robot
COMMAND_LIMIT = 2
FRAME = 0
SERVICE_MOTION = 'ALMotion'
SERVICE_TRACKER = 'ALTracker'
look(direction, speed=1)[source]

Look at particular direction

Parameters:
  • direction (Tuple[float, float]) – Direction to look at in View Space (Spherical Coordinates)
  • speed (float) – Movement Speed [0,1]
point(direction, speed=1)[source]

Point at particular direction

Parameters:
  • direction (Tuple[float, float]) – Direction to point at in View Space (Spherical Coordinates)
  • speed (float) – Movement Speed [0,1]