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 support@ccsinfo.com

Kalman filter

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



Joined: 25 Oct 2013
Posts: 5

View user's profile Send private message

Kalman filter
PostPosted: Fri Nov 01, 2013 7:26 am     Reply with quote

I'm doing as a school project a quadcopter, and we're having trouble while filtering the entrance of the 10dof module. Is there any working library of kalman filter?

Also, we're going to use PID, so we'll be needing the library of that also, if there's any.

Thanks!
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Fri Nov 01, 2013 7:38 am     Reply with quote

Hi,

Which PIC processor are you using, and what is your compiler version?

John
temtronic



Joined: 01 Jul 2010
Posts: 9134
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Nov 01, 2013 8:00 am     Reply with quote

As far as the PID library..PID is kinda 'specific' to the 'plant' that it's controlling as well as the 'feedback' that is used.
It's all in the details.Type of motors used, speed controllers, feedback.I use encoders 95% of the time as they're far more accurate,fast and stable. Some use PWM for the motor drive,though good old LM12CLKs work real good.Fun when you reverse thrust the blades!
Have you 'googled' your project? There are 1,000s of hits about quadcopters,PICs and code.
Most everyone here will help out in debugging your code but won't give you 'up and running' code.

hth
jay
tomik-po11



Joined: 25 Oct 2013
Posts: 5

View user's profile Send private message

PostPosted: Fri Nov 01, 2013 8:08 am     Reply with quote

I'm using an 18f46k80 microcontroller and my ccs version is 5.008.

Yeah, I know there're many projects on the web, but it's been quite difficult for me to find something easy to understand and that's running well.
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Fri Nov 01, 2013 8:43 am     Reply with quote

Hi,

I've been part of a hobbyist group working on autonomous fixed wing model aircraft for the past few years. We currently have a Sig Kadet flying
pre-programmed 'task's' using GPS-derived waypoints. This project has been a lot of fun!

A couple of really good places to get information are:

http://autopilot.sourceforge.net/
http://DIYDrones.com

John
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