I am getting a new Basic atom pro pin, and was wondering if this would in anyway change the offsets
please respond
droideka227
I am getting a new Basic atom pro pin, and was wondering if this would in anyway change the offsets
please respond
droideka227
yes. you can either redo the offsets as you would in tutorial using LynxTerm registers or i did find a way to to it manually in the code.
like this:
ADD at the start of the (Init)
also this has been taken from another project so you will have to rewrite the pins and the offset values.
; Servo Offsets (manual input!)
;ONLY USE THESE IF NOT USING REGISTERS, otherwise 'comment out.
serout SSC_OUT,SSC_BAUD,"#",dec |
RRHipSwayPin,"po-90 #",dec |
RRHipRotatePin,"po70 #",dec |
RRHipZPin,"po0 #",dec |
RRKneeZPin,"po70 #",dec |
RRTarPin,"po80 #",dec |
LRHipSwayPin,"po50 #",dec |
LRHipRotatePin,"po50 #",dec |
LRHipZPin,"po0 #",dec |
LRKneeZPin,"po0 #",dec |
LFTarPin,"po0 #",dec |
RFHipSwayPin,"po90 #",dec |
RFHipRotatePin,"po99 #",dec |
RFHipZPin,"po-90 #",dec |
RFKneeZPin,"po0 #",dec |
RFTarPin,"po80 #",dec |
LFHipSwayPin,"po60 #",dec |
LFHipRotatePin,"po99 #",dec |
LFHipZPin,"po0 #",dec |
LFKneeZPin,"po0 #",dec |
LFTarPin,"po0",13]
is that what you were looking for?
thank you its really interesting how just replacing the microcontroller can change the offsets
droideka 227
i re read your post and the answer is no. changing the atom pin will not disrupt the offsets. they are stored in the SSC’s chip.
thank you its good to know oh, and i use the bot board 2, not ssc-32
droideka227
I guess it depends on the offsets are currently done? If they are stored in the EEPROM of the old BAP28 and you have a new BAP28, that does not have these offsets, then yes you will need to update it.
But then what I read is you are getting a new pin? If you are just soldering on a new pin to fix one that came off the BAP, no, should not change anything.
If you are saying you are rearranging the pins used, then it depends on the code. Are the offsets stored as offsets associated with the pins of the BAP or are they stored as logically. IE something like the first offset is used for the Right Hip, the second for Right Knee… then simply changing which pins you connect the servos to will not change the offsets. Obviously you need to change the code to reflect which pins are connected to what.
So again it depends…
Kurt
sorry, when i said new pin i meant to say new microcontroller. i am afraid to solder the pin back on for fear of screwing up the microcontroller. i find it easier to get a new one
droideka 227