Skip to content

Commit

Permalink
better configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
hephaestus committed Dec 29, 2023
1 parent daa9337 commit 6325d20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MarcosWalk.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ IDriveEngine engine = new IDriveEngine () {

boolean firstRun=true
double zoffsetOfFeetHome = -18
double xOffsetOfFeetHome = -2.5
double xOffsetOfFeetHome = 2.5
double ySplayOut = 5
double stepOverHeight = 20
double stepOverHeight = 10
public void DriveArc(MobileBase source,TransformNR newPose,double seconds) {
try {

Expand Down Expand Up @@ -89,7 +89,7 @@ class BodyController{

int coriolisIndex = 0
// ms of the tail loop
double timeOfTailLoop = 250
double timeOfTailLoop = 350
double coriolisTimeBase =numMsOfLoop
// degrees per time slice
double coriolisDivisions = timeOfTailLoop/coriolisTimeBase
Expand Down Expand Up @@ -210,7 +210,7 @@ class BodyController{
if(tiltAngle<-90)
tiltAngle+=180
def abs = Math.abs(tiltAngle)
def min =6
def min =8
if(abs<min) {
coriolisIndex=0;
abs=min
Expand Down

0 comments on commit 6325d20

Please sign in to comment.