Hello everyone I approached again to the world of programming recently using Arduino and after many experiments I wanted to try my hand in the a-pod kit construction. what stops me and not the complete code, or missing part of the head and tail.
Now I wanted to know from you if there is a microprocessor atom pro 28 compatible on which to run the original code or if you can make a “translation” of this original code for basic atom pro 28 (which is out of production) to Arduino.
It states that no expert programming but taking advantage of the translation made by the user already Kurte the phoenix of the code that it has made available on ghithub would be enough to add the pieces of code that are missing?
downloading files in both basic of phoenix and of apod both those in Arduino, I noticed that they have some differences, for example between the two original codes seems that apod needs a file into while in the Arduino counterpart you have many files more and some parts of code that are different completmaente belonging whole part relating to the variables and definitions there are more parties such as would appear that the phoenix_Core.bas file for all’apod has been divided into arduino code in phoenix.he phoenix _code.h (I’m using the library Kurte the complete one).
when I am analyzing the codes I’ve seen that the configuration file is almost identical parties belonging more but there are some files and pieces of code that I can not understand, so someone can explain to me how it works and what compounds are these codes? .
sorry for the confusion and for my terrible English but I write using google translate
I hope someone answer me, while I thank you all for the work you have done and that continautate to play, and in particular I thank the creators of the original codes (Kurte zenta and xan) I must admit that the video movement is masterpiece seem as if they were real animals .
Sorry, I am not checking up much lately on this forum.
As you already mentioned, I have converted the Phoenix Basic Atom Pro code over to run on Arduinos, such as the Botboarduino as well to some different Linux boards and have run it on a few of the different robots such as the Phoenix, T-Hex… But I never integrated in the changes that Zenta did for A-Pod, as I don’t have one…
There have several threads over the years on this, where others would like to add this functionality, which usually ends with, once they get it working they will share the updates and if reasonable I would integrate (read take a Pull request on github. Unfortunately I have not received any such requests…
So maybe someone is out there that has done it and is willing to share?
Several years ago, I received an ANT by Orion Robotics, which is similar to the Apod, which I did do an initial port of the Phoenix code to run on it. I never completely fleshed it out, but it was reasonably working. However it was setup to use their Servos, their PS2, … So a lot of the code would need to be adapted for Apod… A long time ago I put a copy of the WIP up on github: github.com/KurtE/Orion Since then Orion as well as BasicMicro closed their doors (or at least their websites) and now only produce Motor Controllers (last I checked).
I should also mention, that for the last several years, I have not done anything with RC servos nor with PS2s, nor for the most part care to, so I probably wont be any help, other than maybe answering a question or two.
hello Kurt I congratulate you for the work you’re really a great one.
I just to try to understand how the code works I’m going crazy but probably because I have not much experience in programming especially robots. I do not say that I’ll be able to convert the code alone because you probably are not able to do that but I will try.
frankly I would like the community to join forces in bringing this fully working code to Arduino so that even users less eserti and beginners can have a me functioning product and study how language functions in order to make up its own changes.
having said that I downloaded the library for the ant of orion and I saw that and pretty much the same code of the phoenix but I have not figured out if and running on apod and also includes the head and tail movements.
however, I thought I was doing a ported 1: 1 from the basic to Arduino-in pod code using the same definitions and kinematic variables (I have difficulty in understanding the propio program because I do not know how to start programs from a robot and how they work and kinematic the inverse kinematics), and in fact I added the various definitions and missing variables, but arrived at a certain point of phoenix_code.he phoenix_core.bas files known major differences and do not know how to proceed. this due to the fact that do not know how he worked the basic and the pro atom, then probrabilmente arrived at the section of the progrmma structures you proceed in a different way because the programs are different.
with this I thank nonetheless still keep trying (with little time I have after work) and I hope that someone will add to my crusade perhaps dividing the load it can pull off something at least functional.
for now thank you all
regards
Alexander
P.S. and again sorry for the English horrible but then again I write from Italy using google translator
ok I went back to read it again, much more calmly, code, and I noticed that my problems in understanding the code are propio in the fact that I do not know the basic structure and the fact that in the Arduino code there are many more parts such as the parts that relate to quadmode (I can safely delete them?) anyway when I’m editing the phoenix_code and would serve me understand how I have to set the sequences in the loop because I noticed that they are very different.
another thing I do not understand the part immediately below the static const word GetSin ] PROGMEM {…}; all those definitions do not know what they do, as well as parts related to debugging can be removed to lighten the code or you need it?