invert the driving
This commit is contained in:
parent
868f9f0a27
commit
ae402ff1ce
@ -67,8 +67,8 @@ private:
|
|||||||
SmartDashboard::PutData("Auto Modes", chooser);
|
SmartDashboard::PutData("Auto Modes", chooser);
|
||||||
shooter1.Enable();
|
shooter1.Enable();
|
||||||
shooter2.Enable();
|
shooter2.Enable();
|
||||||
//left_drive.SetInverted(true);
|
left_drive.SetInverted(true);
|
||||||
//right_drive.SetInverted(true);
|
right_drive.SetInverted(true);
|
||||||
//ramp.SetInverted(true);
|
//ramp.SetInverted(true);
|
||||||
inverting = false;
|
inverting = false;
|
||||||
pickupRunning = false;
|
pickupRunning = false;
|
||||||
@ -117,7 +117,7 @@ private:
|
|||||||
{
|
{
|
||||||
std::cout << "arm encoder position: " << arms.GetEncPosition() << std::endl;
|
std::cout << "arm encoder position: " << arms.GetEncPosition() << std::endl;
|
||||||
std::cout << "arm encoder velocity: " << arms.GetEncVel() << std::endl;
|
std::cout << "arm encoder velocity: " << arms.GetEncVel() << std::endl;
|
||||||
drive.ArcadeDrive(&driver_stick, true);
|
drive.ArcadeDrive(-driver_stick.GetY(), -driver_stick.GetX()*0.75);
|
||||||
|
|
||||||
//bool rampDoing = false;
|
//bool rampDoing = false;
|
||||||
// This is shit code for testing. Replace it with real code.
|
// This is shit code for testing. Replace it with real code.
|
||||||
|
Reference in New Issue
Block a user