Making Flow chart for Multiwii development?
Making Flow chart for Multiwii development?
Hi all,
What do you think of th idea, making a flowchart for the whole MWI code or at least for basic parts of code?
That could be really useful for development. Also every modification could be marked in it.
For example in microsoft visio?
I know this is a huge job but makes the code flow more perspicuous....
Or completelly stupidness and useless?
BR
Adrian
What do you think of th idea, making a flowchart for the whole MWI code or at least for basic parts of code?
That could be really useful for development. Also every modification could be marked in it.
For example in microsoft visio?
I know this is a huge job but makes the code flow more perspicuous....
Or completelly stupidness and useless?
BR
Adrian
Re: Making Flow chart for Multiwii development?
It would be good to have.
But even better is to find a tool which does produce such output. Then the graph will not become outdated but can be kept current. Else a lot of effort will go into a blind alley.
But even better is to find a tool which does produce such output. Then the graph will not become outdated but can be kept current. Else a lot of effort will go into a blind alley.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: Making Flow chart for Multiwii development?
Was the debate about moving to GitHub about its ability to do this?
Re: Making Flow chart for Multiwii development?
Do you mean something like Doxygen would generate from the code? Or something that does explain what happens at each state, etc? Possibly realtime, like a MultiWii simulator you can peak into?
Re: Making Flow chart for Multiwii development?
More what happens at each stage, the "setup" and then the "loop". Focusing on the main functions and timings.
Re: Making Flow chart for Multiwii development?
So nothing like the graphs Doxygen would generate (examples attached)? Timings may be difficult because the dependence on compile options (config.h) ...
Last edited by Sebbi on Sun Jan 06, 2013 10:15 pm, edited 1 time in total.
Re: Making Flow chart for Multiwii development?
Oh, looks great. I'll test Doxygen!!!
Re: Making Flow chart for Multiwii development?
Hi,
Nice, but all this you can have it in Eclipse IDE or other recent dev tool. I was more after some summary of the code logic used (a human thing).
Timings and a bit of comments would be nice. Is something like this possible?
I would like to do easy tests like :
At power up of the board, getting the rx signal directly to the motor outputs bypassing the sensors and pids. And where in code can i place it, at the end of setup()?
Basically:
Code
while (1) {
computeRC(); // so i have the transmitter signals in rcData[]
blinkLED(4,20, 4); //delay a bit
writeAllMotors(rcData[THROTTLE]); //output the rx signal to the motor output
}
Thanks,
manu
Thanks,
manu
Nice, but all this you can have it in Eclipse IDE or other recent dev tool. I was more after some summary of the code logic used (a human thing).
Timings and a bit of comments would be nice. Is something like this possible?
I would like to do easy tests like :
At power up of the board, getting the rx signal directly to the motor outputs bypassing the sensors and pids. And where in code can i place it, at the end of setup()?
Basically:
Code
while (1) {
computeRC(); // so i have the transmitter signals in rcData[]
blinkLED(4,20, 4); //delay a bit
writeAllMotors(rcData[THROTTLE]); //output the rx signal to the motor output
}
Thanks,
manu
Thanks,
manu
- AllenCharles
- Posts: 1
- Joined: Thu Oct 31, 2013 12:19 pm
- Location: 831 Landa St # E New Braunfels, TX 78130
- Contact:
Re: Making Flow chart for Multiwii development?
Hey Sebbi I really appreciate your work and effort to make a good chart, according to me every entry is properly mentioned but only the issue it gets too messy. It will be much better if it is shown in a proper manner.
_______________
chart software
_______________
chart software
Re: Making Flow chart for Multiwii development?
I suspect spam ... first post, stock photo as avatar, link to chart software and english doesn't seem to be his first language.
-
- Posts: 1630
- Joined: Wed Jan 19, 2011 9:07 pm
Re: Making Flow chart for Multiwii development?
Sebbi wrote:I suspect spam ... first post, stock photo as avatar, link to chart software and english doesn't seem to be his first language.
I suspect also