This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Hardware.mecanumDrive.setXVal(Hardware.rightDriver.getX); | |
| Hardware.mecanumDrive.setYVal(Hardware.rightDriver.getY); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.usfirst.frc.team339.HardwareInterfaces.transmission; | |
| import edu.wpi.first.wpilibj.Joystick; | |
| import edu.wpi.first.wpilibj.SpeedController; | |
| public class TransmissionMecanum extends TransmissionFourWheel | |
| { | |
| /** | |
| * @description If we are within x many degrees of being purely up, down, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdlib.h> | |
| #include <stdio.h> | |
| int main() | |
| { | |
| printf("Unicorns are cool \n"); | |
| printf("Einstein is old \a"); | |
| return 0; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Becky Button. This code is made such that the motor 1 (m1p1 m1p2) is on the left and Motor 2 (m2p1, m2p2) is on the right. | |
| I will be posting an instructables soon on how to make this work, with all of the schematics and such.*/ | |
| int m1Pin1 = 3; // pin 2 on L293D IC | |
| int m1Pin2 = 4; // pin 7 on L293D IC | |
| int enablePinm1 = 5; // pin 1 on L293D IC | |
| int m2Pin1 = 6; | |
| int m2Pin2 = 7; |