File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,19 @@ import com.neuronrobotics.sdk.addons.kinematics.IDriveEngine
33import com.neuronrobotics.sdk.addons.kinematics.MobileBase
44import com.neuronrobotics.sdk.addons.kinematics.math.TransformNR
55
6- // code here
7-
86return new com.neuronrobotics.sdk.addons.kinematics.IDriveEngine (){
97IDriveEngine walking = ScriptingEngine . gitScriptRun(" https://github.com/OperationSmallKat/Marcos.git" , " MarcosWalk.groovy" )
108IDriveEngine driving = ScriptingEngine . gitScriptRun(" https://github.com/NeuronRobotics/NASACurisoity.git" , " DriveEngine.groovy" )
9+ IDriveEngine fixed = ScriptingEngine . gitScriptRun(" https://github.com/madhephaestus/VexVitaminsRobot.git" , " FixedDriveEngine.groovy" )
1110
1211@Override
1312public void DriveArc (MobileBase base , TransformNR newPose , double seconds ) {
14- IDriveEngine engine= driving ;
13+ IDriveEngine engine= fixed ;
1514if (base. getLegs(). size()> 0 ) {
1615engine= walking;
17- }else if (base. getSteerable(). size()> 0 ) {
18- engine= driving;
1916}else if (base. getDrivable(). size()> 0 ) {
17+ engine= fixed;
18+ }else if (base. getSteerable(). size()> 0 ) {
2019engine= driving;
2120}
2221engine.DriveArc ( base, newPose, seconds);
You can’t perform that action at this time.
0 commit comments