How To Create APM Wall Charts (ArduPilot Diagram)

This WallChart.pdf is a first draft of an idea to provide diagrams of the relationships between the different modules of any Arduino drone project that new users can stick on the wall.

ArduPilotWallChartThumb.png

The pdf shows a map of how the various parts of the ArduPilot program interlink. You will see that currently the code diagram is very busy. How could all this information be presented in a more structured manner in a single snap-shot?

How to Create Your Own Code Diagrams - ArduPilot Example

If you have Window XP or Windows 7 then you can easily create your own code diagrams using the Arduino plugin for Microsoft Visual Studio Professional . 

The plugin is free, you can read how to get a free legal copy of Visual Studio Professional from here.

1. Open ArduPilot.pde or (.ino) in Visual Studio and right click anywhere in the code.

HowToGenerateGraphOfArduinoIncludeFilesInVisualStudio.png

 

2. Visual Studio will open a new code window containing the diagram explorer tool. Progress will display while the code diagram is being automatically created.

ArduinoForVisualStudioGenerateDiagramProcessingVisualizations.png

 

3. The code diagram will automatically appear when the visualization is complete. If required, you can edit the diagram, change the layout and remove items by using the mouse or diagram toolbar controls

ArduinoForVisualStudioGenerateDiagramTool.png

About Arduino Compatibility in Visual Studio 

Visual Studio is a simple installation and provides 100% Arduino compatible compile and upload combined with intellisense and code explorer tools.

If you are unsure how easy the plugin is to use then you can read what users have to say in the What do you think section of our forum. If you have been using the plugin for a while then please then please support the product by joining the forum.

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Hi Clayton, will do as soon as I get a spare moment

  • Hello @Tim, could you post some updated charts for ardupilot 2.7?  It'd be much appreciated!

  • Tip: Don't forget that you can right click any code which gives you a menu with two very useful options for apm.

    1) Go to definition - Jumps to the definition of whatever you click.

    2) Find all references - Finds everything that uses whatever you click.

    I find these two functions very useful when looking at code I did not write :)

  • add to the last post: because of the academic version, although viewing the apm project via visual studio is easier for me than in the std. arduino editor

  • Okay phew, had me worried. Thanks for the speedy reply

  • the "project->show all arduino files" is there and working, just not the "generate graph of include files"!

  • Thanks for the comments.

    @Philipp I need your help please.

    The menu item "project>show all arduino files" is created by the plugin so it not tied to a VS version. Are you saying that in the academy version you do not have a pull-down "Project" menu at the top of the ide?

    If not then I need to change the plugin to cater for academy version because there are other important arduino commands on the Project menu. Look forward to hearing. Thanks v much

  • @fab thanks for the hint, unfortunately vs academic = vs prof... but don't mind, the plugin from visualmicro.com is GREAT!!!!

  • thanks @entropia666 too

  • Philipp, great let me know if I can help.

    Q:Have you clicked on the project in the solution explorer and then clicked the menu item "Projects>Show all arduino files"?

    That's a good option for apm dev! It brings all the libraries into the project which for apm is really very useful :)

This reply was deleted.