# Move the right arm up jointNames = ["RShoulderRoll", "RShoulderPitch", "RElbowYaw", "RElbowRoll", "RWristYaw", "RHand"] angleLists = [[0.0, 0.0, 0.0, -1.5, 0.0, 0.0]] # Example angles timeLists = [[0.5]] # Example time
# Get the motion service motion_service = session.service("org.aldebaran.motion")
# Create a session to connect to the robot session = qi.Session()
# Wake up the robot motion_service.wakeUp()
# Put the robot to its resting position motion_service.rest()
motion_service.angleInterpolation(jointNames, angleLists, timeLists)
# Move the right arm up jointNames = ["RShoulderRoll", "RShoulderPitch", "RElbowYaw", "RElbowRoll", "RWristYaw", "RHand"] angleLists = [[0.0, 0.0, 0.0, -1.5, 0.0, 0.0]] # Example angles timeLists = [[0.5]] # Example time
# Get the motion service motion_service = session.service("org.aldebaran.motion")
# Create a session to connect to the robot session = qi.Session()
# Wake up the robot motion_service.wakeUp()
# Put the robot to its resting position motion_service.rest()
motion_service.angleInterpolation(jointNames, angleLists, timeLists)