Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
Deploying to gh-pages from @ 10238b6 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel1464 committed Jan 3, 2024
1 parent 2c79dfd commit 330ffa5
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h2 class="">Functions</h2>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":dokkaHtml/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../frc.chargers.hardware.subsystems.differentialdrive/-differential-drivetrain/index.html">DifferentialDrivetrain</a><span class="token punctuation">.</span><a href="rotate-action.html"><span class="token function">rotateAction</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">angle<span class="token operator">: </span><span data-unresolved-link="com.batterystaple.kmeasure.quantities/Angle///PointingToDeclaration/">Angle</span><span class="token punctuation">, </span></span><span class="parameter ">pidConstants<span class="token operator">: </span><a href="../frc.chargers.controls.pid/-p-i-d-constants/index.html">PIDConstants</a><span class="token punctuation">, </span></span><span class="parameter ">precision<span class="token operator">: </span><a href="../frc.chargers.utils/-precision/index.html">Precision</a><span class="token operator">&lt;</span><span class="token keyword"></span><span data-unresolved-link="com.batterystaple.kmeasure.dimensions/AngleDimension///PointingToDeclaration/">AngleDimension</span><span class="token operator">&gt;</span><span class="token operator"> = </span>Precision.AllowOvershoot<span class="token punctuation">, </span></span><span class="parameter ">maxSteeringPower<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator"> = </span>DEFAULT_MAX_STEERING_POWER</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="edu.wpi.first.wpilibj2.command/Command///PointingToDeclaration/">Command</span></div><div class="brief "><p class="paragraph">Adds a command to the command builder turning the robot to a specified <a href="rotate-action.html">angle</a> (with a specified <a href="rotate-action.html">precision</a>) using PID and an external <a href="../frc.chargers.hardware.sensors.imu.gyroscopes/-heading-provider/index.html">HeadingProvider</a>.</p></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../frc.chargers.hardware.subsystems.differentialdrive/-encoder-differential-drivetrain/index.html">EncoderDifferentialDrivetrain</a><span class="token punctuation">.</span><a href="rotate-action.html"><span class="token function">rotateAction</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">angle<span class="token operator">: </span><span data-unresolved-link="com.batterystaple.kmeasure.quantities/Angle///PointingToDeclaration/">Angle</span><span class="token punctuation">, </span></span><span class="parameter ">pidConstants<span class="token operator">: </span><a href="../frc.chargers.controls.pid/-p-i-d-constants/index.html">PIDConstants</a><span class="token operator"> = </span>controlScheme.robotRotationPID<span class="token punctuation">, </span></span><span class="parameter ">precision<span class="token operator">: </span><a href="../frc.chargers.utils/-precision/index.html">Precision</a><span class="token operator">&lt;</span><span class="token keyword"></span><span data-unresolved-link="com.batterystaple.kmeasure.dimensions/AngleDimension///PointingToDeclaration/">AngleDimension</span><span class="token operator">&gt;</span><span class="token operator"> = </span>Precision.AllowOvershoot<span class="token punctuation">, </span></span><span class="parameter ">maxSteeringPower<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator"> = </span>DEFAULT_MAX_STEERING_POWER</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="edu.wpi.first.wpilibj2.command/Command///PointingToDeclaration/">Command</span></div><div class="brief "><p class="paragraph">Adds a command to the command builder turning the robot to a specified <a href="rotate-action.html">angle</a> (with a specified <a href="rotate-action.html">precision</a>) using PID and the <a href="../frc.chargers.hardware.subsystems.differentialdrive/-encoder-differential-drivetrain/index.html">EncoderDifferentialDrivetrain</a>'s best available <a href="../frc.chargers.hardware.sensors.imu.gyroscopes/-heading-provider/index.html">HeadingProvider</a>.</p></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../frc.chargers.hardware.subsystems.swervedrive/-encoder-holonomic-drivetrain/index.html">EncoderHolonomicDrivetrain</a><span class="token punctuation">.</span><a href="rotate-action.html"><span class="token function">rotateAction</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">angle<span class="token operator">: </span><span data-unresolved-link="com.batterystaple.kmeasure.quantities/Angle///PointingToDeclaration/">Angle</span><span class="token punctuation">, </span></span><span class="parameter ">pidConstants<span class="token operator">: </span><a href="../frc.chargers.controls.pid/-p-i-d-constants/index.html">PIDConstants</a><span class="token operator"> = </span>controlData.robotRotationPID<span class="token punctuation">, </span></span><span class="parameter ">precision<span class="token operator">: </span><a href="../frc.chargers.utils/-precision/index.html">Precision</a><span class="token operator">&lt;</span><span class="token keyword"></span><span data-unresolved-link="com.batterystaple.kmeasure.dimensions/AngleDimension///PointingToDeclaration/">AngleDimension</span><span class="token operator">&gt;</span><span class="token operator"> = </span>Precision.AllowOvershoot<span class="token punctuation">, </span></span><span class="parameter ">maxSteeringPower<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator"> = </span>DEFAULT_MAX_STEERING_POWER</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="edu.wpi.first.wpilibj2.command/Command///PointingToDeclaration/">Command</span></div><div class="brief "><p class="paragraph">Adds a command to the command builder turning a swerve drive robot to a specified <a href="rotate-action.html">angle</a> (with a specified <a href="rotate-action.html">precision</a>) using PID and the <a href="../frc.chargers.hardware.subsystems.swervedrive/-encoder-holonomic-drivetrain/index.html">EncoderHolonomicDrivetrain</a>'s best available <a href="../frc.chargers.hardware.sensors.imu.gyroscopes/-heading-provider/index.html">HeadingProvider</a>.</p></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":dokkaHtml/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../frc.chargers.hardware.subsystems.differentialdrive/-differential-drivetrain/index.html">DifferentialDrivetrain</a><span class="token punctuation">.</span><a href="rotate-action.html"><span class="token function">rotateAction</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">angle<span class="token operator">: </span><span data-unresolved-link="com.batterystaple.kmeasure.quantities/Angle///PointingToDeclaration/">Angle</span><span class="token punctuation">, </span></span><span class="parameter ">pidConstants<span class="token operator">: </span><a href="../frc.chargers.controls.pid/-p-i-d-constants/index.html">PIDConstants</a><span class="token punctuation">, </span></span><span class="parameter ">precision<span class="token operator">: </span><a href="../frc.chargers.utils/-precision/index.html">Precision</a><span class="token operator">&lt;</span><span class="token keyword"></span><span data-unresolved-link="com.batterystaple.kmeasure.dimensions/AngleDimension///PointingToDeclaration/">AngleDimension</span><span class="token operator">&gt;</span><span class="token operator"> = </span>Precision.AllowOvershoot<span class="token punctuation">, </span></span><span class="parameter ">maxSteeringPower<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator"> = </span>DEFAULT_MAX_STEERING_POWER</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="edu.wpi.first.wpilibj2.command/Command///PointingToDeclaration/">Command</span></div><div class="brief "><p class="paragraph">Adds a command to the command builder turning the robot to a specified <a href="rotate-action.html">angle</a> (with a specified <a href="rotate-action.html">precision</a>) using PID and an external <a href="../frc.chargers.hardware.sensors.imu.gyroscopes/-heading-provider/index.html">HeadingProvider</a>.</p></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../frc.chargers.hardware.subsystems.differentialdrive/-encoder-differential-drivetrain/index.html">EncoderDifferentialDrivetrain</a><span class="token punctuation">.</span><a href="rotate-action.html"><span class="token function">rotateAction</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">angle<span class="token operator">: </span><span data-unresolved-link="com.batterystaple.kmeasure.quantities/Angle///PointingToDeclaration/">Angle</span><span class="token punctuation">, </span></span><span class="parameter ">pidConstants<span class="token operator">: </span><a href="../frc.chargers.controls.pid/-p-i-d-constants/index.html">PIDConstants</a><span class="token operator"> = </span>controlData.robotRotationPID<span class="token punctuation">, </span></span><span class="parameter ">precision<span class="token operator">: </span><a href="../frc.chargers.utils/-precision/index.html">Precision</a><span class="token operator">&lt;</span><span class="token keyword"></span><span data-unresolved-link="com.batterystaple.kmeasure.dimensions/AngleDimension///PointingToDeclaration/">AngleDimension</span><span class="token operator">&gt;</span><span class="token operator"> = </span>Precision.AllowOvershoot<span class="token punctuation">, </span></span><span class="parameter ">maxSteeringPower<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator"> = </span>DEFAULT_MAX_STEERING_POWER</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="edu.wpi.first.wpilibj2.command/Command///PointingToDeclaration/">Command</span></div><div class="brief "><p class="paragraph">Adds a command to the command builder turning the robot to a specified <a href="rotate-action.html">angle</a> (with a specified <a href="rotate-action.html">precision</a>) using PID and the <a href="../frc.chargers.hardware.subsystems.differentialdrive/-encoder-differential-drivetrain/index.html">EncoderDifferentialDrivetrain</a>'s best available <a href="../frc.chargers.hardware.sensors.imu.gyroscopes/-heading-provider/index.html">HeadingProvider</a>.</p></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../frc.chargers.hardware.subsystems.swervedrive/-encoder-holonomic-drivetrain/index.html">EncoderHolonomicDrivetrain</a><span class="token punctuation">.</span><a href="rotate-action.html"><span class="token function">rotateAction</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">angle<span class="token operator">: </span><span data-unresolved-link="com.batterystaple.kmeasure.quantities/Angle///PointingToDeclaration/">Angle</span><span class="token punctuation">, </span></span><span class="parameter ">pidConstants<span class="token operator">: </span><a href="../frc.chargers.controls.pid/-p-i-d-constants/index.html">PIDConstants</a><span class="token operator"> = </span>controlData.robotRotationPID<span class="token punctuation">, </span></span><span class="parameter ">precision<span class="token operator">: </span><a href="../frc.chargers.utils/-precision/index.html">Precision</a><span class="token operator">&lt;</span><span class="token keyword"></span><span data-unresolved-link="com.batterystaple.kmeasure.dimensions/AngleDimension///PointingToDeclaration/">AngleDimension</span><span class="token operator">&gt;</span><span class="token operator"> = </span>Precision.AllowOvershoot<span class="token punctuation">, </span></span><span class="parameter ">maxSteeringPower<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator"> = </span>DEFAULT_MAX_STEERING_POWER</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="edu.wpi.first.wpilibj2.command/Command///PointingToDeclaration/">Command</span></div><div class="brief "><p class="paragraph">Adds a command to the command builder turning a swerve drive robot to a specified <a href="rotate-action.html">angle</a> (with a specified <a href="rotate-action.html">precision</a>) using PID and the <a href="../frc.chargers.hardware.subsystems.swervedrive/-encoder-holonomic-drivetrain/index.html">EncoderHolonomicDrivetrain</a>'s best available <a href="../frc.chargers.hardware.sensors.imu.gyroscopes/-heading-provider/index.html">HeadingProvider</a>.</p></div></div></div>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit 330ffa5

Please sign in to comment.