Go to Post "Only YOU can prevent G22 infractions." - Qbranch [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #11   Spotlight this post!  
Unread 31-01-2010, 02:27
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: The 2nd Joystick must DIE

Quote:
Originally Posted by Hadi379 View Post
Can someone look at my telop code and let me know if this is correct. I thought I was on the right track, but from other posts on here, I decided to go another route. The image of the telop.vi is attached. Sorry for the poor resolution, but i had to make the file size small enough. Thanks....
It looks reasonable, but there is an easier way to convert from cartesian to polar (the magnitude and direction). In the palette under Programming >> Numeric >> Complex choose "Re/Im to Polar". This VI does all that math internally. The output is in radians, so you still need the conversion to degrees.

In the next update there will also be a VI that takes cartesian inputs so you can wire your joystick up directly.

As for the poor resolution, you should use jpg or png, not bmp. bmp is basically just a raw image with no compression.
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: In the pit everyone must follow the rules Rich Wong Extra Discussion 3 02-07-2009 15:57
The 2nd and 3rd Clue???? nevereverregret General Forum 4 19-01-2009 20:22
Why MUST the 7.2v battery be attached to operate servos on the RC? Mike Rush Control System 17 06-02-2004 18:57
... And the Boards Die AJ Quick Chit-Chat 19 14-04-2003 13:36
I must be the postman... archiver 2001 4 23-06-2002 22:22


All times are GMT -5. The time now is 01:54.

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