Hi Gero,
So made some progress. The leg behavior has improved so to speak 😀.
I now believe I have a better understanding between a posture, gait and behavior. In this case, I believe we are dealing with a behavior.
So here are the few things I fixed:
(1) The first number in the first line was changed to a -ve number to classify it as a behavior.
(2) The number of columns was incorrect in the python script when it formats the CSV file and I fixed line# 273 to this: f.write("4, 0, 0, 0,") instead of f.write("4, 0,")
(3) I also set the second line to "0, 21, 1," in the array definition below to indicate the start-frame, end-frame and how many times to execute the frames.
(4) Here's the "zero" behavior array definition:
const char zero[] PROGMEM = {
-22, 0, 0, 1,
0, 21, 1,
0, 0, 0, 0, 0, 0, 0, 0, 29, 76, 53, 68, -4, 4, -14, 30, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 44, 65, 52, 73, -11, -19, -12, 39, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 60, 19, 60, 70, -11, -1, -11, 47, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 71, 18, 70, 83, -6, 2, -7, -2, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 75, 29, 71, 53, 1, -4, 9, -14, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 76, 44, 68, 52, 4, -11, 30, -12, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 86, 60, 73, 60, -46, -11, 39, -11, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 22, 71, 70, 70, -26, -6, 47, -7, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 22, 75, 83, 71, -24, 1, -2, 9, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 35, 76, 53, 68, -31, 4, -14, 30, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 57, 86, 52, 73, -39, -46, -12, 39, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 80, 22, 60, 70, -40, -26, -11, 47, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 90, 22, 70, 109, -31, -24, -7, -26, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 90, 35, 71, 69, -19, -31, 9, -43, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 90, 57, 68, 68, -14, -39, 30, -40, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 86, 80, 73, 80, -46, -40, 39, -40, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 22, 90, 70, 94, -26, -31, 47, -34, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 22, 90, 109, 102, -24, -19, -26, -21, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 35, 90, 69, 102, -31, -14, -43, -4, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 57, 86, 68, 99, -39, -46, -40, 11, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 80, 22, 80, 91, -40, -26, -40, 25, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 90, 22, 94, 109, -31, -24, -34, -26, 4, 0, 0, 0,
};
(5) Video attached.
(6) It's getting there, but not there yet. The front legs are lifting high enough.
I also changed the obstacle-height by 1cm to 4cms.
Any ideas as to what might still be going on?
Thanks much in advance.
Regards