by Fritzoid » Tue Feb 01, 2011 1:32 pm
by Fritzoid
Tue Feb 01, 2011 1:32 pm
Thanks Fraser,
In fact the line should read
- Code: Select all
if((Timer0Count++ & 0x01FF) == 0)
...which runs once every 512 passes.
What you are looking at is my best "reading" of the actual ax-12 firmware translated into c-like form. The output is meant to be used as a document that finally answers all the questions about the ax-12 algorithm for moving.
The input comes from an ax-12 storage dump posted in binary format on an earlier thread at this site, titled "Ax-12 firmware update gone wrong". You can find that thread from the Bioloid wiki page, reachable from the RoboSavvy site menu.
Because much of the translation process is done by hand and because it has never been compiled, there are probably more errors, like the one you identified, still in there. I'll fix them if someone points them out to me. Also, because the input is nearly two years old, the current firmware may have changed a bit.
The reason that I choose to post on this thread is because it is also linked to the Bioloid wiki page, an excellent resource.
Thanks Fraser,
In fact the line should read
- Code: Select all
if((Timer0Count++ & 0x01FF) == 0)
...which runs once every 512 passes.
What you are looking at is my best "reading" of the actual ax-12 firmware translated into c-like form. The output is meant to be used as a document that finally answers all the questions about the ax-12 algorithm for moving.
The input comes from an ax-12 storage dump posted in binary format on an earlier thread at this site, titled "Ax-12 firmware update gone wrong". You can find that thread from the Bioloid wiki page, reachable from the RoboSavvy site menu.
Because much of the translation process is done by hand and because it has never been compiled, there are probably more errors, like the one you identified, still in there. I'll fix them if someone points them out to me. Also, because the input is nearly two years old, the current firmware may have changed a bit.
The reason that I choose to post on this thread is because it is also linked to the Bioloid wiki page, an excellent resource.