aklego
25-11-2010, 00:26
Greetings,
I've attached a set of modified motor .vi's that execute ~30% faster than the ones in the toolkit. The optimizations are listed in the block diagrams for those who are interested. They are direct replacements for the existing .vi's and should require no further modifications to your code.
These .vi's will not cure fundamental code problems. Rather, they will let you coax a little bit more out of the NXT. An example where they might be useful would be in an autonomous balancing program that is not quite looping fast enough to stay balanced.
Most of the speed tricks could also be applied to the fixed distance and servo .vi's if you choose to do so.
As always, caveat emptor.
Best Regards.
I've attached a set of modified motor .vi's that execute ~30% faster than the ones in the toolkit. The optimizations are listed in the block diagrams for those who are interested. They are direct replacements for the existing .vi's and should require no further modifications to your code.
These .vi's will not cure fundamental code problems. Rather, they will let you coax a little bit more out of the NXT. An example where they might be useful would be in an autonomous balancing program that is not quite looping fast enough to stay balanced.
Most of the speed tricks could also be applied to the fixed distance and servo .vi's if you choose to do so.
As always, caveat emptor.
Best Regards.