Ok, when running the powerpod test, I had to do some re-alignment/adjustment with the servo horns (as per the online instructions). One would think every thing would work, however, when I start the bot up to control it, all the legs folded underneath it and shift to the right. Any suggestions/thoughts to handle this; I checked and rechecked the alignment in powerpod before getting to this stage and everything seemed fine.
To be more specific, I’m using the default build for the hexapod,
Any of the “walk mode” actions cause the hexapod to crumple up. The Circle (all = 1500) works fine, Triangle (lowers body) works fine, Square (learn to fly ) works fine. By works fine, the servos visually go the the appropriate position. It seems that the walking portion , whether I use the joystick or resume walk mode, the servos go out-of-wack!
Thoughts are appreciated.
The only change to the default code is to the ByteTable. It was:
;ACos
data 64,64,63,63,63,62,62,62,61,61,61,60,60,60,59,59,|
59,59,58,58,58,57,57,57,56,56,56,55,55,55,54,54,|
54,53,53,53,52,52,52,51,51,51,50,50,50,49,49,49,|
48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,43,|
42,42,42,41,41,41,40,40,39,39,39,38,38,37,37,37,|
36,36,35,35,35,34,34,33,33,32,32,31,31,31,30,30,|
29,29,28,28,27,27,26,25,25,24,24,23,23,22,21,21,|
20,19,19,18,17,16,15,15,14,13,11,10,09,07,05,00
Changed to the following in order to compile for Atom Pro
;ACos
data ByteTable 64,64,63,63,63,62,62,62,61,61,61,60,60,60,59,59,|
59,59,58,58,58,57,57,57,56,56,56,55,55,55,54,54,|
54,53,53,53,52,52,52,51,51,51,50,50,50,49,49,49,|
48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,43,|
42,42,42,41,41,41,40,40,39,39,39,38,38,37,37,37,|
36,36,35,35,35,34,34,33,33,32,32,31,31,31,30,30,|
29,29,28,28,27,27,26,25,25,24,24,23,23,22,21,21,|
20,19,19,18,17,16,15,15,14,13,11,10,09,07,05,00
hi.
ok got ya update. forget the first and third questions.
have you tried changing the “data ByteTable” back to data. not that this matters enless:
you also change this in other appropriate areas of the code? where its called up in the code.
the big question: Which atom are you using?
Hey Innerbreed, thanks for taking the time to help,
1-For tutorials I used the 3DOF AH3-R series of tutorials
2- They do hold their position, so it doesn’t seem like a power issue, I am able to perform other functions (fly, lower, etc)
3 - Not sure about rotation direction in the tutorial, but when constructing the legs, I built the mirrored legs. I looked at the pictures that of the hexapod to ensure they were aligned appropriately.
Will up load images in a min.
what control are you using? ps2/RC?
could be a problem with the memory. you might be coursing it to crash. Atom28 or atom pro28?
lynxmotion.com/images/files/ … Master.pmp This version fixes a bug with Atom Pro equipped hexapods, and adds a pause in the main loop.
sorry for all the post but gotta get some sleep. 1:30am uk!
i have a feeling you are trying to run the wrong code. try using the up to date one for the pro. no need to change anything.
make sure you are selecting the right IDE before building the program. im i right?
I’m using the PS2 controller and the Atom Pro 28 (this kit).
The following are images performing various commands. I put pictures of the legs, I believe they are “mirrored” correctly. All commands seem to work accept any actions that involve walk mode.
Resting (has not been started)
Bot’s left legs (resting)
Bot’s Right legs (resting)
Starting Up
Top view starting up
flying command (works)
Lower body mode (works)
Attempt to walk, goes into weird position
Bah… I think I figured it out…
Ok figured it out, I’m a n00b! Its what you call a learning experience, I DID have the wrong IDE selected within the powerpod.
Thanks for the help innerbreed! I’ve got some more questions brewing about XBEE etc, but need to do the research!
great you figured it out. its always the simple things that slow us down.