Hi Rongzhong,
Great job with this robot. Your passion and dedication towards this project is incredible indeed.
I have purchased a few of your kits and so far it's worked out great. I also believe you and your team have done a great job with the assembly, coarse/fine-calibration instructions.
Can you please share some sample code as an example for climbing up and down a step? I see it in one of your videos, but the standard instincts and any posted newbilities don't have an example to make the Bittle climb up and down step that's 0.5" in height, for example.
If there there is some basic Arduino code that you can share, that'll really help me get started on writing some code to improve on this behavior.
Any assistance is greatly appreciated.
Hi Gero,
Thanks again for your patience and guidance. After messing with the "leanForward" parameter from (-0.5 to -5.0), I guess I'm half way there.
The test step (book) is about 1cm in height. The obstacleHeight is still at 3cms.
However, unsure if the hind-legs will clear the book by adjusting this parameter alone.
Any suggestions to help get the hind legs to get on top of the book?
Behavior definition:
const char zero[] PROGMEM = {
-22, 0, 0, 1,
0, 21, 1,
0, 0, 0, 0, 0, 0, 0, 0,-51, 39, -6, 55, 90, -9, 22, -12, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,-17, 6, -7, 64, 37, 6, 25, -10, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 5, -55, 5, 67, 13, 90, 13, -9, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 23, -54, 22, 43, -1, 90, 0, -17, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 35, -51, 40, -6, -7, 90, -9, 22, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 39, -17, 55, -7, -9, 37, -12, 25, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 7, 5, 64, 5, -13, 13, -10, 13, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,-52, 23, 67, 22, 70, -1, -9, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,-54, 35, 43, 40, 76, -7, -17, -9, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,-33, 39, -6, 55, 41, -9, 22, -12, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,-13, 7, -7, 64, 14, -13, 25, -10, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 8, -52, 5, 67, -7, 70, 13, -9, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 27, -54, 22, 51, -22, 76, 0, -37, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 42, -33, 40, -4, -29, 41, -9, 2, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 47, -13, 55, -4, -30, 14, -12, 4, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 7, 8, 64, 8, -13, -7, -10, -7, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,-52, 27, 67, 26, 70, -22, -9, -21, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,-54, 42, 51, 49, 76, -29, -37, -31, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,-33, 47, -4, 69, 41, -30, 2, -34, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,-13, 7, -4, 80, 14, -13, 4, -32, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 8, -52, 8, 84, -7, 70, -7, -30, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 27, -54, 26, 51, -22, 76, -21, -37, 4, 0, 0, 0,
};
Thanks,
Ganesh