My APM2.5 board won't accept any commands after i uploaded the arduplane 2.7.3 using Arduino IDE.
The CLI says - Init Ardu? and and after words Init ArduP and does not respond to any command.
Even the ABC lights have stopped working(they flash once when the board is plugged in) only the Alive light stays solid with the TX RX lights blinking not very often.
I tried using the MP but it does not connect to the board and in the CLI it displays the same content.
Please Help!
Replies
I have not been able to update the firmware using IDE and these errors are shown when I try to compile the code :
Building for ArduPilot Mega 2.x
Excluding arduino core from include paths
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL/AP_HAL.h:13,
from ArduPlane.pde:28:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL/UARTDriver.h:8:34: error: utility/BetterStream.h: No such file or directory
In file included from ArduPlane.pde:28:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL/AP_HAL.h:26:27: error: utility/Print.h: No such file or directory
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL/AP_HAL.h:27:28: error: utility/Stream.h: No such file or directory
In file included from ArduPlane.pde:31:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS.h:6:25: error: AP_GPS_NMEA.h: No such file or directory
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/AP_Compass.h:6,
from ArduPlane.pde:33:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/AP_Compass_HMC5843.h:6:36: error: ../AP_Common/AP_Common.h: No such file or directory
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/AP_Compass_HMC5843.h:7:32: error: ../AP_Math/AP_Math.h: No such file or directory
ArduPlane.pde:69:17: error: GCS.h: No such file or directory
ArduPlane.pde:76:21: error: Arduino.h: No such file or directory
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL/AP_HAL.h:13,
from ArduPlane.pde:28:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL/UARTDriver.h:11: error: invalid use of incomplete type 'struct AP_HAL::BetterStream'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL/AP_HAL_Namespace.h:33: error: forward declaration of 'struct AP_HAL::BetterStream'
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL/AP_HAL.h:18,
from ArduPlane.pde:28:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL/Console.h:7: error: invalid use of incomplete type 'struct AP_HAL::BetterStream'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL/AP_HAL_Namespace.h:33: error: forward declaration of 'struct AP_HAL::BetterStream'
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS.h:7,
from ArduPlane.pde:31:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_SIRF.h:36: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_SIRF.h:96: error: 'sirf_geonav' does not name a type
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS.h:9,
from ArduPlane.pde:31:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:59: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:66: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:71: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:76: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:95: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:104: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:113: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:132: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:145: error: 'ubx_nav_posllh' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:146: error: 'ubx_nav_status' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:147: error: 'ubx_nav_solution' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:148: error: 'ubx_nav_velned' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_UBLOX.h:149: error: 'ubx_cfg_nav_settings' does not name a type
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS.h:10,
from ArduPlane.pde:31:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_MTK.h:35: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_MTK.h:68: error: 'diyd_mtk_msg' does not name a type
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS.h:11,
from ArduPlane.pde:31:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_MTK19.h:38: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_GPS/AP_GPS_MTK19.h:79: error: 'diyd_mtk_msg' does not name a type
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\Filter/Filter.h:11,
from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Baro/AP_Baro.h:7,
from ArduPlane.pde:32:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\Filter/LowPassFilter.h: In member function 'virtual void LowPassFilter<T>::set_cutoff_frequency(float, float)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\Filter/LowPassFilter.h:81: error: 'PI' was not declared in this scope
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/AP_Compass_HMC5843.h:9,
from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/AP_Compass.h:6,
from ArduPlane.pde:33:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h: At global scope:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:73: error: expected ',' or '...' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:73: error: ISO C++ forbids declaration of 'Matrix3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:79: error: expected ',' or '...' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:79: error: ISO C++ forbids declaration of 'Vector3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:92: error: ISO C++ forbids declaration of 'Vector3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:92: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:129: error: use of enum 'Rotation' without previous declaration
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:154: error: expected ',' or '...' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:154: error: ISO C++ forbids declaration of 'Vector3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:157: error: ISO C++ forbids declaration of 'Vector3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:157: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:165: error: expected `;' before 'void'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:171: error: ISO C++ forbids declaration of 'Vector3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:171: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:175: error: expected `;' before 'void'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:196: error: 'AP_Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:206: error: 'Vector3i' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:210: error: 'AP_Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:211: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:215: error: use of enum 'Rotation' without previous declaration
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h: In member function 'void Compass::set_offsets(int, int, int)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:108: error: 'Vector3f' was not declared in this scope
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h: In member function 'void Compass::motor_compensation_type(uint8_t)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/Compass.h:141: error: 'Vector3f' was not declared in this scope
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/AP_Compass.h:7,
from ArduPlane.pde:33:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/AP_Compass_HIL.h: At global scope:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/AP_Compass_HIL.h:15: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/AP_Compass_HIL.h:16: error: 'Vector3f' does not name a type
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/AP_Compass.h:8,
from ArduPlane.pde:33:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Compass/AP_Compass_PX4.h:20: error: 'Vector3f' does not name a type
In file included from ArduPlane.pde:37:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:88: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:89: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:92: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:93: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:99: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:100: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:103: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:104: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:107: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:130: error: use of enum 'Rotation' without previous declaration
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:150: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:150: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:150: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:154: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:161: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:164: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:170: error: 'AP_Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:171: error: 'AP_Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:172: error: 'AP_Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:178: error: use of enum 'Rotation' without previous declaration
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h: In member function 'void AP_InertialSensor::set_gyro(int)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:89: error: '_gyro' was not declared in this scope
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h: In member function 'void AP_InertialSensor::set_gyro_offsets(int)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:93: error: '_gyro_offset' was not declared in this scope
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h: In member function 'void AP_InertialSensor::set_accel(int)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:100: error: '_accel' was not declared in this scope
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h: In member function 'void AP_InertialSensor::set_accel_offsets(int)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:104: error: '_accel_offset' was not declared in this scope
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:182,
from ArduPlane.pde:37:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor_MPU6000.h: At global scope:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor_MPU6000.h:100: error: 'Quaternion' does not name a type
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:184,
from ArduPlane.pde:37:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor_PX4.h:35: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor_PX4.h:37: error: 'Vector3f' does not name a type
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor.h:186,
from ArduPlane.pde:37:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor_UserInteract_MAVLink.h:14: error: expected `)' before 'chan'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_InertialSensor/AP_InertialSensor_UserInteract_MAVLink.h:20: error: 'mavlink_channel_t' does not name a type
In file included from ArduPlane.pde:38:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:71: error: ISO C++ forbids declaration of 'Vector3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:71: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:74: error: expected `;' before 'virtual'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:91: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:94: error: ISO C++ forbids declaration of 'Vector3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:94: error: 'Vector3f' declared as a 'virtual' field
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:94: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:115: error: ISO C++ forbids declaration of 'Matrix3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:115: error: 'Matrix3f' declared as a 'virtual' field
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:115: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:131: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:140: error: 'Vector2f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:165: error: ISO C++ forbids declaration of 'Vector3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:165: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:168: error: expected `;' before 'virtual'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:168: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:211: error: 'AP_Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:218: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:222: error: 'Vector2f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:223: error: 'Vector2f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:224: error: 'Vector2f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h: In member function 'virtual void AP_AHRS::init()':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:49: error: use of enum 'Rotation' without previous declaration
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h: In member function 'void AP_AHRS::set_compass(Compass*)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:59: error: use of enum 'Rotation' without previous declaration
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h: In member function 'virtual bool AP_AHRS::get_position(Location*)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:125: error: invalid use of incomplete type 'struct Location'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:121: error: forward declaration of 'struct Location'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:126: error: invalid use of incomplete type 'struct Location'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:121: error: forward declaration of 'struct Location'
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:227,
from ArduPlane.pde:38:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h: At global scope:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:31: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:34: error: ISO C++ forbids declaration of 'Matrix3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:34: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:39: error: expected `;' before 'const'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:39: error: ISO C++ forbids declaration of 'Vector3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:39: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:44: error: expected `;' before 'void'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:55: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:73: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:73: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:79: error: 'Vector3f' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:83: error: 'Matrix3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:85: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:86: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:88: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:89: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:90: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:91: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:93: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:112: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:113: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:119: error: 'Vector2f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:136: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:137: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:142: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h: In constructor 'AP_AHRS_DCM::AP_AHRS_DCM(AP_InertialSensor*, GPS*&)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:20: error: class 'AP_AHRS_DCM' does not have any field named '_mag_earth'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_DCM.h:22: error: '_dcm_matrix' was not declared in this scope
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:228,
from ArduPlane.pde:38:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h: At global scope:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:43: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:47: error: ISO C++ forbids declaration of 'Matrix3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:47: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:52: error: expected `;' before 'const'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:52: error: ISO C++ forbids declaration of 'Vector3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:52: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:57: error: expected `;' before 'void'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:92: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:103: error: 'Matrix3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:105: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:107: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:108: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h: In constructor 'AP_AHRS_MPU6000::AP_AHRS_MPU6000(AP_InertialSensor_MPU6000*, GPS*&)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_MPU6000.h:36: error: '_dcm_matrix' was not declared in this scope
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS.h:229,
from ArduPlane.pde:38:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h: At global scope:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h:14: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h:18: error: ISO C++ forbids declaration of 'Matrix3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h:18: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h:23: error: expected `;' before 'void'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h:31: error: ISO C++ forbids declaration of 'Vector3f' with no type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h:31: error: expected ';' before '&' token
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h:36: error: expected `;' before 'void'
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h:47: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h:48: error: 'Matrix3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h:49: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h: In constructor 'AP_AHRS_HIL::AP_AHRS_HIL(AP_InertialSensor*, GPS*&)':
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_AHRS/AP_AHRS_HIL.h:10: error: class 'AP_AHRS_HIL' does not have any field named '_drift'
In file included from ArduPlane.pde:45:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Camera/AP_Camera.h: At global scope:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Camera/AP_Camera.h:54: error: 'mavlink_message_t' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Camera/AP_Camera.h:55: error: 'mavlink_message_t' has not been declared
In file included from ArduPlane.pde:52:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Mount/AP_Mount.h:46: error: 'mavlink_message_t' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Mount/AP_Mount.h:47: error: 'mavlink_message_t' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Mount/AP_Mount.h:48: error: 'mavlink_message_t' has not been declared
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Mount/AP_Mount.h:67: error: use of enum 'MAV_MOUNT_MODE' without previous declaration
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Mount/AP_Mount.h:86: error: field '_target_GPS_location' has incomplete type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Mount/AP_Mount.h:122: error: 'AP_Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Mount/AP_Mount.h:123: error: 'AP_Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_Mount/AP_Mount.h:124: error: 'AP_Vector3f' does not name a type
In file included from ArduPlane.pde:54:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\DataFlash/DataFlash.h:127: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\DataFlash/DataFlash.h:136: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\DataFlash/DataFlash.h:142: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\DataFlash/DataFlash.h:156: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\DataFlash/DataFlash.h:161: error: function definition does not declare parameters
In file included from ArduPlane.pde:55:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\SITL/SITL.h:11: error: function definition does not declare parameters
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\SITL/SITL.h:43: error: field 'state' has incomplete type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\SITL/SITL.h:68: error: 'mavlink_channel_t' has not been declared
In file included from ArduPlane.pde:58:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_L1_Control/AP_L1_Control.h:88: error: 'Vector2f' does not name a type
In file included from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL_AVR_SITL/HAL_AVR_SITL_Class.h:11,
from C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL_AVR_SITL/AP_HAL_AVR_SITL.h:7,
from ArduPlane.pde:72:
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL_AVR_SITL/SITL_State.h:37: error: 'ssize_t' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL_AVR_SITL/SITL_State.h:91: error: 'Vector3f' does not name a type
C:\Users\Guest\Desktop\ArduPlane-2.73\libraries\AP_HAL_AVR_SITL/SITL_State.h:102: error: 'pid_t' does not name a type
ArduPlane:108: error: variable or field 'send_heartbeat' declared void
ArduPlane:108: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:109: error: variable or field 'send_attitude' declared void
ArduPlane:109: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:110: error: variable or field 'send_fence_status' declared void
ArduPlane:110: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:111: error: variable or field 'send_extended_status1' declared void
ArduPlane:111: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:111: error: expected primary-expression before 'packet_drops'
ArduPlane:112: error: variable or field 'send_meminfo' declared void
ArduPlane:112: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:113: error: variable or field 'send_location' declared void
ArduPlane:113: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:114: error: variable or field 'send_nav_controller_output' declared void
ArduPlane:114: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:115: error: variable or field 'send_gps_raw' declared void
ArduPlane:115: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:116: error: variable or field 'send_servo_out' declared void
ArduPlane:116: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:117: error: variable or field 'send_radio_in' declared void
ArduPlane:117: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:118: error: variable or field 'send_radio_out' declared void
ArduPlane:118: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:119: error: variable or field 'send_vfr_hud' declared void
ArduPlane:119: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:120: error: variable or field 'send_raw_imu1' declared void
ArduPlane:120: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:121: error: variable or field 'send_raw_imu2' declared void
ArduPlane:121: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:122: error: variable or field 'send_raw_imu3' declared void
ArduPlane:122: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:123: error: variable or field 'send_ahrs' declared void
ArduPlane:123: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:124: error: variable or field 'send_simstate' declared void
ArduPlane:124: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:125: error: variable or field 'send_hwstatus' declared void
ArduPlane:125: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:126: error: variable or field 'send_wind' declared void
ArduPlane:126: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:127: error: variable or field 'send_current_waypoint' declared void
ArduPlane:127: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:128: error: variable or field 'send_statustext' declared void
ArduPlane:128: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:129: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:130: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:130: error: expected primary-expression before 'enum'
ArduPlane:130: error: expected primary-expression before 'packet_drops'
ArduPlane:130: error: initializer expression list treated as compound expression
ArduPlane:131: error: variable or field 'mavlink_send_message' declared void
ArduPlane:131: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:131: error: expected primary-expression before 'enum'
ArduPlane:131: error: expected primary-expression before 'packet_drops'
ArduPlane:132: error: variable or field 'mavlink_send_text' declared void
ArduPlane:132: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:132: error: 'gcs_severity' was not declared in this scope
ArduPlane:132: error: expected primary-expression before 'const'
ArduPlane:137: error: variable or field 'gcs_send_text_P' declared void
ArduPlane:137: error: 'gcs_severity' was not declared in this scope
ArduPlane:137: error: expected primary-expression before 'const'
ArduPlane:239: error: 'Vector2l' does not name a type
ArduPlane:240: error: variable or field 'set_fence_point_with_index' declared void
ArduPlane:240: error: 'Vector2l' was not declared in this scope
ArduPlane:240: error: 'point' was not declared in this scope
ArduPlane:240: error: expected primary-expression before 'unsigned'
ArduPlane:247: error: variable or field 'geofence_send_status' declared void
ArduPlane:247: error: 'mavlink_channel_t' was not declared in this scope
ArduPlane:78: error: 'AP_HAL_BOARD_DRIVER' was not declared in this scope
ArduPlane:233: error: 'GCS_MAVLINK' does not name a type
ArduPlane:234: error: 'GCS_MAVLINK' does not name a type
ArduPlane:550: error: aggregate 'Location home' has incomplete type and cannot be defined
ArduPlane:554: error: aggregate 'Location prev_WP' has incomplete type and cannot be defined
ArduPlane:556: error: aggregate 'Location current_loc' has incomplete type and cannot be defined
ArduPlane:558: error: aggregate 'Location next_WP' has incomplete type and cannot be defined
ArduPlane:560: error: aggregate 'Location guided_WP' has incomplete type and cannot be defined
ArduPlane:562: error: aggregate 'Location next_nav_command' has incomplete type and cannot be defined
ArduPlane:564: error: aggregate 'Location next_nonnav_command' has incomplete type and cannot be defined
ArduPlane.pde: In function 'void setup()':
ArduPlane:659: error: cannot convert 'AP_HAL::ConsoleDriver* const' to 'AP_HAL::BetterStream*' in assignment
ArduPlane.pde: In function 'void slow_loop()':
ArduPlane:948: error: 'mavlink_system' was not declared in this scope
ArduPlane.pde: In function 'void update_current_flight_mode()':
ArduPlane:1030: error: 'MAV_CMD_NAV_TAKEOFF' was not declared in this scope
ArduPlane:1039: error: 'constrain_int32' was not declared in this scope
ArduPlane:1048: error: 'constrain_int32' was not declared in this scope
ArduPlane:1068: error: 'MAV_CMD_NAV_LAND' was not declared in this scope
ArduPlane:1074: error: 'constrain_int32' was not declared in this scope
ArduPlane:1083: error: 'constrain_int32' was not declared in this scope
ArduPlane:1153: error: 'constrain_int32' was not declared in this scope
ArduPlane.pde: At global scope:
ArduPlane:1287: error: expected constructor, destructor, or type conversion before 'int'
ArduPlane.pde: In function 'int SKETCH_MAIN(int, char* const*)':
ArduPlane:1287: error: 'OK' was not declared in this scope
Attitude.pde: In function 'float get_speed_scaler()':
Attitude:22: error: 'constrain_float' was not declared in this scope
Attitude:31: error: 'constrain_float' was not declared in this scope
Attitude.pde: In function 'void stabilize_pitch(float)':
Attitude:94: error: 'fabsf' was not declared in this scope
Attitude.pde: In function 'void stabilize_stick_mixing_direct()':
Attitude:118: error: 'fabsf' was not declared in this scope
Attitude:119: error: 'min' was not declared in this scope
Attitude.pde: In function 'void stabilize_stick_mixing_fbw()':
Attitude:157: error: 'fabsf' was not declared in this scope
Attitude:161: error: 'constrain_int32' was not declared in this scope
Attitude:164: error: 'fabsf' was not declared in this scope
Attitude.pde: In function 'void stabilize_yaw(float)':
Attitude:191: error: 'fabsf' was not declared in this scope
Attitude:192: error: 'min' was not declared in this scope
Attitude.pde: In function 'void calc_throttle()':
Attitude:294: error: 'constrain_int16' was not declared in this scope
Attitude:305: error: 'constrain_int16' was not declared in this scope
Attitude.pde: In function 'void calc_nav_yaw(float, float)':
Attitude:323: error: 'constrain_int16' was not declared in this scope
Attitude:328: error: 'class AP_InertialSensor_Oilpan' has no member named 'get_accel'
Attitude.pde: In function 'void calc_nav_pitch()':
Attitude:346: error: 'constrain_int32' was not declared in this scope
Attitude.pde: In function 'void calc_nav_roll()':
Attitude:353: error: 'constrain_int32' was not declared in this scope
Attitude.pde: In function 'void throttle_slew_limit(int16_t)':
Attitude:377: error: 'fabsf' was not declared in this scope
Attitude:382: error: 'constrain_int16' was not declared in this scope
Attitude.pde: In function 'bool auto_takeoff_check()':
Attitude:401: error: 'class AP_InertialSensor_Oilpan' has no member named 'get_accel'
Attitude.pde: In function 'void channel_output_mixer(uint8_t, int16_t&, int16_t&)':
Attitude:508: error: 'constrain_int16' was not declared in this scope
Attitude.pde: In function 'void set_servos()':
Attitude:632: error: 'constrain_int16' was not declared in this scope
Attitude.pde: In function 'void demo_servos(uint8_t)':
Attitude:729: error: 'SEVERITY_LOW' was not declared in this scope
Attitude:729: error: 'gcs_send_text_P' was not declared in this scope
GCS_Mavlink.pde: At global scope:
GCS_Mavlink:22: error: variable or field 'send_heartbeat' declared void
GCS_Mavlink:22: error: 'mavlink_channel_t' was not declared in this scope
What am I doing wrong?
Thanks for your Help!
There's a wiki page here on how to set the board type.
Did you set the board and APM hardware versions correctly?