frc1418 / ftc-2015

Repo for the 2015-16 season of FTC
0 stars 1 forks source link

@virtuald can you tell me why tank.move doesn't work but printing something out does #22

Closed ArchdukeTim closed 8 years ago

ArchdukeTim commented 8 years ago

DON'T MERGE!

virtuald commented 8 years ago

You're going to need to be more specific than that. What line prints out, and what line doesn't do what you expect?

ArchdukeTim commented 8 years ago

So In driveForward if you put a println statement in the state method it will print out. But tank.move will not happen. I print out the values being passed to TankDrive.move and nothing gets printed (meaning it doesn't get called). Why?

virtuald commented 8 years ago

Maybe there's an exception being swallowed? Recommend you step through it with a debugger to see what is actually happening.

virtuald commented 8 years ago

The other thing is that perhaps your state machine isn't cycling the way you think it's supposed to cycle. Where are those unit tests?

ArchdukeTim commented 8 years ago

My dog ate them I think