mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -25,7 +25,6 @@ constexpr float Gyro::kDefaultVoltsPerDegreePerSecond;
|
||||
*/
|
||||
void Gyro::InitGyro(int channel)
|
||||
{
|
||||
m_table = nullptr;
|
||||
SetPIDSourceParameter(kAngle);
|
||||
|
||||
char buffer[50];
|
||||
@@ -55,13 +54,6 @@ void Gyro::Reset()
|
||||
impl->Reset();
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete (free) the accumulator and the analog components used for the gyro.
|
||||
*/
|
||||
Gyro::~Gyro()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the actual angle in degrees that the robot is currently facing.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user