Loading...
Welcome,
Guest
. Please
login
or
register
.
May 22, 2013, 01:47:07 am
|
Arduino Forum
::
Forum 2005-2010 (read only)
::
Software
::
Syntax & Programs
:: pid
« previous topic
next topic »
Pages: [
1
]
Go Down
Print
Author
Topic: pid (Read 155 times)
0 Members and 1 Guest are viewing this topic.
axileon
0
Offline
Jr. Member
Karma: 0
Posts: 53
Arduino rocks
pid
«
on:
January 29, 2008, 04:09:54 am »
Bigger
Smaller
Reset
hi people, i'm doing an autostabilising camera platform for uavs. i'm using arduino with adxrs300 and IDG300.... i'm wondering if i need acclerometers.. and there's some problems with my program.... seems that its not responding fast enough... maybe my code is wrong or something... something wrong with the sampling rate? cos i'm using interrupts to pulse the servos and looping to read the sensors.. i'm doing averaging for the 3 gyro rates.
Logged
axileon
0
Offline
Jr. Member
Karma: 0
Posts: 53
Arduino rocks
Re: pid
«
Reply #1 on:
January 30, 2008, 01:43:33 pm »
Bigger
Smaller
Reset
can anyone help?
Logged
kuuk
berlin
Offline
Sr. Member
Karma: 0
Posts: 293
Re: pid
«
Reply #2 on:
January 30, 2008, 02:34:25 pm »
Bigger
Smaller
Reset
hi axileon,
maybe you should be more specific on what you're doing and how you're doing it. maybe some code or a drawing. it's really hard to tell why your setup isn't "fast enough" like this. is it almost fast enough or does it take like 50 seconds to update the position?
depending on how far you are with the whole project, it might be an idea to concentrate on the adxrs300 first. it's well documented and (so i read) much more precise than your idg300. i've worked with neither of them though.
how are you using the interrupts to pulse the servos? without really understanding what you do, it sounds like your interrupts are called too often. so that your loop never gets executed.
i'm not sure neither, if you need interrupts at all to do what you want.
best, kuk
Logged
Pages: [
1
]
Go Up
Print
« previous topic
next topic »
|
Arduino Forum
::
Forum 2005-2010 (read only)
::
Software
::
Syntax & Programs
:: pid
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
Using Arduino
-----------------------------
=> Installation & Troubleshooting
=> Project Guidance
=> Programming Questions
=> General Electronics
=> LEDs and Multiplexing
=> Displays
=> Audio
=> Motors, Mechanics, and Power
=> Sensors
=> Networking, Protocols, and Devices
=> Interfacing w/ Software on the Computer
-----------------------------
Topics
-----------------------------
=> E-Textiles and Craft
=> Robotics
=> Science and Measurement
=> Home Automation and Networked Objects
=> Device Hacking
=> Education and Teaching
=> Interactive Art
=> Product Design
-----------------------------
Development
-----------------------------
=> Suggestions for the Arduino Project
=> Other Hardware Development
=> Other Software Development
-----------------------------
Community
-----------------------------
=> Website and Forum
=> Products and Services
=> Gigs and Collaborations
=> Workshops and Events
=> Local Groups
=> Exhibition / Gallery
=> Bar Sport
-----------------------------
International
-----------------------------
=> Deutsch
=> Español
=> Français
=> Italiano
=> Portugues
=> Scandinavia
-----------------------------
Forum 2005-2010 (read only)
-----------------------------
===> Uno Punto Zero
===> Bar Sport
===> Frequently-Asked Questions
===> News
===> Exhibition
===> Workshops
===> Interfacing
===> Bugs & Suggestions
===> Development
===> Troubleshooting
===> Portugues
===> Deutsch
===> Español
===> Français
===> Italiano
===> Scandinavia
===> Development
===> Interfacing
===> Syntax & Programs
===> Bugs & Suggestions
===> Troubleshooting
===> Report Spam at Arduino.cc
===> Forum
===> Playground Wiki
=> General
=> Hardware
=> Software
=> International
=> Web/Forum/Email/Spam
-----------------------------
Using Arduino
-----------------------------
=> Storage
=> Microcontrollers
-----------------------------
International
-----------------------------
===> Humor y Debate
===> Talleres, Encuentros, ...
===> Tutoriels et cours
===> Réalisations et Projets Finis
===> Le bar
=> Nederlands
===> Software
===> Hardware
===> Proyectos
===> Documentación
=> India
===> Hardware
===> Software
===> Megatopic
-----------------------------
Products
-----------------------------
=> The Arduino Starter Kit
=> Arduino Due
-----------------------------
International
-----------------------------
===> Generale
-----------------------------
Products
-----------------------------
=> Arduino Esplora
=> Arduino GSM Shield
-----------------------------
Maker Faire Rome - The European Edition
-----------------------------
=> Makers
=> Events and Tour
Loading...