View Single Post
  #3   Spotlight this post!  
Unread 14-02-2014, 13:13
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Java Commandbase Subsystems: Init vs DefaultCommand

Quote:
Originally Posted by feverittm View Post
We could start the compressor (using the standard compressor.start() method) in the subsystems initialization call.
This is the slightly less intensive option. It doesn't make the scheduler do anything extra.

Quote:
Do both ways use separate threads from the main thread?
They both use separate threads, because the Compressor class creates a separate thread.
Reply With Quote