I downloaded the software packedge from the tutorial site. The config file was not configured. Leg lengths where ok but the body dimensions where way off.
Note: I didn’t update the min/max angles yet. But this will do for now.
Jim, Can you update the packedge with this file, the current one don’t allow you to do nice body rotations thex_3dof_cfg.bas (5.69 KB)
I have been having a little fun! First I got it up and running with your new _cfg.bas file, which is nice. I then moved the PS2 over to pins 16-19 and updated the code and enabled the pull-up on P16 and it worked
I then grabbed a new unused XBee I had sitting around and a Parallax XBee adapter… I then used the CFG file you uploaded with Zenta’s 4DOF code, with some fixes to check a few more places that it is 3DOF and not 4. First tested with PS2 and it was working… (not 100% sure yet if the movements are the same or not. This code has different walking gaits. I then tried it with XBee and that is now working as well.
I then did some slight updates of the XBee input method as the table of Gait names did not match the actual Gaits in the program…
I have uploaded this version here in case anyone wishes to look at it. (Currently configured in CFG for XBee, but easy to comment out the USEXBEE and uncomment USEPS2… This is the same code base I added some support for per-leg config, but still have not tested this yet.