FIRST Tech Challenge Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Delayed reactions

I just started using labview and when i try the joystick configuration and then i test it everytime i so some action say tank drive it takes a while for the robot to react . Please tell me how to fix this problem

Thanks

0 Kudos
Message 1 of 4
(4,182 Views)

This could be an issue with how Bluetooth works on the NXT. The computer is sending messages to it 5 times a second, when the NXT can only store 5 messages tops. It must go through the messages, which takes a while, and that is what causing the lag you see. There *is* a fix, described here: https://decibel.ni.com/content/docs/DOC-666 , but you need to have actual code controlling the robot for it to work. If you download and install the FTC toolkit for LVLM, the robot's remote control editor will have a "generate code" button that will do exactly that, so you can fix it.

Otherwise, you could try running it over USB if you're lazy. That works too.

________________________

Dr. Quigley

Team 5818 BOTtering Rams

0 Kudos
Message 2 of 4
(3,009 Views)

Out of curiosity, are you on a Mac or PC?  We see the same behavior on our Mac and have started using the largely obsolete FTC Controller Station.vi as a workaround.  It is a bit of a nuisance to switch back and forth....

0 Kudos
Message 3 of 4
(3,009 Views)

My team mainly uses PCs, but we have used a Mac with success. (An MLTI mac, no less, however we had to have it enabled explicitly on the laptop by the school admin.)

I'd still suggest installing the latest FTC toolkit, it makes the LV rcc editor act as an unofficial FCS, making it much easier to handle remote input in a VI.

0 Kudos
Message 4 of 4
(3,009 Views)