Skip to content

Commit

Permalink
added text and added correct method of driving.started drive train code.
Browse files Browse the repository at this point in the history
  • Loading branch information
trombonegeek27 committed Oct 6, 2023
1 parent 26e4ef6 commit 65d5a8f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
13 changes: 13 additions & 0 deletions .github/Contrroller Commands/things to know
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
SUBJECT TO CHANGE!
Main Driver=joysticks big joystick for driving
2nd Drriver PS4 controller button not yet detrimend for arm.
To get code on robot
1st Start robot.
2nd one you have a blue or orange light on wifi on radio go into wifi seettings and look for 8719,8719B,and 9999.
one you are configured goo grab a USB-B cable.
goo into roborio imaging tool and find 8719 for unde roborio.
build code. if build is sucessfull then deploy code if build failed see garrett or tony.
once opened and sucessfull. once on the field unload robot and put cart away. once all of the announcementts have been made tthen they will say "drivers behind the lines in 3,2,1 go this is 30 second autonomous.
ALWAYS make sure that the driverr station is on autonomous. it will automaticly switch to teleoporated. if your robot is disabled. that was a FIRST voluenteer becuase they found somethign wrong.
when done disable robots put back on cart turrn off robot and when you have the robot on the cart anyone in your way Loudly scream ROBOT! in a nerdy voice
Good luck and I hope you do great.
Empty file modified gradlew
100644 → 100755
Empty file.
7 changes: 4 additions & 3 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
* constants are needed, to reduce verbosity.
*/
public final class Constants {
public static class OperatorConstants {
public static final int kDriverControllerPort = 0;
}
public final int rightMotor1=2;
public final int rightMotor2=3;
public final int leftMotor1=5

}
6 changes: 3 additions & 3 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public class RobotContainer {
// The robot's subsystems and commands are defined here...
private final ExampleSubsystem m_exampleSubsystem = new ExampleSubsystem();

// Replace with CommandPS4Controller or CommandJoystick if needed
private final CommandXboxController m_driverController =
new CommandXboxController(OperatorConstants.kDriverControllerPort);
// CommandJoystick and CommandXbox
private final CommandJoystick m_driverController =
new CommandPS4Controller(OperatorConstants.kDriverControllerPort);

/** The container for the robot. Contains subsystems, OI devices, and commands. */
public RobotContainer() {
Expand Down

0 comments on commit 65d5a8f

Please sign in to comment.