Robot

Inherits from: ABC

getImage

Robot.getImage(camera_name: str, image_type: str)

Return the image of camera

Arguments
camera_name (str)
required

name of the camera, one of front_center or bottom_center

image_type (str)
required

supported image types,

Returns

Image

requested image

getPosition

Robot.getPosition(name: str)

Get the position of the robot

Arguments
name (str), optional

name of the agent

Returns

Position

position of the robot

getOrientation

Robot.getOrientation(name: str)

Get the orientation of the robot

Arguments
name (str), optional

name of the agent

Returns

Orientation

orientation of the robot

Was this page helpful?