|
JSim 2026.06.01-p(1)
|
Public Member Functions | |
| RobotState (RobotID id, Pose2d robotPose, Translation2d[] frameVertices) | |
Public Attributes | |
| Pose2d | robotPose |
| final Translation2d[] | frameVertices |
| ChassisSpeeds | chassisSpeeds |
| final RobotID | id |
Mutable robot snapshot shared between the simulation facade and state manager.
|
inline |
Creates a robot state snapshot.
| id | robot identifier |
| robotPose | initial pose |
| frameVertices | frame perimeter vertices |
| ChassisSpeeds jsim.api.RobotState.chassisSpeeds |
Current commanded or measured chassis speeds.
| final Translation2d [] jsim.api.RobotState.frameVertices |
Robot frame perimeter vertices.
| final RobotID jsim.api.RobotState.id |
Robot identifier.
| Pose2d jsim.api.RobotState.robotPose |
Current robot pose on the field.