02-09-2011 09:03 PM
We have been seeing a ~1 second delay in motor response from Joystick commands. This occurs in all our motors, even though the drive motors get their values in a vi run in parallel to the main loop. Will a few motor vi's in the Teleop vi cause this?
We are reading all our sensors in Periodic Tasks.
02-09-2011 09:14 PM
well, what is your loop delay set to? try lowering that.
and how many motors you have?
We have 9 motors. (4 cim, 4 window, 1 banebot). but our code is in a seperater vi that sits next to robot main.
Davis Catherman
02-10-2011 05:35 AM
the teleop vi delay is governed by the communications with the DS...every 20 ms. We will move our motor vi's to a separate vi.
02-10-2011 11:00 AM
Since it sounds like you have a lot of parallel loops, what timing do you have in them? If you overwhelm the processor, it won't read the joysticks often enough.
Maybe you could post your project.
02-10-2011 11:05 AM
20 ms in motor loops, 10 ms in sensor loops