Currently I am doing on the arducopter and I have encountered some problems about the programming part.
Firstly, how do I vary the PID values for my quadrotor?
I have found certain lines in the programming, is it changing this to do? (I am using stable mode)
err_roll = constrain(err_roll,-25,25
roll_I = constrain(roll_I,-20,20);
I also want to put something extra to my quadrotor which is the LED light
The thing that I want to do is when my quadrotor is moving, green LED will blink;
my quadrotor is hovering/takeoff/landing, red LED will blink,
I think one way to do it is using 2 outputs from the ardumega to achieve this but I do not know how to write into programming language? Anyone has some useful resources so that I can read through it or anyone has ideas on this?
Thanks...
Replies
Have any ideas about adding the LED...
From the webpage, I saw one page that is about the LED on the frame but it is under construction....
Is it similar to the thing that I want to do on my quadrotor?
PIDs are all set in the User_Config.h file, not in the code.
You shouldn't have to adjust the PID values if you have the arducopter kit.