View Single Post
  #9   Spotlight this post!  
Unread 08-02-2012, 15:29
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: How to use tasks

Quote:
Originally Posted by agartner01 View Post
Alright that works... I don't get it (FUNCPTR vs VOIDFUNCPTR), but it works.

Then I was like, why am I getting no output on my console. Then I remembered that the windriver console only works for the current task.
No, not true. we printed debug output from a different task. I don't know if the picture showed the whole code but it doesn't seem to have the task1->Start() call. I don't think the task get started automatically when created. You need to explicitly start it.
__________________
Reply With Quote