View Single Post
  #35   Spotlight this post!  
Unread 01-12-2009, 09:58 PM
kyungjin kyungjin is offline
Software Specialist
AKA: Daniel
VRC #0646
Team Role: Programmer
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Honolulu, Hawaii
Posts: 65
kyungjin is an unknown quantity at this point
Send a message via AIM to kyungjin Send a message via MSN to kyungjin
Re: Getting Familiar with Programming in WindRiver

Hey Jlulian, I tried what you posted and for the most part everything seems to work fine... except when we try to put it into reverse...

Code:
Jaguar* jaguar1 = new Jaguar(1);
Jaguar* jaguar2 = new Jaguar(2);

jaguar1->Set(0.5); 
Wait(2000);
jaguar2->Set(1.0);
I tried playing around with the code a bit and found that whenever I set the number to a negative value for example:
Code:
jaguar1->Set(-1.0);
... the code wouldn't run...

I haven't tried played around with it too much but I was wondering if you knew anything about this...
Reply With Quote