|
|
I volunteered to be the person responsible for the electronics and raised my hand before realizing that I have had almost no electronics experience. I hope our robot turns out alright... - Blue_Mist [more] |
 |
|
|
|
|
3-Axis PID control
By: ttedrow
New: 21-01-2003 13:44
Updated: 21-01-2003 13:44
Total downloads: 254 times
*** Upgraded to PBasic 2.0 ****
This may be useful to some. I wrote a program that will control 3 seperate loops using a PID algorithm while still having enough room left in RAM to run the rest of the robot. I have tested it using Rob's emulator program but not in a real bot.
This program coul...
*** Upgraded to PBasic 2.0 ****
This may be useful to some. I wrote a program that will control 3 seperate loops using a PID algorithm while still having enough room left in RAM to run the rest of the robot. I have tested it using Rob's emulator program but not in a real bot.
This program could be used for a 3-Axis arm or maybe steering and a 2-Axis Arm. If you would like to use my code feel free. Please let me know of any bugs or fixes that you find.
I have updated the code to use mechanical limit switches. They will stop the movement and prevent integral windup.
All times are GMT -5. The time now is 06:49.