by i-Bot » Wed Jul 25, 2007 8:42 pm
by i-Bot
Wed Jul 25, 2007 8:42 pm
I think the strange motion is due to the reading of the position, which does turn the servo into "limp" mode for a short period.
As an alternative you might try:
poke 1251,255
poke 1252,255
poke 1253,255
During a move this might enable to then do another move immediately without a wait. Again I have not had chance to test this. Use the 3 instructions as the stop, then make a new move straight after.
For the serial port speed, less help ! The controller spends most of its time in the interrupt routines for the motion. about 75% !. When it is not there, it is interpreting byte code from EEPROM and executing. The robobasic instruction time is in the milliseconds. This is why the speed probably makes little difference.
I think the strange motion is due to the reading of the position, which does turn the servo into "limp" mode for a short period.
As an alternative you might try:
poke 1251,255
poke 1252,255
poke 1253,255
During a move this might enable to then do another move immediately without a wait. Again I have not had chance to test this. Use the 3 instructions as the stop, then make a new move straight after.
For the serial port speed, less help ! The controller spends most of its time in the interrupt routines for the motion. about 75% !. When it is not there, it is interpreting byte code from EEPROM and executing. The robobasic instruction time is in the milliseconds. This is why the speed probably makes little difference.