Module io :: Class SensorInput
[frames] | no frames]

Class SensorInput

Represents one set of sensor readings from the robot, incluing sonars, odometry, and readings from the analogInputs

Instance Methods
__init__(self, cheat=False)
Instance Variables
List of 8 sonar readings, in meters.
Instance of util.Pose, representing robot's pose in the global frame if cheat = True and the odometry frame if cheat = False.
List of 4 analog input values.
Method Details

__init__(self, cheat=False)

  • cheat - If True, then get odometry readings in absolute coordinate frame of simulated world. Otherwise, odometry frame is defined by robot's initial pose when powered on or simulated world is reset. Should never be set to True on the real robot.