View Single Post
  #4   Spotlight this post!  
Unread 24-04-2016, 11:34
buckskinner1776 buckskinner1776 is offline
Registered User
FRC #3098
 
Join Date: Jan 2015
Location: Waterford
Posts: 7
buckskinner1776 is an unknown quantity at this point
Re: JAVA Command Group Question

Yes. I don't see it as being a scope issue. I just caught yesterday that the commands are actually in the command group constructor. Had never noticed that before. Explains why we couldn't run if structures in it.

We came to the same conclusion. Use the initialize method to check the global. This could very well explain the behavior that we'd seen the previous years as well. It was kind of fuzzy and only seen at certain times.

We were coming to the conclusion that all of the commands in the command group were being instantiated early. Our previous train of thought is that they would be instantiated when we instantiated the command group. A few system.outs for the poor man's trace seemed to be showing us otherwise.

this link: http://www.chiefdelphi.com/forums/sh...ommand+gro up has some interesting concepts to get around it as well. But it was a little past my experience and I don't want to tackle that at t-3 days.
Reply With Quote