Raised This Month: $ Target: $400
 0% 

Hours trying, I had to ask for help..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
TiToTal
Member
Join Date: Feb 2006
Old 03-05-2006 , 09:33  
Reply With Quote #6

Quote:
Originally Posted by PM
I, I guess that your problem is that you are using %i for the angles[0] variable while angles is an array of floating point numbers. This should give you some weird values.

Try changing the fourth %i to %f

edit:

also, note that angles[0] is pitch, angles[1] is yaw and angles[2] is roll. I think at least.

This shows which is which I guess: http://www.dform.com/gif/dirhead.gif
Thank you... it may explain why I was getting numbers like: -29073264 lol... ^^

EDIT: IT WORKED... THANKYOU THANKYOU THANKYOU =D

IT WAS SO SIMPLE... ARGH... Its what happen when you star codding without studing it before, lol... THANKYOU MAN I LOVE YOU =D

I gave you all karma I could, lol...
TiToTal is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode