CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

integrating with PIC

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
pfo



Joined: 22 Feb 2004
Posts: 16
Location: vienna, austria.

View user's profile Send private message Visit poster's website ICQ Number

integrating with PIC
PostPosted: Wed Feb 25, 2004 7:51 am     Reply with quote

hi!

i want to double integrate acceleration values (255 - 768 for - 1g and +1 g, respecivley)to get the new position ...
how would i design an algorithm that calculates the new position?
i mean i only have discrete values?
plz help Smile


regards
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

Re: integrating with PIC
PostPosted: Wed Feb 25, 2004 9:33 am     Reply with quote

pfo wrote:
hi!

i want to double integrate acceleration values (255 - 768 for - 1g and +1 g, respecivley)to get the new position ...
how would i design an algorithm that calculates the new position?
i mean i only have discrete values?
plz help Smile


regards


First you will need to resolve the acceleration to some kind of units. You will also need some kind of time base to use in your formula. I would suggest logging your data and then examining it from within Excel.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group