Memory

open class Memory

Represents in-memory storage for the robot.

Properties

Link copied to clipboard
Static array of hardware errors stored via hardware name.
Link copied to clipboard
The last known player Alliance.
Link copied to clipboard
open var lastKnownPosition: Pose2d
The last known position of the robot from odometry.
Link copied to clipboard
Components that are unusable and should not have their errors logged.

Functions

Link copied to clipboard
open fun clear()
Clear all volatile memory related to the robot.
Link copied to clipboard
open fun clearVolatile()
Clear the volatile HashMap.
Link copied to clipboard
open fun getVolatile(key: String): Any
Get a volatile value from memory stored by key in setVolatile.
Link copied to clipboard
open fun setVolatile(key: String, value: Any)
Set a volatile value in memory stored by key.