i have made a delta robot .
First i have to move the end effector (top triangle) by hand than note the 3 base angles and write them to delta bot !! this replicates the movement of the end effector which i have manually moved !!
My problem is that, i have to move a servo manually, record the values using a 10k potentiometer, for 1min. (1 reading for every 15 millisec) . Store them in a array ,than the values are write to the servo for another min.
when iam defining servo i cant able to move it manually !!
thanks a lot !!
You can calculate servo angles instead of storing them in a table. I made a controller for a 5DOF robotic arm recently out of Duemilanove using built-in trig functions with double precision. Apparently, 328p is quite a number cruncher - I don't see any delays between moves ( in fact, I need to insert delays to make it easier for servos ).
Trig functions are not Arduino-specific but linked from avr-libc. They take 'double' arguments and return 'double' results so I would assume they compute with double precision.