greetings members,
i purchased a 3DOF CH3-R hexapod kit before xmas 2011. over xmas i constructed the pod and tested each component as i went along. all worked as it should. i visited the url lynxmotion.com/p-566-free-do … erpod.aspx to make sure i had the ‘latest’ code and applications. i have installed
ppod102_x44.zip (5.08MB)
vX.44.pmp (67KB)
PowerPod manual (368KB)
i have also follow the link for the Basic Micro IDE now version 2.0.0.5 and have that running.
with the PowerPod I am able to communicate w the hexapod, and complete all of the configuration… all servos are new, and all correctly achieve the default positions.
i can also launch the Basic Micro IDE 2.005 and open the master program… but here is where my troubles begin.
when i compile, i get an error that indicate line 162 where the ;ACos begins. in the .bas code that is generated by PowerPod from master program H3 VX.44 - Master.pmp there is a different section of code that is used for different IDEs… NONE of which are the new/latest Studio version 2.0.0.5… the menu choices for IDE that are offered from PowerPod do NOT include Studio 2.0.0.5 either… but if i select this, then generate code and compile, the block of code for ACos has an error… .it uses a token that is different from the rest of the blocks… it uses a keyword ‘data’ only, where blocks of code defining the vaues for ACos for other compilers use the keyword Bytetable
;ACos
#[IDE][Basic Micro IDE V02.2.1.1]
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
#[IDE][Basic Micro IDE V05.3.0.0]
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
#[IDE][Basic Micro PRO IDE V08.0.1.7]
ArcCos 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
if i edit the .pmp file to use the same keywords for ArcCos across all three supported compilers, then i CAN compile without error, and i can upload.
when i initiate PS2 control, SOME of the exepcted actions work when i press the proper buttons, some, do not… the O button DOES bring the robot to the correct ‘default 1500’ position… the X button correctly brings about the ‘attack position and behavior’… the triangle button sort of works - in that the haxapod lays down and powers off servos… .and comes back alive, but when it starts up, the legs all appear to rotate CW and fold against the body… and churn… the joy sticks ‘sort of’ work, in that hints of forward motion are there, but not full motion, that applies to translation with the right joy stick and rotation w the left joystick.
im confused. there is NO way that ANYONE could compile the code pointed to by the lynxmotion website… the errors have nothing to do with me - anyone following instructions and loadin lastest Basic Micro IDE Studio 2.0.0.5 would get same error and flawed code generated using
H3 VX.44 - Master.pmp .
who out there has a WORKING and fully functional hexpod 3DOF CH3-R using PS2 controls? what .pmp file did you use? what PowerPod version, and what IDE/compiler?
again, half my actions WORK, including default mid-positions … half dont… doesnt make sense unless there more errors in the CODE and nothing to do w errors in my construction…
help… i have work to do, this was supposed to be commerical, ready to go hexapod and this is a huge delay …
thanks
Doc