by robots42 » Wed Jul 30, 2008 4:18 pm
by robots42
Wed Jul 30, 2008 4:18 pm
Hi
I have been looking at the Template code and making a library of reuseable blocks. Something odd seems to happen with the PTP and Speed depending on whether or not G6x has 5 or 6 data items. In Hitecs latest fast-walk there are only 5 data items corresponding to the five servos used. However in other routines there are often 6 items and the data for the nonexistant 6th servo is sometimes 60, or 70 or 100. If this value is greater than the other values then with PTP on it will obviously affect the overall speed of the move. BUT removing the 6th data item sometimes affects the speed of the move even when the 6th value is say 10. Why does RoboBasic need this value sometimes and not others? Removing the 60s from backward_walk1: makes RN jerk and fall over, anybody know why?
ie
MOVE G6A, 85, 71, 152, 91, 112, 60
MOVE G6D,112, 76, 145, 93, 92, 60
works
MOVE G6A, 85, 71, 152, 91, 112
MOVE G6D,112, 76, 145, 93, 92
doesn't work
MOVE G6A, 85, 71, 152, 91, 112,
MOVE G6D,112, 76, 145, 93, 92,
doesn't work
MOVE G6A, 85, 71, 152, 91, 112, ,
MOVE G6D,112, 76, 145, 93, 92, ,
doesn't work
David
Hi
I have been looking at the Template code and making a library of reuseable blocks. Something odd seems to happen with the PTP and Speed depending on whether or not G6x has 5 or 6 data items. In Hitecs latest fast-walk there are only 5 data items corresponding to the five servos used. However in other routines there are often 6 items and the data for the nonexistant 6th servo is sometimes 60, or 70 or 100. If this value is greater than the other values then with PTP on it will obviously affect the overall speed of the move. BUT removing the 6th data item sometimes affects the speed of the move even when the 6th value is say 10. Why does RoboBasic need this value sometimes and not others? Removing the 60s from backward_walk1: makes RN jerk and fall over, anybody know why?
ie
MOVE G6A, 85, 71, 152, 91, 112, 60
MOVE G6D,112, 76, 145, 93, 92, 60
works
MOVE G6A, 85, 71, 152, 91, 112
MOVE G6D,112, 76, 145, 93, 92
doesn't work
MOVE G6A, 85, 71, 152, 91, 112,
MOVE G6D,112, 76, 145, 93, 92,
doesn't work
MOVE G6A, 85, 71, 152, 91, 112, ,
MOVE G6D,112, 76, 145, 93, 92, ,
doesn't work
David