Skip to content

Commit db2eb00

Browse files
FRCTeam3255-Shared-K1-10BrodyKarrJAMES-ROMERO123jaymendo670-pngJustinpham17386769
authored
Fix CAD in sim (#72)
Co-authored-by: BrodyKarr <145169276+BrodyKarr@users.noreply.github.com> Co-authored-by: JAMES-ROMERO123 <244249583+JAMES-ROMERO123@users.noreply.github.com> Co-authored-by: jaymendo670-png <244560677+jaymendo670-png@users.noreply.github.com> Co-authored-by: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com> Co-authored-by: Tej shah <187054380+Tejshah88@users.noreply.github.com> Co-authored-by: Yutong Zhu <176576491+Wu-Fan-529@users.noreply.github.com>
1 parent 98da378 commit db2eb00

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

assets/Robot_2026/config.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
"zeroedRotations": [
2727
{
2828
"axis": "x",
29-
"degrees": 0
29+
"degrees": 180
3030
},
3131
{
3232
"axis": "y",
3333
"degrees": 0
3434
},
3535
{
3636
"axis": "z",
37-
"degrees": 0
37+
"degrees": 90
3838
}
3939
],
4040
"zeroedPosition": [
@@ -47,15 +47,15 @@
4747
"zeroedRotations": [
4848
{
4949
"axis": "x",
50-
"degrees": 0
50+
"degrees": 180
5151
},
5252
{
5353
"axis": "y",
5454
"degrees": 0
5555
},
5656
{
5757
"axis": "z",
58-
"degrees": 0
58+
"degrees": 90
5959
}
6060
],
6161
"zeroedPosition": [
@@ -68,15 +68,15 @@
6868
"zeroedRotations": [
6969
{
7070
"axis": "x",
71-
"degrees": 0
71+
"degrees": 180
7272
},
7373
{
7474
"axis": "y",
7575
"degrees": 0
7676
},
7777
{
7878
"axis": "z",
79-
"degrees": 0
79+
"degrees": 90
8080
}
8181
],
8282
"zeroedPosition": [

src/main/java/frc/robot/subsystems/RobotPoses.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ public RobotPoses() {
4040
@Override
4141
public void periodic() {
4242
intakeTransform3d = new Transform3d(
43+
RobotContainer.positionalInstance.lastDesiredIntakePosition,
4344
Units.Inches.zero(),
4445
Units.Inches.zero(),
45-
RobotContainer.positionalInstance.lastDesiredIntakePosition,
4646
Rotation3d.kZero);
4747

4848
turretRotation3d = new Rotation3d(

0 commit comments

Comments
 (0)