diff --git a/-charger-lib/frc.chargerlibexternal.frc6328/-pose-estimator/-pose-estimator.html b/-charger-lib/frc.chargerlibexternal.frc6328/-mechanical-advantage-pose-estimator/-mechanical-advantage-pose-estimator.html similarity index 87% rename from -charger-lib/frc.chargerlibexternal.frc6328/-pose-estimator/-pose-estimator.html rename to -charger-lib/frc.chargerlibexternal.frc6328/-mechanical-advantage-pose-estimator/-mechanical-advantage-pose-estimator.html index 2e3be19f..95ecfd35 100644 --- a/-charger-lib/frc.chargerlibexternal.frc6328/-pose-estimator/-pose-estimator.html +++ b/-charger-lib/frc.chargerlibexternal.frc6328/-mechanical-advantage-pose-estimator/-mechanical-advantage-pose-estimator.html @@ -2,7 +2,7 @@ - PoseEstimator + MechanicalAdvantagePoseEstimator + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+

updateInputsLock

+
+

A ReentrantLock that automatically locks when the loggable inputs are updated.

+
+ +
+
+ + diff --git a/-charger-lib/frc.chargers.advantagekitextensions/-loggable-inputs-provider/value.html b/-charger-lib/frc.chargers.advantagekitextensions/-loggable-inputs-provider/value.html index 8527d6e7..beb06cd5 100644 --- a/-charger-lib/frc.chargers.advantagekitextensions/-loggable-inputs-provider/value.html +++ b/-charger-lib/frc.chargers.advantagekitextensions/-loggable-inputs-provider/value.html @@ -54,12 +54,12 @@
-
+

value

-
fun <T : AdvantageKitLoggable<T>> value(getValue: () -> T): ReadOnlyLoggableInput<T>
fun <T : AdvantageKitLoggable<T>> value(getValue: () -> T, setValue: (T) -> Unit): ReadWriteLoggableInput<T>
+
fun <T : AdvantageKitLoggable<T>> value(default: T, getValue: () -> T): ReadOnlyLoggableInput<T>
fun <T : AdvantageKitLoggable<T>> value(default: T, getValue: () -> T, setValue: (T) -> Unit): ReadWriteLoggableInput<T>

HeadingProvider

-
interface HeadingProvider

An interface representing a device capable of calculating the heading of a robot (the direction it is facing).

Inheritors

+
interface HeadingProvider

An interface representing a device capable of calculating the heading of a robot (the direction it is facing).

Inheritors

diff --git a/-charger-lib/frc.chargers.hardware.sensors.imu.gyroscopes/-zeroable-heading-provider/index.html b/-charger-lib/frc.chargers.hardware.sensors.imu.gyroscopes/-zeroable-heading-provider/index.html index ca894e63..39048c0c 100644 --- a/-charger-lib/frc.chargers.hardware.sensors.imu.gyroscopes/-zeroable-heading-provider/index.html +++ b/-charger-lib/frc.chargers.hardware.sensors.imu.gyroscopes/-zeroable-heading-provider/index.html @@ -58,7 +58,7 @@
diff --git a/-charger-lib/frc.chargers.hardware.sensors/-robot-pose-estimator/index.html b/-charger-lib/frc.chargers.hardware.sensors/-robot-pose-estimator/index.html deleted file mode 100644 index 3aeb7179..00000000 --- a/-charger-lib/frc.chargers.hardware.sensors/-robot-pose-estimator/index.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - RobotPoseEstimator - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
- -
-

RobotPoseEstimator

-

Represents a Robot pose Estimator, which always produces valid pose results.

This class should not be implemented by vision cameras or sensors, as their pose results are not always accurate, and thus the nullable parameters are necessary.

Inheritors

-
-
-
-
-
-

Properties

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
abstract val robotPose: UnitPose2d
-
-
-
-
-
-
-
-
-
- -
-
- - diff --git a/-charger-lib/frc.chargers.hardware.sensors/-robot-pose-monitor/add-pose-suppliers.html b/-charger-lib/frc.chargers.hardware.sensors/-robot-pose-monitor/add-pose-suppliers.html new file mode 100644 index 00000000..6d9cb073 --- /dev/null +++ b/-charger-lib/frc.chargers.hardware.sensors/-robot-pose-monitor/add-pose-suppliers.html @@ -0,0 +1,72 @@ + + + + + addPoseSuppliers + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+

addPoseSuppliers

+
+
abstract fun addPoseSuppliers(vararg visionSystems: VisionPoseSupplier)
+
+ +
+
+ + diff --git a/-charger-lib/frc.chargers.hardware.subsystems.swervedrive/-swerve-pose-monitor/heading.html b/-charger-lib/frc.chargers.hardware.sensors/-robot-pose-monitor/heading.html similarity index 75% rename from -charger-lib/frc.chargers.hardware.subsystems.swervedrive/-swerve-pose-monitor/heading.html rename to -charger-lib/frc.chargers.hardware.sensors/-robot-pose-monitor/heading.html index 00eb956a..d49492a8 100644 --- a/-charger-lib/frc.chargers.hardware.subsystems.swervedrive/-swerve-pose-monitor/heading.html +++ b/-charger-lib/frc.chargers.hardware.sensors/-robot-pose-monitor/heading.html @@ -54,12 +54,12 @@
-
- +
+

heading

-
val heading: Angle
+
open override val heading: Angle

The heading of the robot, with the clockwise direction as positive.

Note that this value may be any arbitrary angle, including angles outside the range of -360º-360º. This ensures that this value changes continuously, not jumping sharply from 359º to 0º. This also implies that all counterclockwise rotations will increase this value; otherwise, a (say) 2º rotation at position 359º would give 1º, a smaller value due to wrapping around.

-
+

SwerveEncoders

-
constructor(topLeft: PositionEncoder, topRight: PositionEncoder, bottomLeft: PositionEncoder, bottomRight: PositionEncoder)
+
constructor(topLeft: E, topRight: E, bottomLeft: E, bottomRight: E)
- +
- +