Quote:
Originally Posted by shawnz
iah, but how is this done? the PID suggestion seems interesting, but how do we actually get inside the devref to do all this? just unbundle and go through the Motors array? at that point scaling could be trivial (i.e. just multiply) but is there a nicer way to actually get that far?
|
Don't modify library code.
There's certainly no reason to breakout the DevRef.
You are feeding the settings into the drIve vi's now.
Modify them before you feed them in.
The default teleop.vi takes a joystick axes value and wires it into the Arcade Drive vi.
Put your new code between the Joystick axes and the Drive vi of your choice.