Go to Post Meanwhile, it's water over the dam, spilled milk, etc. Let's drop the subject and get on with life. I am seeing people warming up their lawyerism, which is not a good thing when we are coming up on build season. - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi