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

:)

Views: 167

Reply to This

Replies to This Discussion

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"));

Hi Mike, thanks for replying...

I am using Arduplane 2.8 from the Git repository (two weeks ago), on those lines in system.pde I get

line 27:// Enable GPS

line 265:    break;

I had a look at 2.7 and I see the code, just as you say. This is very confusing, is there an issue with the GIT Repo? its as if some code is missing. See attached code

Attachments:

The previous grep output was from the released 2.28.

Here is what I get from the current GIT pull (updated a few moments ago) - 

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

Would you like for me to delta my working copy to two weeks ago and pull the same? What is this Ardupilot 2.8 code that you refer to? Might you be using a different project rather than the current software? The current ArduPlane release is 2.28, not 2.8...

Verify your GIT path/URL from:

http://code.google.com/p/ardupilot-mega/source/checkout

It should be: 

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

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.

Thanks Chris, Mike below was correct, I was looking at the wrong code.

It says Arduplane 2.8 so it confused me, I am now looking at the Ardupilot Mega 2.28 code, this will make more sense I am sure...

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....)

Mike your spot on, this is the link I had

http://code.google.com/p/ardupilot/source/browse/#git%2FArduPilot_2_8

which explians a lot :) thank you

I am now looking at https://code.google.com/p/ardupilot-mega/

As a newbie they look similiar ardupilot 2.8 vs Ardupilot Mega 2.28

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