Index

A B C D E F G H I K L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

a - Variable in class me.autobot.lib.controls.NintendoJoycon
The a button on the right joycon.
Action - Class in me.autobot.lib.systems.actions
An action that can be called and performed by the robot.
Action() - Constructor for class me.autobot.lib.systems.actions.Action
Creates a new Action.
activate(Action) - Static method in class me.autobot.lib.systems.actions.Action
Activates the given action to be executed and run to completion.
add(Int2) - Method in class me.autobot.lib.math.coordinates.Int2
Returns a new Int2 object that is the sum of this Int2 object and another Int2 object.
add(Vector2d) - Method in class me.autobot.lib.math.coordinates.Vector2d
Adds two vectors together.
add(Vector3d) - Method in class me.autobot.lib.math.coordinates.Vector3d
Adds another vector to this vector (and returns a new vector).
add(Matrix) - Method in class me.autobot.lib.math.linalg.Matrix
Adds the matrix to another matrix
add(Vector) - Method in class me.autobot.lib.math.linalg.Vector
Adds the given vector to this vector.
addCallback(Topica.Database.Topic.UpdateCallback) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Adds a callback to the topic.
addListener(SysoutMiddleman.Sysout.Listener) - Method in class me.autobot.lib.telemetry.SysoutMiddleman.Sysout
Adds a listener to the sysout.
addObstaclePoint(Vector2d) - Method in class me.autobot.lib.math.map.Map2d
Add an obstacle to the map.
addResponse(LIDAR.WSLidarSensorConnection.Response) - Method in class me.autobot.code.mechanisms.LIDAR.WSLidarSensorConnection
Adds a response to the LIDAR sensor.
addRoute(String, RESTServer.Route) - Method in class me.autobot.lib.server.RESTServer
Adds a route to the server.
addTopic(Topica.Database.Topic) - Method in class me.autobot.lib.server.topica.Topica.Database
Adds a topic to the database.
addToWSClient() - Method in class me.autobot.lib.server.WSClientRoute
Adds the route to the WSClient.
adj() - Method in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
Temporary fix for the distance sensor.
allPos(byte[]) - Static method in class me.autobot.lib.math.Mathf
Takes in an array of bytes and returns the equivalent positive numbers.
allPos(int) - Static method in class me.autobot.lib.math.Mathf
Takes in a number between -127 and 128 (a byte) and returns the equivalent positive number.
allPos(int[]) - Static method in class me.autobot.lib.math.Mathf
Takes in an array of numbers between -127 and 128 (bytes) and returns the equivalent positive numbers.
angle() - Method in class me.autobot.lib.math.coordinates.Vector2d
Gets the angle of the vector.
angle(Vector2d) - Method in class me.autobot.lib.math.coordinates.Vector2d
Gets the angle between two vectors.
angle(Vector3d) - Method in class me.autobot.lib.math.coordinates.Vector3d
Gets the angle between this vector and another vector.
arcadeDrive(double, double) - Method in class me.autobot.lib.robot.drivebase.ArcadeDrive
Translates arcade drive to motor speeds.
ArcadeDrive - Class in me.autobot.lib.robot.drivebase
A drivebase that uses arcade drive.
ArcadeDrive(Motor, Motor, Motor, Motor) - Constructor for class me.autobot.lib.robot.drivebase.ArcadeDrive
Creates a new ArcadeDrive object.
as() - Element in annotation interface me.autobot.lib.telemetry.Log
What the log is saved as.
attachRelativePosition(Vector3d) - Method in class me.autobot.lib.robot.Sensor
Attaches the relative position of the sensor to the center of the robot.
attachRelativePosition(Vector3d, Rotation3d) - Method in class me.autobot.lib.robot.Sensor
Attaches the relative position and rotation of the sensor to the center of the robot.

B

b - Variable in class me.autobot.lib.controls.NintendoJoycon
The b button on the right joycon.
BACK_LEFT_MOTOR - Static variable in class me.autobot.code.me.MainBot.Config
Back left motor ID
BACK_LEFT_MOTOR_DIRECTION - Static variable in class me.autobot.code.me.MainBot.Config
Back left motor direction
BACK_RIGHT_MOTOR - Static variable in class me.autobot.code.me.MainBot.Config
Back right motor ID
BACK_RIGHT_MOTOR_DIRECTION - Static variable in class me.autobot.code.me.MainBot.Config
Back right motor direction
bind(BooleanSupplier) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Binds the topic to a supplier.
bind(DoubleSupplier) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Binds the topic to a supplier.
bind(IntSupplier) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Binds the topic to a supplier.
bind(LongSupplier) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Binds the topic to a supplier.
bind(ByteSupplier) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Binds the topic to a supplier.
bind(FloatSupplier) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Binds the topic to a supplier.
bind(ShortSupplier) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Binds the topic to a supplier.
bind(StringSupplier) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Binds the topic to a supplier.
bindLoopTime(long) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Sets the update time of the topic.
BOOLEAN_TYPE - Static variable in class me.autobot.lib.server.topica.Topica
Type code denoting a boolean.
Box2d - Class in me.autobot.lib.math.coordinates
A class representing a 2D box.
Box2d(int, int, int, int) - Constructor for class me.autobot.lib.math.coordinates.Box2d
Creates a new 2D box object.
Box2d(Int2, Int2) - Constructor for class me.autobot.lib.math.coordinates.Box2d
Creates a new 2D box object.
brake() - Method in class me.autobot.lib.robot.Motor
Brakes the motor.
BYTE_TYPE - Static variable in class me.autobot.lib.server.topica.Topica
Type code denoting a byte list.
ByteSupplier - Interface in me.autobot.lib.tools.suppliers
 

C

c(double) - Method in enum class me.autobot.lib.math.Unit.Type
Creates a unit with the value in this unit.
cancel() - Method in class me.autobot.lib.systems.actions.Action
Cancels and effectively stops executing the action.
capture - Variable in class me.autobot.lib.controls.NintendoJoycon
Capture button.
CENTIMETER - Enum constant in enum class me.autobot.lib.math.Unit.Type
A centimeter is 0.01 meters.
changeUpdateInterval(long) - Method in class me.autobot.lib.robot.Sensor
Changes the update interval of the sensor for the subscribers.
chargingGrip - Variable in class me.autobot.lib.controls.NintendoJoycon
Charging grip button.
clamp(double, double, double) - Static method in class me.autobot.lib.math.Mathf
Returns the value of the given number clamped between the given minimum and maximum values.
clock() - Method in class me.autobot.lib.robot.Robot
Gets the clock of the robot.
Clock - Class in me.autobot.lib.math
Used to keep track of time.
Clock() - Constructor for class me.autobot.lib.math.Clock
Creates a new clock object.
clone() - Method in class me.autobot.lib.math.coordinates.Vector2d
Clones the vector.
clone() - Method in class me.autobot.lib.math.rotation.Rotation2d
Clone the Rotation2d.
close(double, double, double) - Static method in class me.autobot.lib.math.Mathf
Returns if two numbers are equal within a certain tolerance.
CollisionSensor - Class in me.autobot.lib.robot.sensors
Checks if the robot is in collision (used IN SIMULATION ONLY).
CollisionSensor(int) - Constructor for class me.autobot.lib.robot.sensors.CollisionSensor
Creates a new collision sensor (for simulation) with the given identifier and address.
Config() - Constructor for class me.autobot.code.me.MainBot.Config
 
Connection - Class in me.autobot.lib.hardware
A connection to some device.
Connection() - Constructor for class me.autobot.lib.hardware.Connection
 
connectToI2C(int) - Method in class me.autobot.lib.robot.Motor
Actually connects the motor to the I2C bus using the given pin.
connectToI2C(int) - Method in class me.autobot.lib.robot.motors.Servo
Connects the servo to the I2C bus.
connectToI2C(int, int, int) - Method in class me.autobot.lib.robot.Sensor
Connects the sensor to the I2C bus.
connectToSerial(String) - Method in class me.autobot.lib.robot.Motor
Connects the motor to the Serial.
connectToSerial(String) - Method in class me.autobot.lib.robot.motors.HoverboardWheel
Do not use this method, use the one with the directionPin and speedPin instead.
connectToSerial(String) - Method in class me.autobot.lib.robot.Sensor
Connects the sensor via Serial
connectToSerial(String, int, int) - Method in class me.autobot.lib.robot.motors.HoverboardWheel
Connects the motor to the serial port.
convertFromMeters(double) - Method in enum class me.autobot.lib.math.Unit.Type
Converts the value from meters
convertToMeters(double) - Method in enum class me.autobot.lib.math.Unit.Type
Converts the value to meters
cos() - Method in class me.autobot.lib.math.coordinates.Polar
Returns the x-component of the vector, calculated as r * cos(theta).
cos() - Method in class me.autobot.lib.math.rotation.Rotation2d
Returns the cosine of the angle.
cos() - Method in class me.autobot.lib.math.rotation.Rotation3d
Returns the cosine multiplied of the angles.
cos(double) - Static method in class me.autobot.lib.math.Mathf
Returns the cosine of the given angle, but without any floating point errors.
cosPhi() - Method in class me.autobot.lib.math.coordinates.Spherical
Returns the cosine of the phi angle.
cosTheta() - Method in class me.autobot.lib.math.coordinates.Spherical
Returns the cosine of the theta angle.
createDatabase() - Static method in class me.autobot.lib.server.topica.Topica
Creates a new Topica database.
createIdentityMatrix(int) - Static method in class me.autobot.lib.math.linalg.Matrix
Creates a new identity matrix with the given size
createMap(Vector2d, Vector2d, int) - Method in class me.autobot.lib.math.map.SimpleMap2d
Creates a 2D array map of the obstacles in the map.
createTelemetryTopics() - Static method in class me.autobot.lib.robot.Robot
Creates the telemetry topics.
cross(Vector2d) - Method in class me.autobot.lib.math.coordinates.Vector2d
Gets the cross product of two vectors.
cross(Vector3d) - Method in class me.autobot.lib.math.coordinates.Vector3d
Cross product of this vector and another vector (and returns a new vector).
CUSTOM_TYPE - Static variable in class me.autobot.lib.server.topica.Topica
A custom type that has a custom encoding.

D

Database() - Constructor for class me.autobot.lib.server.topica.Topica.Database
Creates a new topic database.
decode(byte[]) - Static method in interface me.autobot.lib.server.topica.Topica.Database.EncodeableTopic
Decodes the data into an encodeable topic.
decode(byte[]) - Static method in class me.autobot.lib.server.topica.Topica.Database.EncodeableTopic.Empty
Decodes the data into an empty object.
default_bus - Static variable in class me.autobot.lib.hardware.i2c.I2CConnection
The default I2C bus to use.
DEFAULT_BUS - Static variable in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
Default bus to use for the I2C connection.
determinant() - Method in class me.autobot.lib.math.linalg.Matrix
Gets the determinant of the matrix
Device - Class in me.autobot.lib.robot
Some sort of device that can be attached to a robot.
Device() - Constructor for class me.autobot.lib.robot.Device
Creates a new device.
devices - Static variable in class me.autobot.lib.robot.Device
List of all devices.
dimension() - Method in class me.autobot.lib.math.linalg.Matrix
Gets the dimension of the matrix
disable() - Method in class me.autobot.lib.systems.mechanisms.Mechanism
Disables the mechanism.
disableConnections() - Static method in class me.autobot.lib.hardware.i2c.I2CConnection
Disable all connections.
disableConnections() - Static method in class me.autobot.lib.hardware.serial.SerialConnection
Disables all serial connections.
disabled - Static variable in annotation interface me.autobot.lib.robot.PlayableRobot
If the robot is disabled or not.
disabled - Variable in class me.autobot.lib.systems.mechanisms.Mechanism
If the mechanism is disabled.
disableRobot() - Static method in class me.autobot.lib.robot.Robot
Stops the current robot.
distance(Int2) - Method in class me.autobot.lib.math.coordinates.Int2
Calculates the distance between this Int2 object and another Int2 object.
distance(Vector2d) - Method in class me.autobot.lib.math.coordinates.Vector2d
Gets the distance between two vectors.
distanceBoxParticle2D(double, double, double, double, double, double) - Static method in class me.autobot.lib.math.Mathf
Returns the signed distance between a point and a box in 2D space.
distancesq(Int2) - Method in class me.autobot.lib.math.coordinates.Int2
Calculates the square of the distance between this Int2 object and another Int2 object.
dot(Vector2d) - Method in class me.autobot.lib.math.coordinates.Vector2d
Gets the dot product of two vectors.
dot(Vector3d) - Method in class me.autobot.lib.math.coordinates.Vector3d
Dot product of this vector and another vector.
DOUBLE_TYPE - Static variable in class me.autobot.lib.server.topica.Topica
Type code denoting a double.
dpadDown - Variable in class me.autobot.lib.controls.NintendoJoycon
The dpad down button on the left joycon.
dpadLeft - Variable in class me.autobot.lib.controls.NintendoJoycon
The dpad left button on the left joycon.
dpadRight - Variable in class me.autobot.lib.controls.NintendoJoycon
The dpad right button on the left joycon.
dpadUp - Variable in class me.autobot.lib.controls.NintendoJoycon
The dpad up button on the left joycon.
drive(double, double) - Method in class me.autobot.lib.robot.drivebase.ArcadeDrive
Drives the robot with the given speed and rotation.
drive(double, double) - Method in class me.autobot.lib.robot.drivebase.TankDrive
Drives the robot with the given speed and rotation.
drive(double, double, double) - Method in class me.autobot.lib.robot.drivebase.ArcadeDrive
Drives the robot with the given speed and rotation.

E

elapsed(long) - Method in class me.autobot.lib.math.Clock
Check if the given time has elapsed.
elapsedSince(long) - Method in class me.autobot.lib.math.Clock
Check if the given time has elapsed since the last time it was triggered.
emergencyStop() - Method in class me.autobot.lib.robot.Device
Called to emergency stop the device.
emergencyStop() - Method in class me.autobot.lib.robot.Motor
Emergency stops the motor.
emergencyStopAll() - Static method in class me.autobot.lib.robot.Device
Emergency stops all devices.
Empty() - Constructor for class me.autobot.lib.server.topica.Topica.Database.EncodeableTopic.Empty
Creates a new empty object.
enable() - Method in class me.autobot.lib.systems.mechanisms.Mechanism
Enables the mechanism.
enableSimulation() - Method in class me.autobot.lib.robot.Device
Enable simulation mode for the device.
encode() - Static method in class me.autobot.lib.server.topica.Topica.Database.EncodeableTopic.Empty
Encodes the empty object.
encode() - Method in interface me.autobot.lib.server.topica.Topica.Database.EncodeableTopic
Encodes the encodeable topic.
Environment - Class in me.autobot.lib.pathing
The environment in which the robot is operating.
Environment() - Constructor for class me.autobot.lib.pathing.Environment
Creates a new environment object.
equals(Object) - Method in class me.autobot.lib.math.coordinates.Int2
Checks if this Int2 object is equal to another object via comparing x and y values.
execute() - Method in class me.autobot.lib.systems.actions.Action
Executes the action.

F

flags - Variable in class me.autobot.lib.math.coordinates.Box2d
All flags on the robot.
FLOAT_TYPE - Static variable in class me.autobot.lib.server.topica.Topica
Type code denoting a float.
FloatSupplier - Interface in me.autobot.lib.tools.suppliers
 
FOOT - Enum constant in enum class me.autobot.lib.math.Unit.Type
A foot is 0.3048 meters.
fromDegrees(double) - Static method in class me.autobot.lib.math.rotation.Rotation2d
Create a new Rotation2d with the given degrees.
fromDegrees(double, double) - Static method in class me.autobot.lib.math.rotation.Rotation3d
Returns a new Rotation3d with the given angles in radians.
fromPolar(double, Rotation2d) - Static method in class me.autobot.lib.math.coordinates.Vector2d
Creates a new vector from polar coordinates.
fromRadians(double) - Static method in class me.autobot.lib.math.rotation.Rotation2d
Create a new Rotation2d with the given radians.

G

Gamepad - Interface in me.autobot.lib.controls
 
generateId(int, int) - Static method in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
Generates an ID for the I2C connection for the Pi4J context.
generateNickname() - Static method in class me.autobot.lib.server.topica.Topica
Generates a nickname
Geometry - Class in me.autobot.lib.math.objects
A class containing geometry utility functions.
Geometry() - Constructor for class me.autobot.lib.math.objects.Geometry
Geometry class is a utility class and should not be instantiated.
get() - Method in interface me.autobot.lib.tools.suppliers.ByteSupplier
 
get() - Method in interface me.autobot.lib.tools.suppliers.FloatSupplier
 
get() - Method in interface me.autobot.lib.tools.suppliers.ShortSupplier
 
get() - Method in interface me.autobot.lib.tools.suppliers.StringSupplier
Gets a string.
get(int) - Method in class me.autobot.lib.math.linalg.Vector
Gets the value at the given index.
get(int, int) - Method in class me.autobot.lib.math.linalg.Matrix
Gets the value at the given row and column
getAddress() - Method in class me.autobot.lib.robot.Motor
Returns the I2C address of the motor controller.
getAddress() - Method in class me.autobot.lib.robot.Sensor
Returns the I2C address of the sensor hub.
getAngle() - Method in class me.autobot.lib.math.coordinates.Spherical
Gets the angle of the Spherical.
getAsBoolean() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Gets the data of the topic as a boolean.
getAsDouble() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Gets the data of the topic as a double.
getAsFloat() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Gets the data of the topic as a float.
getAsInt() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Gets the data of the topic as an int.
getAsLong() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Gets the data of the topic as a long.
getAsString() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Gets the data of the topic as a string.
getBaudRate() - Method in class me.autobot.lib.hardware.serial.SerialConnection
Gets the baud rate of the serial connection.
getBus() - Method in class me.autobot.lib.hardware.i2c.I2CConnection
Gets the bus of the I2C device.
getBus() - Method in class me.autobot.lib.robot.Motor
Returns the I2C bus the motor controller is connected to.
getBus() - Method in class me.autobot.lib.robot.Sensor
Returns the I2C bus of the sensor hub.
getCols() - Method in class me.autobot.lib.math.linalg.Matrix
Gets the number of columns in the matrix
getCommPort() - Method in class me.autobot.lib.hardware.serial.SerialConnection
Gets the comm port of the serial connection.
getCurrent() - Method in class me.autobot.lib.robot.Device
Get the current of the device (if applicable).
getData() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Gets the data of the topic as a byte array.
getDatabase() - Static method in class me.autobot.lib.server.topica.Topica
Gets the database of the Topica server.
getDefaultTopics() - Method in class me.autobot.lib.server.topica.Topica.Database
Get all default topics
getDegrees() - Method in class me.autobot.lib.math.coordinates.Polar
Returns the angle of the vector in degrees.
getDegrees() - Method in class me.autobot.lib.math.rotation.Rotation2d
Returns the angle in degrees.
getDeviceAddress() - Method in class me.autobot.lib.hardware.i2c.I2CConnection
Gets the device address of the I2C device.
getDevices() - Method in class me.autobot.lib.robot.Robot
Gets all the devices of the robot.
getEncodeable() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Gets the data of the topic as a custom encodeable topic.
getError() - Static method in class me.autobot.lib.telemetry.SysoutMiddleman.Sysout
Gets the error sysout.
getFloatFromBytes(int[], int, int, boolean) - Static method in class me.autobot.lib.math.Mathf
Gets the float value of a byte.
getId() - Method in class me.autobot.code.mechanisms.LIDAR.WSLidarSensorConnection
Gets the ID of the sensor.
getId() - Method in class me.autobot.lib.hardware.ws.WSSensorConnection
Gets the WS ID of the sensor connection.
getIdentification() - Method in class me.autobot.lib.robot.Robot
Gets the identification of the robot.
getIdentifier() - Method in class me.autobot.lib.robot.Motor
Returns the identifier of the motor.
getIdentifier() - Method in class me.autobot.lib.robot.Sensor
Returns the identifier of the sensor.
getInList(ArrayList<Int2>) - Method in class me.autobot.lib.math.coordinates.Int2
Finds and gets the Int2 object in a list of Int2 objects that is equal to this Int2 object.
getInstance() - Static method in class me.autobot.lib.robot.Robot
Gets the first robot / only robot if only one robot is created (for multi-robot simulations).
getInstance() - Static method in class me.autobot.lib.server.RESTServer
Gets the instance of the REST server.
getInstance() - Static method in class me.autobot.lib.server.WSServer
Gets the instance of the WSServer.
getIntFromBytes(int[], int, int, boolean) - Static method in class me.autobot.lib.math.Mathf
Gets the integer value of a byte.
getJoycon(byte) - Static method in class me.autobot.lib.controls.NintendoJoycon
Gets the joycon with the given event byte.
getL() - Method in class me.autobot.lib.math.linalg.LUDecomposition
Gets the lower triangular matrix.
getLastUpdated() - Method in class me.autobot.lib.controls.LogitechF310
Get when the gamepad was last updated
getLeftX() - Method in interface me.autobot.lib.controls.Gamepad
 
getLeftX() - Method in class me.autobot.lib.controls.LogitechF310
 
getLeftX() - Method in class me.autobot.lib.controls.NintendoJoycon
 
getLeftY() - Method in interface me.autobot.lib.controls.Gamepad
 
getLeftY() - Method in class me.autobot.lib.controls.LogitechF310
 
getLeftY() - Method in class me.autobot.lib.controls.NintendoJoycon
 
getLocations() - Method in class me.autobot.lib.math.map.Map2d
Get the locations of the obstacles on the map.
getLoopTime() - Method in class me.autobot.lib.robot.Robot
Gets the loop time.
getMatrix() - Method in class me.autobot.lib.math.linalg.Matrix
Gets the matrix as a 2D array
getMessage() - Method in class me.autobot.lib.telemetry.SysoutMiddleman.Message
Gets the message.
getMessages() - Static method in class me.autobot.lib.telemetry.SysoutMiddleman
Gets all messages.
getMotors() - Method in class me.autobot.lib.robot.Robot
Gets all the motors of the robot.
getName() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Get the name/path of the topic.
getObstacles() - Method in class me.autobot.lib.math.map.SimpleMap2d
Returns a list of detected "obstacles" (points) on the map.
getOrCreateConnection(int, String) - Static method in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
Gets or creates a connection to the serial device with the given ID, bus, and device.
getOrCreateConnection(String, int, int) - Static method in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
Gets or creates a connection to the I2C device with the given ID, bus, and device.
getOut() - Static method in class me.autobot.lib.telemetry.SysoutMiddleman.Sysout
Gets the output sysout.
getP() - Method in class me.autobot.lib.math.linalg.LUDecomposition
Gets the permutation vector.
getParent() - Method in class me.autobot.lib.robot.Device
Get the parent of the device.
getParentIdentification() - Method in class me.autobot.lib.robot.Sensor
Returns the address/identifier of the parent robot.
getPath() - Method in class me.autobot.lib.controls.LogitechF310
Returns the base path of the gamepad topics.
getPath() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Gets the path of the topic.
getPhi() - Method in class me.autobot.lib.math.coordinates.Spherical
Returns the phi angle in radians.
getPhi() - Method in class me.autobot.lib.math.rotation.Rotation3d
Gets the xz angle (phi) in radians.
getPhiDegrees() - Method in class me.autobot.lib.math.rotation.Rotation3d
Get the xz angle in degrees.
getPhiRadians() - Method in class me.autobot.lib.math.rotation.Rotation3d
Get the xz angle in radians.
getPosition() - Method in class me.autobot.lib.math.coordinates.Box2d
Returns the position of the box.
getPosition() - Method in class me.autobot.lib.math.objects.Rectangle
Gets the center position of the rectangle.
getPosition() - Method in class me.autobot.lib.odometry.SimpleOdometry2d
Gets the current position of the odometry object.
getProperties() - Method in class me.autobot.lib.robot.Device
Returns the properties of the device.
getProperty(String) - Method in class me.autobot.lib.robot.Device
Get a property of the device.
getR() - Method in class me.autobot.lib.math.coordinates.Polar
Returns the magnitude of the vector (the radius value).
getRadians() - Method in class me.autobot.lib.math.coordinates.Polar
Returns the angle of the vector in radians.
getRadians() - Method in class me.autobot.lib.math.rotation.Rotation2d
Returns the angle in radians.
getRealTopics() - Method in class me.autobot.lib.server.topica.Topica.Database
Get all (real) topics.
getRelativePosition() - Method in class me.autobot.lib.robot.Sensor
Gets the relative position to the center of the robot.
getRelativeRotation() - Method in class me.autobot.lib.robot.Sensor
Gets the relative rotation to the center of the robot.
getRho() - Method in class me.autobot.lib.math.coordinates.Spherical
Returns the value of rho.
getRightX() - Method in interface me.autobot.lib.controls.Gamepad
 
getRightX() - Method in class me.autobot.lib.controls.LogitechF310
 
getRightX() - Method in class me.autobot.lib.controls.NintendoJoycon
 
getRightY() - Method in interface me.autobot.lib.controls.Gamepad
 
getRightY() - Method in class me.autobot.lib.controls.LogitechF310
Get
getRightY() - Method in class me.autobot.lib.controls.NintendoJoycon
 
getRobotClasses() - Static method in class me.autobot.lib.robot.Robot
Gets all robot classes.
getRobots() - Static method in class me.autobot.lib.robot.Robot
Gets all the robots.
getRotation() - Method in class me.autobot.lib.math.objects.Rectangle
Gets the rotation of the rectangle.
getRotation() - Method in class me.autobot.lib.odometry.SimpleOdometry2d
Gets the current rotation of the odometry object.
getRoutePrefix() - Method in class me.autobot.lib.server.WSClientRoute
What the message prefix should be (should be unique).
getRows() - Method in class me.autobot.lib.math.linalg.Matrix
Gets the number of rows in the matrix
getSensor(int, int) - Static method in class me.autobot.lib.robot.Sensor
Gets the sensor object with the specific identifier and robot address.
getSensors() - Method in class me.autobot.lib.robot.Robot
Gets all the sensors of the robot.
getSensorValues() - Method in class me.autobot.lib.robot.Sensor
Returns the raw sensor values.
getSize() - Method in class me.autobot.lib.math.coordinates.Box2d
Returns the size of the box.
getSize() - Method in class me.autobot.lib.math.objects.Rectangle
Gets the size of the rectangle.
getState() - Method in class me.autobot.lib.math.models.KalmanFilter
Returns the current state of the system.
getTheta() - Method in class me.autobot.lib.math.coordinates.Polar
Returns the angle of the vector.
getTheta() - Method in class me.autobot.lib.math.coordinates.Spherical
Returns the theta angle in radians.
getTheta() - Method in class me.autobot.lib.math.rotation.Rotation2d
Returns the angle in radians.
getTheta() - Method in class me.autobot.lib.math.rotation.Rotation3d
Returns the xy angle (theta) in radians.
getThetaDegrees() - Method in class me.autobot.lib.math.rotation.Rotation3d
Get the xy angle in degrees.
getThetaRadians() - Method in class me.autobot.lib.math.rotation.Rotation3d
Get the xy angle in radians.
getTimeElapsed() - Method in class me.autobot.lib.math.Clock
Check how long it has been since the clock was created.
getTimeElapsed() - Method in class me.autobot.lib.robot.Robot
Gets the time elapsed since the robot was created.
getTopic() - Method in class me.autobot.lib.hardware.ros.ROSSubscription
Gets the topic of the subscription.
getTopic(String) - Method in class me.autobot.lib.server.topica.Topica.Database
Gets a topic from the database by the path.
getType() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Gets the type of the topic.
getType() - Method in class me.autobot.lib.server.WSClientRoute
Gets the type of the route (whether that be passive, speaker, or listener).
getType() - Method in class me.autobot.lib.telemetry.SysoutMiddleman.Message
Gets the type of message.
getType() - Method in class me.autobot.lib.telemetry.SysoutMiddleman.Sysout
Gets the type of message.
getU() - Method in class me.autobot.lib.math.linalg.LUDecomposition
Gets the upper triangular matrix.
getUUID() - Method in class me.autobot.lib.systems.actions.Action
Returns the UUID of the action.
getValue() - Method in class me.autobot.lib.math.Unit
Returns the value in meters.
getValue(Unit.Type) - Method in class me.autobot.lib.math.Unit
Gets the value in the given unit.
getValues() - Method in class me.autobot.lib.math.linalg.Vector
Gets the values of the vector.
getValues() - Method in class me.autobot.lib.robot.Sensor
Returns the processed sensor values.
getValues() - Method in class me.autobot.lib.robot.sensors.CollisionSensor
Returns the value of the collision sensor.
getVertices() - Method in class me.autobot.lib.math.coordinates.Box2d
Gets the vertices of the box.
getVertices() - Method in class me.autobot.lib.math.objects.Rectangle
Returns the vertices of the rectangle.
getVoltage() - Method in class me.autobot.lib.robot.Device
Get the voltage of the device (if applicable).
getX() - Method in class me.autobot.lib.math.coordinates.Vector2d
Gets the x coordinate of the vector.
getX() - Method in class me.autobot.lib.math.coordinates.Vector3d
Gets the x component of the vector.
getY() - Method in class me.autobot.lib.math.coordinates.Vector2d
Gets the y coordinate of the vector.
getY() - Method in class me.autobot.lib.math.coordinates.Vector3d
Gets the y component of the vector.
getZ() - Method in class me.autobot.lib.math.coordinates.Vector3d
Gets the z component of the vector.

H

hasFinished() - Method in class me.autobot.lib.systems.actions.Action
Returns whether the action has finished.
hasTopic(String) - Method in class me.autobot.lib.server.topica.Topica.Database
Checks if the topic exists or not
HIGH - Static variable in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
The value of "HIGH" in the Arduino.
HIGH - Static variable in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
The value of "HIGH" in the Arduino.
home - Variable in class me.autobot.lib.controls.NintendoJoycon
Right joycon home button.
HoverboardWheel - Class in me.autobot.lib.robot.motors
A hoverboard wheel motor.
HoverboardWheel(int, int) - Constructor for class me.autobot.lib.robot.motors.HoverboardWheel
Creates a new HoverboardWheel with the given I2C address (and default I2C bus).
HoverboardWheel(int, int, int) - Constructor for class me.autobot.lib.robot.motors.HoverboardWheel
Creates a new HoverboardWheel with the given I2C address and bus.
hypot(double, double) - Static method in class me.autobot.lib.math.Mathf
Returns the hypotenuse of the given sides.

I

I2CConnection - Class in me.autobot.lib.hardware.i2c
Creates a connection to an I2C device.
I2CConnection(String, int, int) - Constructor for class me.autobot.lib.hardware.i2c.I2CConnection
Creates a new I2C connection with the given bus and device address.
i2cVerboseLevel - Static variable in class me.autobot.lib.hardware.i2c.I2CConnection
Verboseness level for I2C errors.
INCH - Enum constant in enum class me.autobot.lib.math.Unit.Type
An inch is 0.0254 meters.
init() - Method in class me.autobot.code.mechanisms.LIDAR
Initializes the LIDAR mechanism.
init() - Method in class me.autobot.lib.systems.actions.Action
Called when the action is initialized.
init() - Method in class me.autobot.lib.systems.mechanisms.Mechanism
Initializes the mechanism.
init_all(Robot) - Static method in class me.autobot.lib.systems.mechanisms.Mechanism
Runs the init method on all mechanisms.
inList(ArrayList<Int2>) - Method in class me.autobot.lib.math.coordinates.Int2
Checks if this Int2 object is in a passed list of Int2 objects.
inSimulation() - Method in class me.autobot.lib.robot.Device
Check if the device is in simulation mode.
inSimulation() - Method in class me.autobot.lib.robot.Motor
Returns whether the motor is currently in simulation mode.
inSimulation() - Static method in class me.autobot.simulation.Simulate
Returns whether the robot is in simulation mode.
INT_TYPE - Static variable in class me.autobot.lib.server.topica.Topica
Type code denoting an integer.
Int2 - Class in me.autobot.lib.math.coordinates
A class that represents a 2D integer coordinate.
Int2(int, int) - Constructor for class me.autobot.lib.math.coordinates.Int2
Creates a new Int2 object with the given x and y values.
intersectsRay(Vector2d, Vector2d) - Method in class me.autobot.lib.math.coordinates.Box2d
Checks if the box intersects with a ray.
inverse() - Method in class me.autobot.lib.math.coordinates.Polar
Returns the inverse of the vector, with the same magnitude and the opposite angle.
inverse() - Method in class me.autobot.lib.math.coordinates.Spherical
Returns the inverse of the Spherical.
inverse() - Method in class me.autobot.lib.math.linalg.Matrix
Inverts the matrix
inverse() - Method in class me.autobot.lib.math.rotation.Rotation2d
Returns the inverse of the angle.
inverse() - Method in class me.autobot.lib.math.rotation.Rotation3d
Get the inverse of the angle.
invert() - Method in class me.autobot.lib.math.linalg.LUDecomposition
Inverts the matrix.
invert() - Method in class me.autobot.lib.robot.Motor
Inverts the motor's direction.
isCancelled() - Method in class me.autobot.lib.systems.actions.Action
Returns whether the action has been cancelled.
isDisabled() - Method in class me.autobot.lib.systems.mechanisms.Mechanism
Gets if the mechanism is disabled.
isInside(Int2) - Method in class me.autobot.lib.math.coordinates.Box2d
Checks if the given point is inside the box.
isInverted() - Method in class me.autobot.lib.robot.Motor
Returns if the motor direction is inverted.
isSeparatingAxisTheorem(Vector2d[], Vector2d[]) - Static method in class me.autobot.lib.math.objects.Geometry
Checks if two polygons are intersecting using the Separating Axis Theorem
isVerbose() - Static method in class me.autobot.lib.server.topica.Topica
Returns true or false depending on if the verbose setting is on.

K

KalmanFilter - Class in me.autobot.lib.math.models
A Kalman Filter is a mathematical model that uses a series of measurements observed over time, containing statistical noise and other inaccuracies, and produces estimates of unknown variables that tend to be more accurate than those based on a single measurement alone, by estimating a joint probability distribution over the variables for each timeframe.
KalmanFilter(Matrix, Matrix, Matrix, Matrix, Matrix, Matrix, Matrix) - Constructor for class me.autobot.lib.math.models.KalmanFilter
Creates a new Kalman Filter with the given state, state covariance, transition, control, measurement, process noise, and measurement noise.
KalmanTest - Class in me.autobot.test
Class to test the Kalman Filter.
KalmanTest() - Constructor for class me.autobot.test.KalmanTest
 
KILOMETER - Enum constant in enum class me.autobot.lib.math.Unit.Type
A kilometer is 1000 meters.

L

l - Variable in class me.autobot.lib.controls.NintendoJoycon
The l button on the left joycon.
leftSl - Variable in class me.autobot.lib.controls.NintendoJoycon
Left joycon left sl button.
leftSr - Variable in class me.autobot.lib.controls.NintendoJoycon
Left joycon right sr button.
leftStick - Variable in class me.autobot.lib.controls.NintendoJoycon
The left stick button on the left joycon.
leftStickX - Variable in class me.autobot.lib.controls.NintendoJoycon
The left joystick x value.
leftStickY - Variable in class me.autobot.lib.controls.NintendoJoycon
The left joystick y value.
LIDAR - Class in me.autobot.code.mechanisms
LIDAR Mechanism that can construct a terrain map from LIDAR data.
LIDAR() - Constructor for class me.autobot.code.mechanisms.LIDAR
 
LIDAR.Point - Class in me.autobot.code.mechanisms
LIDAR Point structure.
LIDAR.WSLidarSensorConnection - Class in me.autobot.code.mechanisms
The serial connection for the lidar sensor.
LIDAR.WSLidarSensorConnection.Response - Class in me.autobot.code.mechanisms
Response for the LIDAR sensor.
LidarBot - Class in me.autobot.code.me
Bot with a LIDAR sensor.
LidarBot() - Constructor for class me.autobot.code.me.LidarBot
 
lineIntersects(Vector2d, Vector2d) - Method in class me.autobot.lib.math.coordinates.Box2d
Checks if the box intersects with a line
Listener - Enum constant in enum class me.autobot.lib.server.WSClient.ClientType
Connection is supposed to only be used for reading data.
Log - Annotation Interface in me.autobot.lib.telemetry
Annotation to mark fields and methods that should be logged.
Logger - Interface in me.autobot.lib.telemetry
A class that logs the values of fields and methods annotated with @Log.
LogitechF310 - Class in me.autobot.lib.controls
 
LogitechF310(String) - Constructor for class me.autobot.lib.controls.LogitechF310
 
LogitechTest - Class in me.autobot.code.me
Robot used for testing the LogitechF310 gamepad.
LogitechTest() - Constructor for class me.autobot.code.me.LogitechTest
 
LONG_TYPE - Static variable in class me.autobot.lib.server.topica.Topica
Type code denoting a long.
loop() - Method in class me.autobot.code.examples.ServoBot
Every 100ms, set the speed of the servo to sin(t).
loop() - Method in class me.autobot.code.me.LidarBot
Runs the robot.
loop() - Method in class me.autobot.code.me.LogitechTest
Loops the robot.
loop() - Method in class me.autobot.code.me.MainBot
Main loop of the robot.
loop() - Method in class me.autobot.code.me.NNBot
Runs the robot.
loop() - Method in class me.autobot.code.me.TestBot
 
loop() - Method in class me.autobot.lib.robot.Robot
Loop method.
LOW - Static variable in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
The value of "LOW" in the Arduino.
LOW - Static variable in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
The value of "LOW" in the Arduino.
LUDecomposition - Class in me.autobot.lib.math.linalg
A LU Decomposition is a way of decomposing a matrix into the product of a lower triangular matrix and an upper triangular matrix.
LUDecomposition(Matrix) - Constructor for class me.autobot.lib.math.linalg.LUDecomposition
Creates a new LU Decomposition with the given matrix.
LUDecomposition(Matrix, Matrix) - Constructor for class me.autobot.lib.math.linalg.LUDecomposition
Creates a new LU Decomposition with the given lower triangular matrix and upper triangular matrix.

M

magnitude() - Method in class me.autobot.lib.math.coordinates.Vector2d
Gets the magnitude of the vector.
magnitude() - Method in class me.autobot.lib.math.coordinates.Vector3d
Returns the magnitude of the vector.
main(String[]) - Static method in class me.autobot.code.Main
This is the entry point of the code.
main(String[]) - Static method in class me.autobot.lib.server.WSServer
The main method of the WSServer, only used for testing the server.
main(String[]) - Static method in class me.autobot.simulation.Simulate
Main thread for simulation.
main(String[]) - Static method in class me.autobot.test.KalmanTest
Main method to test the Kalman Filter.
Main - Class in me.autobot.code
The main entry point to the program.
Main() - Constructor for class me.autobot.code.Main
Isn't called! Rather, the main() method is called.
MainBot - Class in me.autobot.code.me
Main robot class for the robot.
MainBot() - Constructor for class me.autobot.code.me.MainBot
Creates a new MainBot.
MainBot.Config - Class in me.autobot.code.me
Config class for the robot.
map(double, double, double, double, double) - Static method in class me.autobot.lib.math.Mathf
Returns a value that is linearly interpolated between the given minimum and maximum values.
Map2d - Class in me.autobot.lib.math.map
A class that represents a 2D map of locations/obstacles.
Map2d() - Constructor for class me.autobot.lib.math.map.Map2d
Create a new 2D map.
Mathf - Class in me.autobot.lib.math
A class that contains mathematical functions that are not included in the Math class.
Mathf() - Constructor for class me.autobot.lib.math.Mathf
Tries to instantiate a Mathf object, but throws an exception because it is a utility class.
Matrix - Class in me.autobot.lib.math.linalg
A matrix is a rectangular array of numbers, symbols, or expressions, arranged in rows and columns.
Matrix(double[][]) - Constructor for class me.autobot.lib.math.linalg.Matrix
Creates a new matrix with the given 2D array
Matrix(int, int) - Constructor for class me.autobot.lib.math.linalg.Matrix
Creates a new matrix with the given number of rows and columns
max - Variable in class me.autobot.lib.math.coordinates.Projection
The minimum and maximum values of the projection.
max(double...) - Static method in class me.autobot.lib.math.Mathf
Return the maximum value of the given numbers.
me.autobot.code - package me.autobot.code
 
me.autobot.code.examples - package me.autobot.code.examples
 
me.autobot.code.me - package me.autobot.code.me
 
me.autobot.code.mechanisms - package me.autobot.code.mechanisms
 
me.autobot.lib.controls - package me.autobot.lib.controls
 
me.autobot.lib.hardware - package me.autobot.lib.hardware
 
me.autobot.lib.hardware.i2c - package me.autobot.lib.hardware.i2c
 
me.autobot.lib.hardware.ros - package me.autobot.lib.hardware.ros
 
me.autobot.lib.hardware.serial - package me.autobot.lib.hardware.serial
 
me.autobot.lib.hardware.ws - package me.autobot.lib.hardware.ws
 
me.autobot.lib.math - package me.autobot.lib.math
 
me.autobot.lib.math.coordinates - package me.autobot.lib.math.coordinates
 
me.autobot.lib.math.linalg - package me.autobot.lib.math.linalg
 
me.autobot.lib.math.map - package me.autobot.lib.math.map
 
me.autobot.lib.math.models - package me.autobot.lib.math.models
 
me.autobot.lib.math.objects - package me.autobot.lib.math.objects
 
me.autobot.lib.math.rotation - package me.autobot.lib.math.rotation
 
me.autobot.lib.odometry - package me.autobot.lib.odometry
 
me.autobot.lib.os - package me.autobot.lib.os
 
me.autobot.lib.pathing - package me.autobot.lib.pathing
 
me.autobot.lib.robot - package me.autobot.lib.robot
 
me.autobot.lib.robot.drivebase - package me.autobot.lib.robot.drivebase
 
me.autobot.lib.robot.motors - package me.autobot.lib.robot.motors
 
me.autobot.lib.robot.sensors - package me.autobot.lib.robot.sensors
 
me.autobot.lib.server - package me.autobot.lib.server
Package for server-side classes, such as the REST API or the WebSocket server.
me.autobot.lib.server.topica - package me.autobot.lib.server.topica
 
me.autobot.lib.systems.actions - package me.autobot.lib.systems.actions
 
me.autobot.lib.systems.mechanisms - package me.autobot.lib.systems.mechanisms
 
me.autobot.lib.telemetry - package me.autobot.lib.telemetry
 
me.autobot.lib.tools - package me.autobot.lib.tools
 
me.autobot.lib.tools.suppliers - package me.autobot.lib.tools.suppliers
 
me.autobot.simulation - package me.autobot.simulation
Package for the simulation of the robot.
me.autobot.test - package me.autobot.test
 
Mechanism - Class in me.autobot.lib.systems.mechanisms
A mechanism that can be used on the robot.
Mechanism() - Constructor for class me.autobot.lib.systems.mechanisms.Mechanism
Creates a new Mechanism.
Message(String, int) - Constructor for class me.autobot.lib.telemetry.SysoutMiddleman.Message
Creates a new message.
METER - Enum constant in enum class me.autobot.lib.math.Unit.Type
A meter is 1 meter.
MILE - Enum constant in enum class me.autobot.lib.math.Unit.Type
A mile is 1609.34 meters.
MILLIMETER - Enum constant in enum class me.autobot.lib.math.Unit.Type
A millimeter is 0.001 meters.
min - Variable in class me.autobot.lib.math.coordinates.Projection
The minimum and maximum values of the projection.
min(double...) - Static method in class me.autobot.lib.math.Mathf
Returns the minimum value of the given numbers.
minus - Variable in class me.autobot.lib.controls.NintendoJoycon
The minus button on the left joycon.
Motor - Class in me.autobot.lib.robot
A moving device that can be controlled by the robot, such as a motor.
Motor(int, int) - Constructor for class me.autobot.lib.robot.Motor
Creates a new motor with the given I2C address (and default I2C bus).
Motor(int, int, int) - Constructor for class me.autobot.lib.robot.Motor
Creates a new motor with the given I2C address and bus.
move(Vector2d) - Method in class me.autobot.lib.odometry.SimpleOdometry2d
Moves the odometry object by a given movement.
multiply(double) - Method in class me.autobot.lib.math.coordinates.Vector2d
Multiplies the vector by a scalar.
multiply(Matrix) - Method in class me.autobot.lib.math.linalg.Matrix
Multiplies the matrix by another matrix
multiply(Vector) - Method in class me.autobot.lib.math.linalg.Matrix
Multiplies the matrix by a vector

N

name() - Element in annotation interface me.autobot.lib.robot.PlayableRobot
Name of the robot.
NintendoJoycon - Class in me.autobot.lib.controls
Nintendo Switch Joycon controller, both left and right combined into one class.
NintendoJoycon(byte) - Constructor for class me.autobot.lib.controls.NintendoJoycon
Creates a new SwitchJoycons object.
NNBot - Class in me.autobot.code.me
Neural network bot.
NNBot() - Constructor for class me.autobot.code.me.NNBot
 
normal() - Method in class me.autobot.lib.math.coordinates.Polar
Gets the normal of the vector, with the same magnitude (this implies a 90 degree rotation).
normal() - Method in class me.autobot.lib.math.coordinates.Spherical
Returns the normal of the Spherical.
normal() - Method in class me.autobot.lib.math.rotation.Rotation2d
Returns the normal of the angle (adding 90 degrees).
normal() - Method in class me.autobot.lib.math.rotation.Rotation3d
Returns the normal of the angle (adding 90 degrees to both angles).
normalize() - Method in class me.autobot.lib.math.coordinates.Vector2d
Normalizes the vector.
normalize() - Method in class me.autobot.lib.math.coordinates.Vector3d
Returns a new vector that is the normalized version of this vector.
normalizeAngle(double) - Static method in class me.autobot.lib.math.Mathf
Normalizes an angle to be between 0 and 2pi.

O

obstacles - Variable in class me.autobot.lib.pathing.Environment
List of all obstacles in the environment.
onClose(NanoWSD.WebSocketFrame.CloseCode, String, boolean) - Method in class me.autobot.lib.server.topica.Topica
Closes the Topica WebSocket connection.
onClose(NanoWSD.WebSocketFrame.CloseCode, String, boolean) - Method in class me.autobot.lib.server.WSClient
Called when the client is closed.
onException(IOException) - Method in class me.autobot.lib.server.topica.Topica
Called when an exception occurs.
onException(IOException) - Method in class me.autobot.lib.server.WSClient
Called when an exception occurs.
onLidarData(LIDAR.Point[]) - Method in class me.autobot.code.mechanisms.LIDAR
Called when the LIDAR sensor has new data.
onLidarData(LIDAR.Point[]) - Method in class me.autobot.code.mechanisms.LIDAR.WSLidarSensorConnection.Response
Called when the LIDAR sensor has new data.
onMessage(NanoWSD.WebSocketFrame) - Method in class me.autobot.lib.server.topica.Topica
Handles a message from the Topica WebSocket connection.
onMessage(NanoWSD.WebSocketFrame) - Method in class me.autobot.lib.server.WSClient
Called when a message is received.
onMessage(WSClient, int[]) - Method in class me.autobot.lib.server.WSClientRoute
Called when a message is received from the WSClient.
onMessage(SysoutMiddleman.Message) - Method in interface me.autobot.lib.telemetry.SysoutMiddleman.Sysout.Listener
Called when a message is received.
onOpen() - Method in class me.autobot.lib.server.topica.Topica
Creates a new Topica WebSocket connection.
onOpen() - Method in class me.autobot.lib.server.WSClient
Called when the client is opened.
onPong(NanoWSD.WebSocketFrame) - Method in class me.autobot.lib.server.topica.Topica
Called on the pong frame.
onPong(NanoWSD.WebSocketFrame) - Method in class me.autobot.lib.server.WSClient
Called when a pong is received.
onSerialData(byte[]) - Method in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
Called when serial data is received.
onSerialData(byte[]) - Method in class me.autobot.lib.hardware.serial.SerialConnection
Handles the serial data.
onUpdate(int[]) - Method in class me.autobot.code.mechanisms.LIDAR.WSLidarSensorConnection
Called when the LIDAR sensor has new data.
onUpdate(int[]) - Method in class me.autobot.lib.hardware.ws.WSSensorConnection
Called when the websocket connection is updated.
onUpdate(Topica.Database.Topic) - Method in interface me.autobot.lib.server.topica.Topica.Database.Topic.UpdateCallback
Called when a topic is updated.
open() - Method in class me.autobot.lib.hardware.serial.SerialConnection
Checks if the serial port is open.
openWebSocket(NanoHTTPD.IHTTPSession) - Method in class me.autobot.lib.server.topica.Topica.Server
Opens a new WebSocket connection.
openWebSocket(NanoHTTPD.IHTTPSession) - Method in class me.autobot.lib.server.WSServer
Opens a new WebSocket connection.
OSDetector - Class in me.autobot.lib.os
Helper class for detecting the operating system of the user.
OSDetector() - Constructor for class me.autobot.lib.os.OSDetector
Creates a new OSDetector...but this shouldn't happen.
overlaps(Projection) - Method in class me.autobot.lib.math.coordinates.Projection
Checks if this projection overlaps with another projection

P

parent - Variable in class me.autobot.lib.systems.mechanisms.Mechanism
The parent robot (of the mechanism, where the mechanism is attached to).
Passive - Enum constant in enum class me.autobot.lib.server.WSClient.ClientType
Connection can be used for both sending and receiving data.
pauseRobot() - Static method in class me.autobot.lib.robot.Robot
Pauses the current robot.
perpendicular() - Method in class me.autobot.lib.math.coordinates.Vector2d
Gets the perpendicular vector of the vector.
ping() - Method in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
Pings the I2C device.
ping() - Method in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
Pings the serial device.
PlayableRobot - Annotation Interface in me.autobot.lib.robot
Represents a robot that can be played.
plus - Variable in class me.autobot.lib.controls.NintendoJoycon
The plus button on the right joycon.
Point(float, float, float) - Constructor for class me.autobot.code.mechanisms.LIDAR.Point
Creates a new LIDAR Point structure.
Polar - Class in me.autobot.lib.math.coordinates
Polar coordinates represent a vector by its magnitude and the angle it makes with the x-axis.
Polar(double, Rotation2d) - Constructor for class me.autobot.lib.math.coordinates.Polar
Constructs a Polar object with the given magnitude and angle.
port(int) - Static method in class me.autobot.lib.server.topica.Topica
Assigns the port to a custom port.
predict(Vector) - Method in class me.autobot.lib.math.models.KalmanFilter
Predicts the next state of the system given the control input.
prefix() - Element in annotation interface me.autobot.lib.server.WSByteRoute
The prefix of the route.
Projection - Class in me.autobot.lib.math.coordinates
A projection of a shape onto an axis.
Projection(double, double) - Constructor for class me.autobot.lib.math.coordinates.Projection
Creates a new projection with the given min and max values.
projectPolygon(Vector2d[], Vector2d) - Static method in class me.autobot.lib.math.objects.Geometry
Projects a polygon onto an axis and returns the projection range
properties - Variable in class me.autobot.lib.math.coordinates.Int2
The properties of the Int2 object, such as flags, identities, etc.
publishStatus() - Static method in class me.autobot.lib.robot.Robot
Publishes the status of the robot to Topica

R

r - Variable in class me.autobot.lib.controls.NintendoJoycon
The r button on the right joycon.
raycastDistance(Vector2d, Vector2d) - Method in class me.autobot.lib.math.coordinates.Box2d
Figures out the distance between the box and a point looking in a certain direction.
read(int) - Method in class me.autobot.lib.hardware.i2c.I2CConnection
Reads data from the I2C device.
readPin(int) - Method in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
Sends a request to read the value of a specific pin.
Rectangle - Class in me.autobot.lib.math.objects
Rectangle object with position, size, and rotation.
Rectangle(Vector2d, Vector2d) - Constructor for class me.autobot.lib.math.objects.Rectangle
Creates a new rectangle with the given position and size.
Rectangle(Vector2d, Vector2d, Rotation2d) - Constructor for class me.autobot.lib.math.objects.Rectangle
Creates a new rectangle with the given position, size, and rotation.
registerAllDevices() - Method in class me.autobot.lib.robot.Robot
Registers all the devices of the robot.
registerCallable(int, Runnable) - Static method in class me.autobot.lib.server.WSClient
Register a callable with an address (will be called by the client if specified).
registerDevice(Device) - Static method in class me.autobot.lib.robot.Device
Registers a device.
registerSensorConnection(WSSensorConnection) - Static method in class me.autobot.lib.server.WSClient
Register a sensor connection with the client.
removeAllInactiveTelemetryClients() - Static method in class me.autobot.lib.robot.Robot
Removes all inactive clients from the telemetry list.
removeCallback(Topica.Database.Topic.UpdateCallback) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Removes a callback from the topic.
removeFromWSClient() - Method in class me.autobot.lib.server.WSClientRoute
Removes the route from the WSClient.
removeListener(SysoutMiddleman.Sysout.Listener) - Method in class me.autobot.lib.telemetry.SysoutMiddleman.Sysout
Removes a listener from the sysout.
removeTopic(Topica.Database.Topic) - Method in class me.autobot.lib.server.topica.Topica.Database
Removes a topic from the database.
reportSpeed() - Method in class me.autobot.lib.robot.Motor
Sends the speed to the motor controller.
reportSpeed() - Method in class me.autobot.lib.robot.motors.HoverboardWheel
Reports the speed of the motor to the connection.
reportSpeed() - Method in class me.autobot.lib.robot.motors.Servo
Reports the speed of the servo to the I2C bus.
REQUEST_TIMING - Static variable in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
How often to request data from the Arduino.
reset() - Method in class me.autobot.lib.odometry.SimpleOdometry2d
Resets the odometry object to the starting position and rotation.
Response() - Constructor for class me.autobot.code.mechanisms.LIDAR.WSLidarSensorConnection.Response
 
RESTServer - Class in me.autobot.lib.server
REST server for the robot.
RESTServer(int) - Constructor for class me.autobot.lib.server.RESTServer
Starts the server on the specified port.
RESTServer.Route - Class in me.autobot.lib.server
A route for the REST server.
resumeRobot() - Static method in class me.autobot.lib.robot.Robot
Resumes the current robot.
rightSl - Variable in class me.autobot.lib.controls.NintendoJoycon
Right joycon left sl button.
rightSr - Variable in class me.autobot.lib.controls.NintendoJoycon
Right joycon right sr button.
rightStick - Variable in class me.autobot.lib.controls.NintendoJoycon
The right stick button on the right joycon.
rightStickX - Variable in class me.autobot.lib.controls.NintendoJoycon
The right joystick x value.
rightStickY - Variable in class me.autobot.lib.controls.NintendoJoycon
The right joystick y value.
Robot - Class in me.autobot.lib.robot
The general robot class.
Robot() - Constructor for class me.autobot.lib.robot.Robot
Creates a new, basic robot.
ROSSubscription - Class in me.autobot.lib.hardware.ros
Object representing a ROS subscription.
ROSSubscription(String) - Constructor for class me.autobot.lib.hardware.ros.ROSSubscription
Creates a new ROS subscription with the given topic.
rotate(Rotation2d) - Method in class me.autobot.lib.math.coordinates.Vector2d
Rotates the vector by a rotation.
rotate(Rotation2d) - Method in class me.autobot.lib.odometry.SimpleOdometry2d
Rotates the odometry object by a given rotation.
rotateBy(Rotation2d) - Method in class me.autobot.lib.math.coordinates.Polar
Rotates the vector by the given angle.
rotateBy(Rotation2d) - Method in class me.autobot.lib.math.rotation.Rotation2d
Rotate the angle by the given angle.
rotateBy(Rotation2d) - Method in class me.autobot.lib.math.rotation.Rotation3d
Creates a new Rotation3d rotated by the given 2d rotation.
rotateBy(Rotation3d) - Method in class me.autobot.lib.math.coordinates.Spherical
Returns a new Spherical that's this rotated by the given Rotation3d.
rotateBy(Rotation3d) - Method in class me.autobot.lib.math.coordinates.Vector3d
Returns a new vector that's this rotated by the given Rotation3d.
rotateBy(Rotation3d) - Method in class me.autobot.lib.math.rotation.Rotation3d
Rotate the angle by the given 3d angle.
rotateValue(double, Rotation2d) - Static method in class me.autobot.lib.math.coordinates.Vector2d
Rotates a value by a rotation, creating a vector.
Rotation2d - Class in me.autobot.lib.math.rotation
A 2D rotation in radians.
Rotation2d() - Constructor for class me.autobot.lib.math.rotation.Rotation2d
Create a new Rotation2d with an angle of 0.
Rotation2d(double) - Constructor for class me.autobot.lib.math.rotation.Rotation2d
Create a new Rotation2d with the given angle in radians.
Rotation3d - Class in me.autobot.lib.math.rotation
A 3D rotation in radians.
Rotation3d(double, double) - Constructor for class me.autobot.lib.math.rotation.Rotation3d
Creates a new Rotation3d with the given angles in radians.
Route() - Constructor for class me.autobot.lib.server.RESTServer.Route
 
routes - Static variable in class me.autobot.lib.server.WSClient
List of all the routes that the clients can use.
run() - Method in class me.autobot.lib.server.RESTServer.Route
Runs the route.
run() - Method in class me.autobot.lib.tools.RunnableWithArgs
Deprecated.
Runs the runnable.
run(Object...) - Method in class me.autobot.lib.tools.RunnableWithArgs
Deprecated.
Runs the runnable with the given arguments.
run(WSClient) - Method in class me.autobot.lib.tools.RunnableWithArgs
Deprecated.
Runs the runnable with the websocket client (very specific, I know).
run(WSClient, int[]) - Method in class me.autobot.lib.tools.RunnableWithArgs
Deprecated.
Runs the runnable with the websocket client (very specific, I know) and data.
runCallbacks() - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Sends a notification to all callbacks that the topic has been updated.
RunnableWithArgs - Class in me.autobot.lib.tools
Deprecated.
RunnableWithArgs() - Constructor for class me.autobot.lib.tools.RunnableWithArgs
Deprecated.
Creates a new RunnableWithArgs object.

S

scale(double) - Method in class me.autobot.lib.math.coordinates.Vector2d
Scales the vector by a scalar.
scale(double) - Method in class me.autobot.lib.math.coordinates.Vector3d
Scales the vector by a scalar (and returns a new vector).
scale(double) - Method in class me.autobot.lib.math.linalg.Matrix
Scales the matrix by a scalar
sendSensorData(byte, byte, double[]) - Method in class me.autobot.lib.server.WSClient
Sends sensor data to the client.
sendTopicData(String) - Method in class me.autobot.lib.server.topica.Topica
Sends the data of a topic to the client.
sendValues(byte, byte, byte, byte...) - Method in class me.autobot.lib.server.WSClient
Sends values to the client.
Sensor - Class in me.autobot.lib.robot
A device that's used to sense the environment around the robot.
Sensor(int, int) - Constructor for class me.autobot.lib.robot.Sensor
Creates a new sensor with the given address and number of sensor channels.
sensorConnections - Static variable in class me.autobot.lib.server.WSClient
List of all the sensor connections that the clients can use.
SensorHubI2CConnection - Class in me.autobot.lib.hardware.i2c
I2C connection to the configurable Arduino code that's prebuilt for this library.
SensorHubI2CConnection(String, int, int) - Constructor for class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
Creates a new I2C connection to the default Arduino code with the given bus and device address.
SensorHubSerialConnection - Class in me.autobot.lib.hardware.serial
Connects to the serial port of the sensor hub.
SensorHubSerialConnection(int, String) - Constructor for class me.autobot.lib.hardware.serial.SensorHubSerialConnection
Creates a new serial connection with the given baud rate and comm port.
SerialConnection - Class in me.autobot.lib.hardware.serial
Serial connection class.
SerialConnection(int, String) - Constructor for class me.autobot.lib.hardware.serial.SerialConnection
Creates a new serial connection with the given baud rate and comm port.
serialVerboseLevel - Static variable in class me.autobot.lib.hardware.serial.SerialConnection
Verbose level for serial errors.
serve(NanoHTTPD.IHTTPSession) - Method in class me.autobot.lib.server.RESTServer
On request, serve the appropriate route.
Server - Class in me.autobot.lib.server
Server for the robot.
Server() - Constructor for class me.autobot.lib.server.Server
 
Server(int) - Constructor for class me.autobot.lib.server.topica.Topica.Server
Starts a new Topica server on the given port.
Server(String, int) - Constructor for class me.autobot.lib.server.topica.Topica.Server
Starts a new Topica server on the given hostname and port.
Servo - Class in me.autobot.lib.robot.motors
The servo motor class.
Servo(int, int) - Constructor for class me.autobot.lib.robot.motors.Servo
Creates a new servo with the given address on the default I2C bus.
Servo(int, int, int) - Constructor for class me.autobot.lib.robot.motors.Servo
Creates a new servo with the given address on the given I2C bus.
ServoBot - Class in me.autobot.code.examples
A bot used to test the Servo class!
ServoBot() - Constructor for class me.autobot.code.examples.ServoBot
Creates a new SimRobot Not necessary needed, but it's here for the sake of completeness.
set(int, double) - Method in class me.autobot.lib.math.linalg.Vector
Sets the value at the given index.
set(int, int, double) - Method in class me.autobot.lib.math.linalg.Matrix
Sets the value at the given row and column
setAngle(Rotation3d) - Method in class me.autobot.lib.math.coordinates.Spherical
Sets the angle of the Spherical.
setBusAndAddress(int, int) - Method in class me.autobot.lib.robot.Sensor
Sets the Bus and Address of the sensor (for I2C communication).
setLoopTime(long) - Method in class me.autobot.lib.robot.Robot
Sets the loop time.
setMaxSpeed(double) - Method in class me.autobot.lib.robot.motors.HoverboardWheel
Sets the maximum speed of the motor.
setParent(Robot) - Method in class me.autobot.lib.robot.Device
Set the parent of the device, i.e what robot the device is attached to.
setPaused(boolean) - Method in class me.autobot.lib.math.Clock
Sets if the timer is paused.
setPaused(boolean) - Method in class me.autobot.lib.robot.Robot
Pauses the robot.
setPhi(double) - Method in class me.autobot.lib.math.rotation.Rotation3d
Sets the xz angle (phi) in radians.
setProperty(String, double) - Method in class me.autobot.lib.robot.Device
Sets a property of the device.
setR(double) - Method in class me.autobot.lib.math.coordinates.Polar
Sets the magnitude of the vector (the radius value).
setRawSpeed(double) - Method in class me.autobot.lib.robot.motors.Servo
Sets the speed of the servo to a number between 0 and 180.
setRho(double) - Method in class me.autobot.lib.math.coordinates.Spherical
Sets the value of rho.
setSensorValue(int, double) - Method in class me.autobot.lib.robot.Sensor
Set a specific sensor value.
setSensorValues(double...) - Method in class me.autobot.lib.robot.Sensor
Set the sensor values.
setSpeed(double) - Method in class me.autobot.lib.robot.Motor
Sets the speed of the motor.
setSpeed(double) - Method in class me.autobot.lib.robot.motors.HoverboardWheel
Sets the speed of the motor.
setSpeed(double) - Method in class me.autobot.lib.robot.motors.Servo
Sets the speed of the servo to a number between -1 and 1.
setStartPosition(Vector2d) - Method in class me.autobot.lib.odometry.SimpleOdometry2d
Sets the starting position of the odometry object.
setStartRotation(Rotation2d) - Method in class me.autobot.lib.odometry.SimpleOdometry2d
Sets the starting rotation of the odometry object.
setTheta(double) - Method in class me.autobot.lib.math.rotation.Rotation2d
Sets the angle in radians.
setTheta(double) - Method in class me.autobot.lib.math.rotation.Rotation3d
Sets the xy angle (theta) in radians.
setTheta(Rotation2d) - Method in class me.autobot.lib.math.coordinates.Polar
Sets the angle of the vector.
setTopicData(String, int[]) - Method in class me.autobot.lib.server.topica.Topica
Sets the data of a topic.
setup() - Method in class me.autobot.code.examples.ServoBot
Creates a new servo at address 0x12, then lets the i2c device know that the servo we're looking for is the one attached to the gpio pin 8.
setup() - Method in class me.autobot.code.me.LidarBot
Sets up the robot.
setup() - Method in class me.autobot.code.me.LogitechTest
Sets up the robot.
setup() - Method in class me.autobot.code.me.MainBot
Sets up the robot.
setup() - Method in class me.autobot.code.me.NNBot
Sets up the robot.
setup() - Method in class me.autobot.code.me.TestBot
 
setup() - Method in class me.autobot.lib.robot.Robot
Setup method.
setupReadThread() - Method in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
Creates a new reading thread that reads data from the I2C device.
setX(double) - Method in class me.autobot.lib.math.coordinates.Vector2d
Sets the x coordinate of the vector.
setX(double) - Method in class me.autobot.lib.math.coordinates.Vector3d
Sets the x component of the vector.
setY(double) - Method in class me.autobot.lib.math.coordinates.Vector2d
Sets the y coordinate of the vector.
setY(double) - Method in class me.autobot.lib.math.coordinates.Vector3d
Sets the y component of the vector.
setZ(double) - Method in class me.autobot.lib.math.coordinates.Vector3d
Sets the z component of the vector.
SHORT_TYPE - Static variable in class me.autobot.lib.server.topica.Topica
Type code denoting a short.
ShortSupplier - Interface in me.autobot.lib.tools.suppliers
 
signedDistance(Vector2d) - Method in class me.autobot.lib.math.coordinates.Box2d
Returns the signed distance between the box and the given point.
SimpleMap2d - Class in me.autobot.lib.math.map
A simple 2D map that can be used to detect obstacles.
SimpleMap2d() - Constructor for class me.autobot.lib.math.map.SimpleMap2d
A simple 2D map that can be used to detect obstacles.
SimpleOdometry2d - Class in me.autobot.lib.odometry
A simple 2D odometry object that can be used to track the position and rotation of an object.
SimpleOdometry2d() - Constructor for class me.autobot.lib.odometry.SimpleOdometry2d
Creates an empty odometry object with a position and rotation of 0.
SimpleOdometry2d(Vector2d, Rotation2d) - Constructor for class me.autobot.lib.odometry.SimpleOdometry2d
Creates an odometry object with a given position and rotation.
simulatable - Static variable in annotation interface me.autobot.lib.robot.PlayableRobot
If the robot is able to be used in the simulator or not.
Simulate - Class in me.autobot.simulation
A class for simulating the robot.
Simulate() - Constructor for class me.autobot.simulation.Simulate
 
simulateValues(double[]) - Method in class me.autobot.lib.robot.Sensor
Plugs in fake sensor values for simulation.
sin() - Method in class me.autobot.lib.math.coordinates.Polar
Returns the y-component of the vector, calculated as r * sin(theta).
sin() - Method in class me.autobot.lib.math.rotation.Rotation2d
Returns the sine of the angle.
sin() - Method in class me.autobot.lib.math.rotation.Rotation3d
Returns the sine multiplied of the angles.
sin(double) - Static method in class me.autobot.lib.math.Mathf
Returns the sine of the given angle, but without any floating point errors.
sinPhi() - Method in class me.autobot.lib.math.coordinates.Spherical
Returns the sine of the phi angle.
sinTheta() - Method in class me.autobot.lib.math.coordinates.Spherical
Returns the sine of the theta angle.
size() - Method in class me.autobot.lib.math.linalg.Vector
Gets the size of the vector.
slice(byte[], int, int) - Static method in class me.autobot.lib.math.Mathf
Slices a byte array.
slice(int[], int, int) - Static method in class me.autobot.lib.math.Mathf
Slices an int array.
solve(double[]) - Method in class me.autobot.lib.math.linalg.LUDecomposition
Solves the system of linear equations Ax = b
Speaker - Enum constant in enum class me.autobot.lib.server.WSClient.ClientType
Connection is supposed to only be used for sending data.
Spherical - Class in me.autobot.lib.math.coordinates
A class representing a 3D spherical coordinate system.
Spherical(double, Rotation2d, Rotation2d) - Constructor for class me.autobot.lib.math.coordinates.Spherical
Create a new Spherical with the given radius and angles in radians.
Spherical(double, Rotation3d) - Constructor for class me.autobot.lib.math.coordinates.Spherical
Create a new Spherical with a radius of 0 and an angle of 0 (theta and phi).
start() - Static method in class me.autobot.lib.robot.Robot
Starts all the robots (adds them to the editable list available for selection).
start() - Static method in class me.autobot.lib.server.Server
Starts the server on ports (ws) 8080 and (rest) 8081.
start() - Static method in class me.autobot.lib.server.topica.Topica
Starts a new Topica server on the default port or the custom port.
start() - Static method in class me.autobot.lib.telemetry.SysoutMiddleman
Starts the middleman.
start(int, int) - Static method in class me.autobot.lib.server.Server
Starts the server on the specified ports.
start(Robot) - Static method in class me.autobot.lib.robot.Robot
Starts a singular robot.
startRobot(int) - Static method in class me.autobot.lib.robot.Robot
Starts a robot by index.
startSimulation() - Static method in class me.autobot.lib.robot.Robot
Starts the simulation for all robots.
stop() - Method in class me.autobot.code.me.LidarBot
Stops the robot.
stop() - Method in class me.autobot.code.me.LogitechTest
On the robot stop.
stop() - Method in class me.autobot.code.me.MainBot
 
stop() - Method in class me.autobot.code.me.NNBot
Stops the robot.
stop() - Method in class me.autobot.code.mechanisms.LIDAR
 
stop() - Method in class me.autobot.lib.robot.Motor
Stops the motor (sets speed to 0).
stop() - Method in class me.autobot.lib.robot.motors.Servo
Stops the servo via setting the speed to 90 (halfway point).
stop() - Method in class me.autobot.lib.robot.Robot
Stop method.
stop() - Method in class me.autobot.lib.systems.mechanisms.Mechanism
Stops the mechanism.
stop_all() - Static method in class me.autobot.lib.systems.mechanisms.Mechanism
Runs the stop method on all mechanisms.
stopLoop() - Method in class me.autobot.lib.robot.Robot
Cancels the loop timer.
STRING_TYPE - Static variable in class me.autobot.lib.server.topica.Topica
Type code denoting a string.
StringSupplier - Interface in me.autobot.lib.tools.suppliers
 
submatrix(int, int) - Method in class me.autobot.lib.math.linalg.Matrix
Gets the submatrix of the matrix
subscribe(WSClient) - Method in class me.autobot.lib.robot.Sensor
Subscribes a client to the sensor to recieve updates.
subscribeSensor(Sensor, int...) - Method in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
Subscribes the given sensor to the given sensor pins.
subscribeSensor(Sensor, int...) - Method in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
Subscribes the given sensor to the given sensor pins.
subscribeToPin(int) - Method in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
Sends a request to subscribe to a specific pin.
subscribeToPin(int) - Method in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
Sends a request to subscribe to a specific pin.
subscribeToStatus(WSClient, boolean) - Static method in class me.autobot.lib.robot.Robot
Subscribes a WSClient to the status of the robot.
subscribeToTelemetry(WSClient, boolean) - Static method in class me.autobot.lib.robot.Robot
Deprecated.
subscribeToTopic(String, int[]) - Method in class me.autobot.lib.server.topica.Topica
Subscribes the websocket to a topic.
subtract(Vector2d) - Method in class me.autobot.lib.math.coordinates.Vector2d
Subtracts two vectors.
subtract(Vector3d) - Method in class me.autobot.lib.math.coordinates.Vector3d
Subtracts another vector from this vector (and returns a new vector).
subtract(Matrix) - Method in class me.autobot.lib.math.linalg.Matrix
Subtracts the matrix from another matrix
subtract(Matrix) - Method in class me.autobot.lib.math.linalg.Vector
Subtracts the given matrix from this vector.
subtract(Vector) - Method in class me.autobot.lib.math.linalg.Vector
Subtracts the given vector from this vector.
swap(int, int) - Method in class me.autobot.lib.math.linalg.Vector
Swaps the values at the given indices.
swapRows(int, int) - Method in class me.autobot.lib.math.linalg.Matrix
Swaps two rows in this matrix
switchDevicesToSimulation() - Method in class me.autobot.lib.robot.Robot
Switches all sensors to simulation mode.
Sysout(PrintStream, int) - Constructor for class me.autobot.lib.telemetry.SysoutMiddleman.Sysout
Creates a new Sysout object.
SysoutMiddleman - Class in me.autobot.lib.telemetry
Captures all messages sent to System.out and System.err and sends them to the telemetry server.
SysoutMiddleman() - Constructor for class me.autobot.lib.telemetry.SysoutMiddleman
 
SysoutMiddleman.Message - Class in me.autobot.lib.telemetry
Message type for a message sent to System.out // System.err.
SysoutMiddleman.Sysout - Class in me.autobot.lib.telemetry
Sysout messages.
SysoutMiddleman.Sysout.Listener - Interface in me.autobot.lib.telemetry
Listener for messages.

T

tan() - Method in class me.autobot.lib.math.coordinates.Polar
Returns the tangent of the vector, calculated as sin(theta) / cos(theta).
tan() - Method in class me.autobot.lib.math.rotation.Rotation2d
Returns the tangent of the angle.
tan() - Method in class me.autobot.lib.math.rotation.Rotation3d
Returns the tangent multiplied of the angles.
TankDrive - Class in me.autobot.lib.robot.drivebase
A drivebase that uses tank drive
TankDrive(Motor, Motor, Motor, Motor) - Constructor for class me.autobot.lib.robot.drivebase.TankDrive
Creates a new TankDrive object.
TestBot - Class in me.autobot.code.me
Bot for testing.
TestBot() - Constructor for class me.autobot.code.me.TestBot
 
THIS_DEVICE_ADDRESS - Static variable in class me.autobot.lib.hardware.i2c.I2CConnection
The address of this device, what the signature will be so I2C devices will know to reply to the pi! (I mean they will, but depending on expansion etc it'll be good to have for now...)
THIS_DEVICE_ADDRESS - Static variable in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
The address of this device, what the signature will be so I2C devices will know to reply to the pi! (I mean they will, but depending on expansion etc it'll be good to have for now...)
toInt2() - Method in class me.autobot.lib.math.coordinates.Vector2d
Converts the vector to a 2D integer vector.
toMatrix() - Method in class me.autobot.lib.math.linalg.Vector
Converts the vector to a matrix.
TOP_LEFT_MOTOR - Static variable in class me.autobot.code.me.MainBot.Config
Top left motor ID
TOP_LEFT_MOTOR_DIRECTION - Static variable in class me.autobot.code.me.MainBot.Config
Top left motor direction
TOP_RIGHT_MOTOR - Static variable in class me.autobot.code.me.MainBot.Config
Top right motor ID
TOP_RIGHT_MOTOR_DIRECTION - Static variable in class me.autobot.code.me.MainBot.Config
Top right motor direction
topic(String, byte) - Static method in class me.autobot.lib.server.topica.Topica
Gets or creates a topic if it does not exist.
Topic(byte, byte[]) - Constructor for class me.autobot.lib.server.topica.Topica.Database.Topic
Creates a dummy topic that is not added to the Database instance.
Topic(String, boolean) - Constructor for class me.autobot.lib.server.topica.Topica.Database.Topic
Creates a new topic from a boolean.
Topic(String, byte, byte[]) - Constructor for class me.autobot.lib.server.topica.Topica.Database.Topic
Creates a new topic.
Topic(String, double) - Constructor for class me.autobot.lib.server.topica.Topica.Database.Topic
Creates a new topic from a double.
Topic(String, float) - Constructor for class me.autobot.lib.server.topica.Topica.Database.Topic
Creates a new topic from a float.
Topic(String, int) - Constructor for class me.autobot.lib.server.topica.Topica.Database.Topic
Creates a new topic from a int.
Topic(String, long) - Constructor for class me.autobot.lib.server.topica.Topica.Database.Topic
Creates a new topic from a long.
Topic(String, String) - Constructor for class me.autobot.lib.server.topica.Topica.Database.Topic
Creates a new topic from a string.
Topic(String, Topica.Database.EncodeableTopic) - Constructor for class me.autobot.lib.server.topica.Topica.Database.Topic
Creates a new topic from a custom encodeable topic.
Topica - Class in me.autobot.lib.server.topica
Topica, a topic based server that
Topica(NanoHTTPD.IHTTPSession) - Constructor for class me.autobot.lib.server.topica.Topica
Creates a new Topica WebSocket connection.
Topica.Database - Class in me.autobot.lib.server.topica
Database for the Topica server, containing all of the different topics.
Topica.Database.EncodeableTopic - Interface in me.autobot.lib.server.topica
An interface allowing for custom encodeable topics.
Topica.Database.EncodeableTopic.Empty - Class in me.autobot.lib.server.topica
Empty class for when an encodable is not implemented.
Topica.Database.Topic - Class in me.autobot.lib.server.topica
A topic of the database.
Topica.Database.Topic.UpdateCallback - Interface in me.autobot.lib.server.topica
Callback class for when a topic is updated.
Topica.Server - Class in me.autobot.lib.server.topica
The server for the Topica protocol.
toPolar() - Method in class me.autobot.lib.math.coordinates.Vector3d
Converts the vector to a polar vector.
toSpherical() - Method in class me.autobot.lib.math.coordinates.Vector3d
Converts the vector to a spherical vector.
toString() - Method in class me.autobot.lib.math.coordinates.Int2
Converts this Int2 object to a string.
toString() - Method in class me.autobot.lib.math.coordinates.Vector2d
Gets the string representation of the vector.
toString() - Method in class me.autobot.lib.math.coordinates.Vector3d
Returns a string representation of the vector.
toString() - Method in class me.autobot.lib.math.linalg.Matrix
Gets the string representation of the matrix
toString() - Method in class me.autobot.lib.math.linalg.Vector
Returns the vector as a string.
toString(int) - Method in class me.autobot.lib.math.linalg.Matrix
Gets the string representation of the matrix
toVector() - Method in class me.autobot.lib.math.coordinates.Polar
Converts the Polar object to a Vector2d object.
toVector() - Method in class me.autobot.lib.math.coordinates.Spherical
Converts the Spherical to a Vector3d.
toVector() - Method in class me.autobot.lib.math.rotation.Rotation2d
Converts the angle to a vector (unit vector).
toVector2d() - Method in class me.autobot.lib.math.coordinates.Int2
Converts this Int2 object to a Vector2d object.
toVector2d() - Method in class me.autobot.lib.math.coordinates.Spherical
Flattens and converts the Spherical to a Vector2d.
toVector3d() - Method in class me.autobot.lib.math.rotation.Rotation2d
Converts the angle to a 3D vector (unit vector).
toXY() - Method in class me.autobot.lib.math.coordinates.Vector3d
Converts the vector to a 2D vector (x, y).
toXZ() - Method in class me.autobot.lib.math.coordinates.Vector3d
Converts the vector to a 2D vector (x, z).
toYZ() - Method in class me.autobot.lib.math.coordinates.Vector3d
Converts the vector to a 2D vector (y, z).
transpose() - Method in class me.autobot.lib.math.linalg.Matrix
Transposes the matrix
twoPolygonsIntersecting(Vector2d[], Vector2d[]) - Static method in class me.autobot.lib.math.objects.Geometry
Checks if two polygons are intersecting
type() - Element in annotation interface me.autobot.lib.server.WSByteRoute
The type of the client.

U

Unit - Class in me.autobot.lib.math
A class to represent a unit of measurement.
Unit(double) - Constructor for class me.autobot.lib.math.Unit
Creates a unit with the value in meters.
Unit(double, Unit.Type) - Constructor for class me.autobot.lib.math.Unit
Creates a unit with the value in the given unit.
Unit.Type - Enum Class in me.autobot.lib.math
The type of unit.
unsubscribe(WSClient) - Method in class me.autobot.lib.robot.Sensor
Unsubscribes a client from the sensor.
update() - Method in class me.autobot.code.mechanisms.LIDAR
Updates the LIDAR mechanism.
update() - Static method in class me.autobot.lib.systems.actions.Action
Updates all actions.
update() - Method in class me.autobot.lib.systems.mechanisms.Mechanism
Updates the mechanism.
update(boolean) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Updates the data of the topic.
update(byte[]) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Updates the data of the topic.
update(double) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Updates the data of the topic.
update(float) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Updates the data of the topic.
update(int) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Updates the data of the topic.
update(long) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Updates the data of the topic.
update(String) - Method in class me.autobot.lib.server.topica.Topica.Database.Topic
Updates the data of the topic.
update(Vector) - Method in class me.autobot.lib.math.models.KalmanFilter
Updates the state of the system given the measurement input.
update_all() - Static method in class me.autobot.lib.systems.mechanisms.Mechanism
Runs the update method on all mechanisms.
usingLinux() - Static method in class me.autobot.lib.os.OSDetector
Returns true if the user is using a Linux OS.
usingMacOS() - Static method in class me.autobot.lib.os.OSDetector
Returns true if the user is using a Mac OS.
usingWindows() - Static method in class me.autobot.lib.os.OSDetector
Returns true if the user is using a Windows OS.

V

valueOf(String) - Static method in enum class me.autobot.lib.math.Unit.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.autobot.lib.server.WSClient.ClientType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class me.autobot.lib.math.Unit.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.autobot.lib.server.WSClient.ClientType
Returns an array containing the constants of this enum class, in the order they are declared.
Vector - Class in me.autobot.lib.math.linalg
Creates a new vector with the given values.
Vector(double[]) - Constructor for class me.autobot.lib.math.linalg.Vector
Creates a new vector with the given values.
Vector(int) - Constructor for class me.autobot.lib.math.linalg.Vector
Creates a new vector with the given size.
Vector2d - Class in me.autobot.lib.math.coordinates
A class representing a 2D vector.
Vector2d(double, double) - Constructor for class me.autobot.lib.math.coordinates.Vector2d
Creates a new vector from cartesian coordinates.
Vector3d - Class in me.autobot.lib.math.coordinates
A class representing a 3D vector.
Vector3d(double, double, double) - Constructor for class me.autobot.lib.math.coordinates.Vector3d
Creates a new 3D vector object.

W

write(byte[]) - Method in class me.autobot.lib.hardware.Connection
Writes the given data to the connection.
write(byte[]) - Method in class me.autobot.lib.hardware.i2c.I2CConnection
Writes data to the I2C device.
write(byte[]) - Method in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
Writes the given data to the serial port.
write(byte[]) - Method in class me.autobot.lib.hardware.serial.SerialConnection
Writes the given data to the serial port.
write(int) - Method in class me.autobot.lib.telemetry.SysoutMiddleman.Sysout
Writes a byte to the output stream.
write(int[]) - Method in class me.autobot.lib.hardware.serial.SerialConnection
Writes the given data to the serial port.
writeToPin(int, byte[]) - Method in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
Writes a byte list to a specific pin.
writeToPin(int, byte[]) - Method in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
Writes a byte list to a specific pin.
writeToPin(int, float) - Method in class me.autobot.lib.hardware.i2c.SensorHubI2CConnection
Writes a value to a specific pin.
writeToPin(int, float) - Method in class me.autobot.lib.hardware.serial.SensorHubSerialConnection
Writes a value to a specific pin.
writeToPWMPin(int, byte[]) - Method in class me.autobot.lib.robot.motors.HoverboardWheel
Writes a byte list to a specific pin.
writeToPWMPin(int, float) - Method in class me.autobot.lib.robot.motors.HoverboardWheel
Writes a float to a specific pin.
WSByteRoute - Annotation Interface in me.autobot.lib.server
The annotation for websocket client routes.
WSClient - Class in me.autobot.lib.server
A websocket client class that is used to communicate with the client.
WSClient(NanoHTTPD.IHTTPSession) - Constructor for class me.autobot.lib.server.WSClient
Creates a new WSClient with a handshake.
WSClient.ClientType - Enum Class in me.autobot.lib.server
ClientType is an enum representing the type of client that is connected to the server.
WSClientRoute - Class in me.autobot.lib.server
A class representing a route for the WSClient.
WSClientRoute() - Constructor for class me.autobot.lib.server.WSClientRoute
Creates a new WSClientRoute and adds it to the WSClient.
WSLidarSensorConnection() - Constructor for class me.autobot.code.mechanisms.LIDAR.WSLidarSensorConnection
Creates a new WSLidarSensorConnection.
WSSensorConnection - Class in me.autobot.lib.hardware.ws
A sensor connection to a websocket.
WSSensorConnection() - Constructor for class me.autobot.lib.hardware.ws.WSSensorConnection
Creates a new websocket sensor connection.
WSServer - Class in me.autobot.lib.server
A websocket server for the robot.
WSServer(int) - Constructor for class me.autobot.lib.server.WSServer
Starts the WSServer on the given port.
wsstart() - Static method in class me.autobot.lib.server.WSServer
Starts the WSServer on port 8080.

X

x - Variable in class me.autobot.lib.controls.NintendoJoycon
The x button on the right joycon.
x - Variable in class me.autobot.lib.math.coordinates.Int2
The x coordinate value of the Int2 object.

Y

y - Variable in class me.autobot.lib.controls.NintendoJoycon
The y button on the right joycon.
y - Variable in class me.autobot.lib.math.coordinates.Int2
The y coordinate value of the Int2 object.
YARD - Enum constant in enum class me.autobot.lib.math.Unit.Type
A yard is 0.9144 meters.

Z

zero() - Static method in class me.autobot.lib.math.coordinates.Int2
Creates a blank Int2 object with the values of 0, 0.
zero() - Static method in class me.autobot.lib.math.coordinates.Vector2d
The zero vector.
zero() - Static method in class me.autobot.lib.math.coordinates.Vector3d
Creates a 3D zero vector
zero() - Static method in class me.autobot.lib.math.rotation.Rotation2d
Create a new Rotation2d with an angle of 0.
zero() - Static method in class me.autobot.lib.math.Unit
The zero unit.
zl - Variable in class me.autobot.lib.controls.NintendoJoycon
The zl button on the left joycon.
zr - Variable in class me.autobot.lib.controls.NintendoJoycon
The zr button on the right joycon.
A B C D E F G H I K L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values