Init_Ardupilot() Puzzle

Dear all

Can anyone clarify something for me? I am trying to understand where the CLI mode program is initiated from? Originally I assumed it was running from the APM board just like a mini OS but looking through the ardupilot 2.8 code I see nothing relating to the terminal screen. For instance the opening screen says

"Move the slide switch and reset to fly"

a egrep of the code shows this serial output does not exist

Therefore I conclude that the CLI runs from the ground station software?

Please could someone confirm this is correct? or not? and if not where is the code running from?

Plus can anyone comfirm if they are having issues with git Repo https://code.google.com/p/ardupilot-mega/ ? my Git downloader is either faulty or the Git has an issue?

cheers

:)

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

Join diydrones

Email me when people reply –

Replies

  • Moderator

    I think you pulled Ardupilot (Legacy) code rather than ArduPilotMega. Meanwhile, the CLI print output you are looking for is in the current ArduPilotMega / ArduPlane code. 

    If you are running APM and not the old AP hardware, you will want to be working with either a release of ArduPlane 2.28 or the GIT repo at https://code.google.com/p/ardupilot-mega/ subdirectory ArduPlane (and libraries, of course) I recommend pulling a new working copy (or better, get the release from the downloads, unless you need bleeding edge....)

  • 3D Robotics

    Nathan: Are you looking at the shared Libraries, too? Most of the ArduPlane code is in there, not the ArduPlane-specific folder.

    Also, Git pulls are working fine for me.

  • PS GIT gives

    fatal: early EOF
    fatal: The remote end hung up unexpectedly
    fatal: index-pack failed
    error: RPC failed; result=18, HTTP code = 200

  • Moderator

    Take another look at your grep syntax/command - 

    ArduPlane/system.pde:27: "Move the slide switch and reset to FLY.\n"
    ArduPlane/system.pde:265: Serial.println_P(PSTR("\nMove the slide switch and reset to FLY.\n"));

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…