auto
This commit is contained in:
parent
e7a3f00156
commit
370d4ca87e
25
src/main/deploy/pathplanner/autos/1.1.auto
Normal file
25
src/main/deploy/pathplanner/autos/1.1.auto
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": 1.0,
|
||||
"startingPose": {
|
||||
"position": {
|
||||
"x": 1.3,
|
||||
"y": 5.55
|
||||
},
|
||||
"rotation": 180.0
|
||||
},
|
||||
"command": {
|
||||
"type": "sequential",
|
||||
"data": {
|
||||
"commands": [
|
||||
{
|
||||
"type": "path",
|
||||
"data": {
|
||||
"pathName": "1.1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"folder": "1",
|
||||
"choreoAuto": false
|
||||
}
|
25
src/main/deploy/pathplanner/autos/2.1.auto
Normal file
25
src/main/deploy/pathplanner/autos/2.1.auto
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": 1.0,
|
||||
"startingPose": {
|
||||
"position": {
|
||||
"x": 0.7,
|
||||
"y": 4.4
|
||||
},
|
||||
"rotation": 120.0
|
||||
},
|
||||
"command": {
|
||||
"type": "sequential",
|
||||
"data": {
|
||||
"commands": [
|
||||
{
|
||||
"type": "path",
|
||||
"data": {
|
||||
"pathName": "2.1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"folder": "2",
|
||||
"choreoAuto": false
|
||||
}
|
25
src/main/deploy/pathplanner/autos/3.1.auto
Normal file
25
src/main/deploy/pathplanner/autos/3.1.auto
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": 1.0,
|
||||
"startingPose": {
|
||||
"position": {
|
||||
"x": 0.7,
|
||||
"y": 6.7
|
||||
},
|
||||
"rotation": -120.0
|
||||
},
|
||||
"command": {
|
||||
"type": "sequential",
|
||||
"data": {
|
||||
"commands": [
|
||||
{
|
||||
"type": "path",
|
||||
"data": {
|
||||
"pathName": "3.1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"folder": "3",
|
||||
"choreoAuto": false
|
||||
}
|
25
src/main/deploy/pathplanner/autos/4.1.auto
Normal file
25
src/main/deploy/pathplanner/autos/4.1.auto
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": 1.0,
|
||||
"startingPose": {
|
||||
"position": {
|
||||
"x": 15.2,
|
||||
"y": 5.55
|
||||
},
|
||||
"rotation": 0
|
||||
},
|
||||
"command": {
|
||||
"type": "sequential",
|
||||
"data": {
|
||||
"commands": [
|
||||
{
|
||||
"type": "path",
|
||||
"data": {
|
||||
"pathName": "4.1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"folder": "4",
|
||||
"choreoAuto": false
|
||||
}
|
25
src/main/deploy/pathplanner/autos/5.1.auto
Normal file
25
src/main/deploy/pathplanner/autos/5.1.auto
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": 1.0,
|
||||
"startingPose": {
|
||||
"position": {
|
||||
"x": 15.85,
|
||||
"y": 4.4
|
||||
},
|
||||
"rotation": 60.0
|
||||
},
|
||||
"command": {
|
||||
"type": "sequential",
|
||||
"data": {
|
||||
"commands": [
|
||||
{
|
||||
"type": "path",
|
||||
"data": {
|
||||
"pathName": "5.1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"folder": "5",
|
||||
"choreoAuto": false
|
||||
}
|
32
src/main/java/frc/robot/command/Lancer.java
Normal file
32
src/main/java/frc/robot/command/Lancer.java
Normal file
@ -0,0 +1,32 @@
|
||||
// Copyright (c) FIRST and other WPILib contributors.
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
package frc.robot.command;
|
||||
|
||||
import edu.wpi.first.wpilibj2.command.Command;
|
||||
|
||||
public class Lancer extends Command {
|
||||
/** Creates a new Lanceur. */
|
||||
public Lancer() {
|
||||
// Use addRequirements() here to declare subsystem dependencies.
|
||||
}
|
||||
|
||||
// Called when the command is initially scheduled.
|
||||
@Override
|
||||
public void initialize() {}
|
||||
|
||||
// Called every time the scheduler runs while the command is scheduled.
|
||||
@Override
|
||||
public void execute() {}
|
||||
|
||||
// Called once the command ends or is interrupted.
|
||||
@Override
|
||||
public void end(boolean interrupted) {}
|
||||
|
||||
// Returns true when the command should end.
|
||||
@Override
|
||||
public boolean isFinished() {
|
||||
return false;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user