View Single Post
  #4   Spotlight this post!  
Unread 12-01-2013, 17:40
nathan_hui nathan_hui is offline
Registered User
AKA: Nathan Hui
FRC #2473 (CHS Robotics)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Cupertino, CA
Posts: 228
nathan_hui will become famous soon enoughnathan_hui will become famous soon enough
Send a message via AIM to nathan_hui
Re: Problems With FCS and Samantha

Could you write some very basic diagnostic test code (run this motor continuously, run that motor continuously, etc. but only one thing at a time) and see if you still have the problem?

You can't be sure that the NXT isn't sending the command to the motors until you explicitly tell it do only that and nothing else (by writing a program to do only that). If that doesn't work, replace the HT Motor/Servo Controllers. Also test the motors by connecting directly to a +12V power supply. If you happen to have a function generator, you can also test the servos to make sure they work.

When you debug a problem, look at the way the robot receives it's control commands and simply follow the same path, testing each part until you find the one that doesn't work. That's essentially what we're doing here: testing in sequence the network, software, motor controller, and motors.
__________________
Nathan Hui
B.S. Electrical Engineering, UCSD '16
FRC 2473 (CHS Robotics), Team Captain '12
FTC 4950, 6038