mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Fixed comment problem in GyroMecanum cpp and made other small fixes to sample
programs. Change-Id: Id6ee60085fa369ce3eb2e8261c0352b24886e2ae
This commit is contained in:
@@ -20,7 +20,7 @@ class Robot: public SampleRobot {
|
||||
const int rightRearMotorChannel = 2;
|
||||
|
||||
double angleSetpoint = 0.0;
|
||||
const double pGain = .005; //propotional turning constant
|
||||
const double pGain = .006; //propotional turning constant
|
||||
|
||||
//gyro calibration constant, may need to be adjusted
|
||||
//gyro value of 360 is set to correspond to one full revolution
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
* don't. Unless you know what you are doing, complex code will be much more difficult under
|
||||
* this system. Use IterativeRobot or Command-Based instead if you're new.
|
||||
*/
|
||||
*/
|
||||
class Robot: public SampleRobot {
|
||||
Joystick *joystick;
|
||||
RobotDrive *myRobot;
|
||||
|
||||
Reference in New Issue
Block a user