|
Re: separate classes
The only thing I see without knowing what you symptons are, is that you never instantiate DriveRobot.driver.
In the future when you post issues like this, you need to include more information. Are there any errors? Does the DS say "No Code", "Watchdog Not Fed", etc? Does the DS message change when you enable or disable it? These are all important pieces of information we can use to help find your issue.
I would also say that seperating functionallity is often a good thing, but you're sperating things in an unusual way. I suggest you spend some time reading Java code posted by other teams. It may give a better idea of how Java programs should be partitioned.
__________________
Eric Haskins KC9JVH
|