View Single Post
  #1   Spotlight this post!  
Unread 16-02-2015, 12:03
danruff5 danruff5 is offline
Hobbiest Programmer
FRC #4525 (Rambot)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Springfield
Posts: 13
danruff5 is an unknown quantity at this point
Exclamation robotInit() not being called.

We are working on our auto. But to get everything to run we have to enable it in telop first. Then we enable it in auto and it works fine.

I have done some testing and the I have found an issue where the robotInit() method was not being called. This was tested by just creating four Victors in it which where the drive motors. Then in auto I set all of them to some values to set them. If i put the Victor creation in the robotInit() constructor the robot throws the NullPointerException. If its otherwise it works.

I have read the API and thats what the robotIntit() method is for. So, I am not sure what is going on...

The robot is extended from SampleRobot because we have not learned the iterative robot.
__________________
100101010101
Reply With Quote