How can you go about adding a debug statement to the ArduPilot code. I made some changes and wanted to log or print to screen during SITL testing.Will the Serial.print work anywhere I put it without breaking something?Or is there something already…
"These are the results from my MATLAB / SIMULINK test. I used a simple transfer function of 1/s+10 with a step input. I did have to add a rate limiter to the derivative because it was exploding when it first got hit with a step.
"I figured out the param_table.h, c files and generated my new ones that should work with the self learning PID. Located at me cloned repo http://code.google.com/r/litho23-ardupilot/."
I did some research and implemented a self learning PID algorithm. It is located in my cloned repo http://code.google.com/r/litho23-ardupilot/. I really like how it turned out. I hope you all are able to use it with success i'm lacking hardware…