Hey,

I looked at the code by loading the latest code from the following link, and don't understand it much. My basic concern is understanding everything in code. Is there any link which explains each function on manual that i missed? If there is not, where should i start from? I am looking for any advice here(any website). 

Thank You

Tags: Programming, Tutorial, to

Views: 1104

Reply to This

Replies to This Discussion

I would also love to see some sort of documentation which covers at least the major areas of programming the APM(more than just the config).

More comments in the programming would be a good start.
Resat,

You might want to take a course in "C" programming if you want to understand the code in depth. I do not believe that anyone on the Forum has the time to hold you hand concerning the present flight code. I suggest that you do a web search for an explanation of the basic automatic pilot flow process.

Regards,
TCIII
I wouldn't expect an in depth explanation. Mainly just more comments in the code would be a huge improvement. This would make it easier for more users to get involved which I believe would benefit the code.
If I recall correctly, someone took on the tasks of adding more detail a couple months ago. I'll see if I can find the post.
Please share with me.
I understand where you are coming from. I have 30 years in electronics and computing. This still has a steep learning curve. I'm working on some documentation and I would be interested in anything you find difficult.

Here are some of the documents I'm working on. Please know these are a work in progress and need more work.

FAQ: https://docs.google.com/document/d/1is-pzgdAhgsm32nuiDXclQsG_5mJYR6...

Confusing Terms: https://docs.google.com/document/d/1cmtvfdWskf2aSjC2HrcBjZ03hEvZe5G...

APM Code Outline: https://docs.google.com/document/d/1OCEMtCq7Njr-YeEroSsMPQCZNP0QvMx...

I'm working on diagrams to describe the code.

This is a good diagram of the hardware: http://code.google.com/p/ardupilot-mega/wiki/RCSetup I think it needs some more details to help with the code. Thinks like the IO/COM port the GPS uses, voltages (5v) out of the ECS, default baud rates for things like USB, XBee and GPS interfaces.
I just skimmed it, and looks helpful. If you can provide more information in details. That would be wonderful. Thank You.
Mark, the APM Code outline is great! I would also suggest maybe having a short paragraph above each .pde file summarizing what the file controls. This is definitely going in the right direction and should give users more confidence when tackling the code!

I see that you do this on some of the .pde's :).
Okay so google chrome or ning.com is not letting me edit....

But I think that the code outline is turning out well. I would also like to suggest adding more comments to the code. This will be helpful to someone like myself who has minimal experience in other programming languages.

Thanks for the hard work and dedication you have put into this.
Yup that's exactly the kind of think I'm working on. Thin a link to any math functions with descriptions of how they are used.

When i go to the link which is FAQ. it has a flow chart section. I need to tell you that that is not a flowchart of the code or ardu meda pilot. Could you please provide me a flowchart that i can start understanding how it works? 

These are fantastic documents. I have a lot of programming experience but none in C++ so this is very helpful in trying to understand how the programming language works as well as how the program works. I'm curious if you are still updating these (especially the AMP Code Outline)? I'm thinking about making some modifications to the code but I want to make sure I understand it all before I make any changes.

hey,

Love your work, thank you so much,

Any chance you have a final version, or some code manual for recent firmware?

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service