run-in-simulavr.sh: start signals undefined.
Also a few aesthetical corrections.
This commit is contained in:
parent
35c4949965
commit
4389e670bd
|
|
@ -164,8 +164,8 @@ EOF
|
||||||
BEGIN {
|
BEGIN {
|
||||||
# These lines must match the ones after the sort.
|
# These lines must match the ones after the sort.
|
||||||
intLen = 16;
|
intLen = 16;
|
||||||
xStepID = "0"; xPosID = "1"; xUmID = "2"; xVelID = "3"; xMmmID = "4"
|
xStepID = "0"; xPosID = "1"; xUmID = "2"; xVelID = "3"; xMmmID = "4";
|
||||||
yStepID = "5"; yPosID = "6"; yUmID = "7"; yVelID = "8"; yMmmID = "9"
|
yStepID = "5"; yPosID = "6"; yUmID = "7"; yVelID = "8"; yMmmID = "9";
|
||||||
|
|
||||||
xDir = yDir = 0;
|
xDir = yDir = 0;
|
||||||
xPos = yPos = 0;
|
xPos = yPos = 0;
|
||||||
|
|
@ -231,8 +231,8 @@ EOF
|
||||||
BEGIN {
|
BEGIN {
|
||||||
# These lines must match the ones before the sort.
|
# These lines must match the ones before the sort.
|
||||||
intLen = 16;
|
intLen = 16;
|
||||||
xStepID = "0"; xPosID = "1"; xUmID = "2"; xVelID = "3"; xMmmID = "4"
|
xStepID = "0"; xPosID = "1"; xUmID = "2"; xVelID = "3"; xMmmID = "4";
|
||||||
yStepID = "5"; yPosID = "6"; yUmID = "7"; yVelID = "8"; yMmmID = "9"
|
yStepID = "5"; yPosID = "6"; yUmID = "7"; yVelID = "8"; yMmmID = "9";
|
||||||
|
|
||||||
lastTime = "";
|
lastTime = "";
|
||||||
|
|
||||||
|
|
@ -252,16 +252,16 @@ EOF
|
||||||
print "$enddefinitions $end";
|
print "$enddefinitions $end";
|
||||||
print "#0";
|
print "#0";
|
||||||
print "$dumpvars";
|
print "$dumpvars";
|
||||||
print "b0 " xStepID;
|
print "bz " xStepID;
|
||||||
print "b0 " xPosID;
|
print "bz " xPosID;
|
||||||
print "b0 " xUmID;
|
print "bz " xUmID;
|
||||||
print "b0 " xVelID;
|
print "bz " xVelID;
|
||||||
print "b0 " xMmmID;
|
print "bz " xMmmID;
|
||||||
print "b0 " yStepID;
|
print "bz " yStepID;
|
||||||
print "b0 " yPosID;
|
print "bz " yPosID;
|
||||||
print "b0 " yUmID;
|
print "bz " yUmID;
|
||||||
print "b0 " yVelID;
|
print "bz " yVelID;
|
||||||
print "b0 " yMmmID;
|
print "bz " yMmmID;
|
||||||
print "$end";
|
print "$end";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue