Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Interfacing / Re: Decoding Binary input on: October 09, 2010, 05:24:13 pm
    Hi there. Im kind of new to Arduino, and started to work on quadrotor project.  Is this the code to get pitch / roll / yaw values from ardu imu via serial ports (tx rx) ? I see the values on Imu test demos, and tryin to get x,y,z values from imu but i couldnt get the correct values. Any suggestions ?  
2  Forum 2005-2010 (read only) / News / Re: Arduino PID Library on: November 01, 2010, 08:12:40 am
      Hi guys, and Brett. First of all thank you for your huge contributions on PID library, it was just the thing needed. Im kind of new to Arduino and PID's too. I have designed PID compensators in control fundamentals class but newer used it as a code on a real system smiley
     I have a little problem using PID lib. Its actually very user friendly but im trying to control my quadrotor using pid lib.  I use pitch, roll angle values from Ardu Imu V2 as an inputs of PID, trying to get output values as esc pwm's. I dont have problems reading from Imu but i dont get output changes. IMU values change like 300 times but output changes 1 or 2 times, or  never change sometimes. I have changed the sampiling period of PID a few times but i couldnt find the solution any way. Any suggestions on that ? Thanks...

Update :
  I think i found my mistake, sorry about that. I wasnt careful about PID input variables. I use integer for my pitch, roll, yaw values which is ok for me. My ( int ) pitch doesnt match PID ( double ) Input so PID.Compute calculate just once or a few times.

So, now the question is do we have stable working int version of PID lib ? Or i guess i need a conversion. Thanks...
Pages: [1]