View Single Post
  #2   Spotlight this post!  
Unread 19-03-2013, 22:05
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: What's the difference between robotInit() and constructor in SimpleRobot?

The robotInit() will be ran once when the robot first turns on. I put in commands to initialize settings to separate it from the actual objects (victors and sensors.) It is really just there if you need to run something at startup.
Reply With Quote