This commit is contained in:
parent
c637a77410
commit
6fb87f98c6
16
.pathplanner/settings.json
Normal file
16
.pathplanner/settings.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"robotWidth": 0.9,
|
||||||
|
"robotLength": 0.9,
|
||||||
|
"holonomicMode": true,
|
||||||
|
"pathFolders": [
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
"autoFolders": [
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
"defaultMaxVel": 3.0,
|
||||||
|
"defaultMaxAccel": 3.0,
|
||||||
|
"defaultMaxAngVel": 540.0,
|
||||||
|
"defaultMaxAngAccel": 720.0,
|
||||||
|
"maxModuleSpeed": 4.5
|
||||||
|
}
|
@ -26,6 +26,6 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"folder": null,
|
"folder": "1",
|
||||||
"choreoAuto": false
|
"choreoAuto": false
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
@ -43,7 +43,7 @@
|
|||||||
"rotateFast": false
|
"rotateFast": false
|
||||||
},
|
},
|
||||||
"reversed": false,
|
"reversed": false,
|
||||||
"folder": null,
|
"folder": "1",
|
||||||
"previewStartingState": null,
|
"previewStartingState": null,
|
||||||
"useDefaultConstraints": false
|
"useDefaultConstraints": false
|
||||||
}
|
}
|
@ -43,7 +43,7 @@
|
|||||||
"rotateFast": false
|
"rotateFast": false
|
||||||
},
|
},
|
||||||
"reversed": false,
|
"reversed": false,
|
||||||
"folder": null,
|
"folder": "1",
|
||||||
"previewStartingState": null,
|
"previewStartingState": null,
|
||||||
"useDefaultConstraints": false
|
"useDefaultConstraints": false
|
||||||
}
|
}
|
@ -40,9 +40,6 @@ public void resetencodeurd(){
|
|||||||
public void resetencodeurg(){
|
public void resetencodeurg(){
|
||||||
grimpeurg.getEncoder().setPosition(0);
|
grimpeurg.getEncoder().setPosition(0);
|
||||||
}
|
}
|
||||||
public void grimpeur(){
|
|
||||||
grimpeurg.follow(grimpeurd);
|
|
||||||
}
|
|
||||||
public AHRS gyroscope = new AHRS();
|
public AHRS gyroscope = new AHRS();
|
||||||
public double getpitch(){
|
public double getpitch(){
|
||||||
return gyroscope.getPitch();
|
return gyroscope.getPitch();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user