HELP NEEDED IN ARDUPILOT MEGA CODE

When i put this command in config.h in ardupilot mega 1.0 code#define GCS_PROTOCOL GCS_PROTOCOL_LEGACYHappykillmore didnt show YAW of my imuwhen i put Standard in place of legacyit show yaw and everything but in command line it show rubbish datawhat i have to dowhat is my mistakei follow the manual properly

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

Join diydrones

Email me when people reply –

Replies

  • Hello I am also currently having this issue and it does look like a path issue. Dose anyone know where I went wrong? PS I am running mac.

  • Getting the same with Arduino 0022 and APM2.12.

    Parameters.h is failing on the line -

    AP_Int16 format_version;

    with AP_Int16 does not name a type.

    The log also indicated a tonne of missing .h files, i.e. -

    ArduPilotMega.cpp:27:24: error: FastSerial.h: No such file or directory
    ArduPilotMega.cpp:28:23: error: AP_Common.h: No such file or directory
    ArduPilotMega.cpp:29:57: error: APM_RC.h: No such file or directory
    ArduPilotMega.cpp:30:53: error: AP_GPS.h: No such file or directory
    etc.

    The folder 'libraries' which came with the zip are in the ..Documents\Arduino folder along with the 'ArduPilotMega' folder. Is there some additional path reference I need to add to Arduino to help it find the missing files all located under the libraries folder?

    Thanks.
  • 3D Robotics
    wagas: when you say GPS is not locked, do you mean that's what the GCS is saying? If so, that's just a cosmetic issue with the old 1.0 code. If you're getting Lat/Lon, your GPS is fine.

    We're not supporting 1.0 anymore. Please upgrade to APM 2.x.
  • AP_int6 does not name a type
  • hey Chris
    i try to upload APM2.12 and the same error came that was in 2.11
    please help me out
  • Developer
    Neither APM1.0 nor GCS_PROTOCOL_LEGACY are supported any more.  Try upgrading to APM2.X and GCS_PROTOCOL_MAVLINK.
This reply was deleted.

Activity

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