Log in

View Full Version : [FTC]: Lag Issues Believed to be Not Associated With Samantha


Just_In_Time
26-01-2014, 17:04
Hello. We recently competed in a qualifier yesterday, and were having some bad issues with the robot taking around 2-3 seconds to respond to joystick commands coming from our drive train. We would drive the robot forward, then it would take around 2-3 seconds after giving it a backwards command for it to start driving in the reverse direction. We are fairly sure it wasn't the field issue as most other teams weren't having similar issues. When we got back, we tested the other motors to make sure they didn't have lag issues, and it still was only the drive train that had lag associated with it. We noticed that in the Samantha field control software, our battery level dropped around 2 volts after running the drive train for about 10 seconds, then went up to the normal level (usually around 13 volts) a few seconds later. At this point, we feel that it may be because our drive train is drawing too much current. We have 4 drive train motors each at a 4:3 gear ratio. Any help is greatly appreciated. Thanks.

JIT

jcarr
26-01-2014, 21:42
Most times that I have seen the lagging problem, it was because Bluetooth was left on. It should be disabled when you do your software inspection (through the NXT screen) and left off for the duration of the tournament.

pyroslev
27-01-2014, 09:50
I've also seen lag due to coding.

RobotC usually cause there is a unused pragma that is not commented out.
Labview cause there was too much code on it.

If you don't need it on the brick for the competition, comment it out or leave it off.

ftcTeam6389
29-01-2014, 12:39
I've also seen lag due to coding.

RobotC usually cause there is a unused pragma that is not commented out.
Labview cause there was too much code on it.

If you don't need it on the brick for the competition, comment it out or leave it off.

@pyroslev - By "unused Pragma" do you mean like if I set up motor controllers and motors and sensors in the "Motors and Sensors Setup" window, but then those motor controllers and motors and sensors aren't actually connected to the NXT and there is no code for them in my program?

- Team 6389

ftcTeam6389
29-01-2014, 12:40
I have also experienced this in the past, although not this year. I've never really found a good explanation that is testable and repeatable.

- Team #6389