ready to run a program I got here and tried to load it…
links but sayz not enough momery…n botboard…
its the program for the hexpod and it has this as a header
[code]
; Use Basic Micro ATOM IDE 02.2.1.1
; *** not suitable for IDE 05.3.0.0 (there’s a specific version for this IDE)
; Use Basic Atom 28
; *** not compatible with Basic Atom Pro (new version for BA Pro soon)
;************************************************
;*** Basic Atom with SSC-32 and PS2 DualShock ***
;----------------- 1.40 3DOF-C ------------------
;--------------- PS2 Controller -----------------
;-------------- Round Body (H3-R) ---------------
;********** Bot Board Buzzer support ************
;***** Little Gripper / Pan & Tilt support ******
;**************** Deck support ******************
;************************************************
;** Programmer: Laurent Gay, [email protected] **
;************************************************
;[/code]
I just got the seq prog. working and now I was going to get my hex to at least do something…
to my dismay it cant even get off the floor…
I have a ses tube verison of the ch3-r with ssc and botboard useing 475’s with 645’s in the mid joint for more torque…nope wont get up from the crouched position…
this comes with 475’s and I thought it would be at least a little better due to the 645s…can’t see how the thing even works ??? 475’s dont have it??
cant afford to go with any more monies…now I’m stuck…no hex…If the wife finds out it doesnt work she’ll never let me here the end of this…
Are you using the old version of the IDE 2.2.1.1. If not there is a setting you can do with the powerpod program to tell it you are using the new version of the IDE 5.3…
I also assume that you have an Atom 28 and you have configured your IDE for this. I am also assuming your program was generated by Powerpod and not for example the version that I modified to run on an Atom Pro…
Not knowing any more information like how big it is. I would try things like removing some extra code and see if I could make it work. For example maybe disable the attack posture code. To do this look for something like:
if (DualShock(2).bit6 = 0) and LastButton(1).bit6 then ;Cross Button test
gosub All1500
;Attack posture
Then you can add a line like:
#ifdef LATER
maybe right after the gosub All1500.
Then add a line:
#endif
Right before the endif, which you can find in the code that looks like:
[code] endif
if (DualShock(2).bit7 = 0) and LastButton(1).bit7 then ;Square Button test
[/code]
This hopefully should free up enough to make it compile and load. If not you might also disable the learning to fly posture in the same way.
My hex has all 645s, but there are still some postures it does not like to get up from, like having it’s first joints curled up under the hex. So try setting up the hex to make it as easy as possible to get up. Also like sam mentioned make sure your battery is fully charged. Mine has the 6v C sized battery pack. It should work with the 475s as this is the default configuration you can order. Other than the battery do you have any additional weight on your hex?
wright this to start of code and it will clear the ram.
clear
maybe like this:
;************************************************
clear ; Wipes current memory
;-------------Constants
;DualShock
DAT con P4
CMD con P5
CLK con P7
SEL con P6
DeadZone con 28
PadMode con $79
EEPROM can be programmed and erased electrically using field emission!
(info found on wikipedia just now). but i guess it means nothing to you!!!
im not keyed up on using eeprom but i think it may have something to do with (Erase) 'pos followed by other commands, but pls pls look it up before you try it.
Not recommended… 475’s get pretty jittery at 7.2vdc.
More power is what you need. You are trying to power a bot that consumes 8 amps when walking with a supply capable of delivering 2.0amps. You just need a battery that can deliver the needs of your bot.
We know you have a bot board, but we do not know which atom you are using. Beth is correct that the PowerPod program is what you need. It’s free, go get it. lynxmotion.com/Product.aspx? … egoryID=15
The power pod is used to generate code, based on the configuration. You can then take that code and tweak it to your liking if your configuration isn’t quite exactly like what powerpod states (such as not having a PS2 controller, using an Atom Pro, etc…)
You can get a modified code to run on Atom Pro from one of the topics in this category. Kurte was nice enough to provide this for everyone.
As for me, before I got into IK-calc based walks, I just made a big spreadsheet and recorded the servo pulse width of each “pose” of a gate. I used a standard Lynxterm and MS Excel for this effort. Although in hindsight, if you are going this route, which is create sequences, you should probably use a Lynxmotion Sequencer program. I think it would’ve saved me lots of time capturing the pulse width rather then scrolling down a drop down menu in Lynxterm to select the servo…
I know that even though Powerpod uses IK for walking, some of the other movements it does (like attack mode), is still a pre-determined set of pulse width for each servos.