I am modelling and flying since 2003 but very new in UAV (not yet started). I have downloaded ArduPilit 2 by Chris Anderson & Jordi Munoz of Feb/18/2009. When I open it on Arduino 0017 and run Verify/Compile I get the following line highlited in the ArduPilot tab:
reset_PIDs(); //Reset all the PIDs
and get the following message at the bottom:
error: 'reset_PIDs' was not decleared in this scope
In function 'void loop()':
error: 'reset_PIDs' was not declared in this scope In function 'void throttle_control()':
In function 'void yaw_control()':
I am not familiar with the coding language and so cannot fix it. Should I ignore it? or how to fix it? Some relevant members are requested to explain.
Many more question to come in future before I fly my UAV, please be patient.
Chris Anderson is suggesting to use Code version 2.31. But I am not using Shield Expansion Kit and XYZ Sensors with the board. Instead I intend to use FMA Co-Pilot (because of low budget). Can I still use the new code?
I had order the hardware in mid August and will get them in next month. Don't worry, I am living on the other side of the world and things go very slow here. However, according to the previous main page of the ArduPilot I had ordered with the Code 1.x option that included the board, EM406, FMA Co-Pilot, Advanced Servo Buffer and FTDI Cable (no Z sensor, no expansion kit). At that time I was not much aware of the board but now I have come to know that the board included with the stuff is Atmega328. Now as you have updated the ArduPilot main page, the ArduPilot 2.x Manual has confused me that what code should I use with this combination of hardware? Because the Code 2.2 supports Atmega 168 where as Z Sensor is required for Code 2.3. Ordering additional hardware in not possible for me now.
Currently I am struggling with C++. Over 25 year back I was an excellent programer of BASIC. C++ is similar to that but now my bilological hard drive and RAM have been very old. Its like when I read the next line in the code, I forget the previos line, lol. However, I hope that this community will help me in understanding and/or modifying the code according to my need and someday I will fly my UAV.