Where could I find a tutorial that goes through the Ardupilot code? I'm not new to arduino and I understand c fairly well. I am, however, new to Ardupilot and would like to have a good understanding of the code before I begin programming with it.

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

Join diydrones

Email me when people reply –

Replies

  • I've been nibbling around the edges of the code for a few weeks myself.  Are you two asking about tutorials on using the code as is to get a plane flying itself, or about an overview of what does what so you can start really coding to modify arduplane or create derivative software?

    The code is well commented, but well commented code to do something complex like flying a plane is still complex code... just with comments.  

    I was thinking the other day that, as much for my understanding as anything, I'd like to go through all the code and make an overview...  a list of every variable in the program, with what that variable actually is and where is it modified, as well as a function by function plain text description.  That way if someone wanted to write their own code to handle a certain task they could at least get a head start on what parts would be affected by the pieces they delete or modify, as well as what to call when, and where to look for a particular bit of data.

    The problem with an undertaking like that is it would have to be maintained... and the idea would be to make life EASIER on those actually doing the coding, not more difficult when they have to update the wiki every time they touch the code... so I fear it would be out of date pretty fast...

    Art

  • Hello there

    Can't find anything myself so far either...could anyone enlighten us?

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @SahikaGenc: AWS DeepRacer & Hot Wheels Track https://youtu.be/4H0Ei07RdR4 via @YouTube
Monday
DIY Robocars via Twitter
Sep 8
DIY Robocars via Twitter
RT @davsca1: We are releasing the code of our Fisher Information Field, the first dedicated map for perception-aware planning that is >10x…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: How this works: 1)object detection to find cones in single camera image, 30 frames/sec on @NVIDIAEmbedded Xavier. 2)comp…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: Use two color cones to guide the robocar. No map needed, on onsite training needed. Just place the cones and it will fol…
Sep 7
DIY Robocars via Twitter
Sep 7
DIY Robocars via Twitter
RT @roboton_io: Great to see http://roboton.io running at 60fps on the cheapest #chromebook we could find! #edtech #robotics #educat…
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Crazy in-depth article about using the OpenMV Cam for Astrophotography: https://github.com/frank26080115/OpemMV-Astrophotography-Gear https://t.co/BPoK9QDEwS
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Hi folks, it's finally here! Our first draft of our Arduino Interface Library is out! It works over SoftwareSerial, Hardware…
Sep 3
DIY Robocars via Twitter
RT @chr1sa: Please let them have an open API. This would be perfect for @DIYRobocars races https://twitter.com/NintendoAmerica/status/1301513099707658246
Sep 3
DIY Robocars via Twitter
RT @SmallpixelCar: Lanenet pretty much used all my GPU power on @NVIDIAEmbedded Xavier since I optimized with tensorRT. I need to run anoth…
Sep 3
xemone liked Max Gilson's profile
Aug 31
DIY Robocars via Twitter
RT @LyftLevel5: Our @kaggle competition on Motion Prediction for Autonomous Vehicles is now live! Experiment with the largest-ever self-dri…
Aug 24
DIY Robocars via Twitter
RT @chr1sa: Our next @DIYRobocars virtual AI car race will be on Sept 26th. Sign up here https://www.meetup.com/DIYRobocars/events/272786977/ https://t.co/UENKGSOWO8
Aug 24
DIY Robocars via Twitter
New ready-to-run @NVIDIAEmbedded JetRacer car from Waveshare. Perfect for the next @diyrobocars race as soon as we… https://twitter.com/i/web/status/1297960223013867520
Aug 24
DIY Drones via Twitter
RT @chr1sa: The US government just approved 5 US-made drones for purchase, all based on the @Dronecode @PX4Autopilot standard. Great news f…
Aug 20
More…