А давайте обсудим Arducopter - APM

GrAl

А нет краткой инструкции по компиляции?

А то у меня такие ошибки

In file included from ArduCopter.ino:124:
Parameters.h:240: error: 'AP_Int16' does not name a type
Parameters.h:241: error: 'AP_Int8' does not name a type
Parameters.h:245: error: 'AP_Int16' does not name a type
Parameters.h:246: error: 'AP_Int16' does not name a type
Parameters.h:247: error: 'AP_Int8' does not name a type
Parameters.h:248: error: 'AP_Int8' does not name a type
Parameters.h:250: error: 'AP_Int16' does not name a type
Parameters.h:251: error: 'AP_Int8' does not name a type
Parameters.h:252: error: 'AP_Int8' does not name a type
Parameters.h:255: error: 'AP_Int8' does not name a type
Parameters.h:257: error: 'AP_Float' does not name a type
Parameters.h:258: error: 'AP_Float' does not name a type
Parameters.h:259: error: 'AP_Float' does not name a type
Parameters.h:260: error: 'AP_Int16' does not name a type
Parameters.h:261: error: 'AP_Int8' does not name a type
Parameters.h:263: error: 'AP_Int8' does not name a type
Parameters.h:264: error: 'AP_Int8' does not name a type
Parameters.h:265: error: 'AP_Float' does not name a type
Parameters.h:266: error: 'AP_Int8' does not name a type
Parameters.h:267: error: 'AP_Int16' does not name a type
Parameters.h:268: error: 'AP_Int8' does not name a type
Parameters.h:269: error: 'AP_Int8' does not name a type
Parameters.h:270: error: 'AP_Int8' does not name a type
Parameters.h:273: error: 'AP_Int8' does not name a type
Parameters.h:274: error: 'AP_Int8' does not name a type
Parameters.h:275: error: 'AP_Int8' does not name a type
Parameters.h:276: error: 'AP_Int8' does not name a type
Parameters.h:277: error: 'AP_Int8' does not name a type
Parameters.h:281: error: 'AP_Int8' does not name a type
Parameters.h:282: error: 'AP_Int8' does not name a type
Parameters.h:283: error: 'AP_Int16' does not name a type
Parameters.h:284: error: 'AP_Int16' does not name a type
Parameters.h:285: error: 'AP_Int16' does not name a type
Parameters.h:286: error: 'AP_Float' does not name a type
Parameters.h:287: error: 'AP_Int16' does not name a type
Parameters.h:288: error: 'AP_Int32' does not name a type
Parameters.h:289: error: 'AP_Int16' does not name a type
Parameters.h:290: error: 'AP_Int16' does not name a type
Parameters.h:291: error: 'AP_Int16' does not name a type
Parameters.h:292: error: 'AP_Int16' does not name a type
Parameters.h:297: error: 'AP_Int16' does not name a type
Parameters.h:298: error: 'AP_Int16' does not name a type
Parameters.h:299: error: 'AP_Int8' does not name a type
Parameters.h:300: error: 'AP_Int16' does not name a type
Parameters.h:301: error: 'AP_Int16' does not name a type
Parameters.h:305: error: 'AP_Int8' does not name a type
Parameters.h:306: error: 'AP_Int8' does not name a type
Parameters.h:307: error: 'AP_Int8' does not name a type
Parameters.h:308: error: 'AP_Int8' does not name a type
Parameters.h:309: error: 'AP_Int8' does not name a type
Parameters.h:310: error: 'AP_Int8' does not name a type
Parameters.h:311: error: 'AP_Int8' does not name a type
Parameters.h:315: error: 'AP_Int16' does not name a type
Parameters.h:317: error: 'AP_Int8' does not name a type
Parameters.h:322: error: 'AP_Int8' does not name a type
Parameters.h:323: error: 'AP_Int8' does not name a type
Parameters.h:324: error: 'AP_Int16' does not name a type
Parameters.h:325: error: 'AP_Int16' does not name a type
Parameters.h:326: error: 'AP_Int8' does not name a type
Parameters.h:327: error: 'AP_Int8' does not name a type
Parameters.h:328: error: 'AP_Int16' does not name a type
Parameters.h:339: error: 'RC_Channel' does not name a type
Parameters.h:340: error: 'RC_Channel' does not name a type
Parameters.h:341: error: 'RC_Channel' does not name a type
Parameters.h:342: error: 'RC_Channel' does not name a type
Parameters.h:343: error: 'RC_Channel_aux' does not name a type
Parameters.h:344: error: 'RC_Channel_aux' does not name a type
Parameters.h:345: error: 'RC_Channel_aux' does not name a type
Parameters.h:346: error: 'RC_Channel_aux' does not name a type
Parameters.h:349: error: 'RC_Channel_aux' does not name a type
Parameters.h:350: error: 'RC_Channel_aux' does not name a type
Parameters.h:352: error: 'AP_Int16' does not name a type
Parameters.h:355: error: 'AP_Float' does not name a type
Parameters.h:356: error: 'AP_Int16' does not name a type
Parameters.h:357: error: 'AP_Int16' does not name a type
Parameters.h:358: error: 'AP_Int8' does not name a type
Parameters.h:361: error: 'AC_PID' does not name a type
Parameters.h:362: error: 'AC_PID' does not name a type
Parameters.h:363: error: 'AC_PID' does not name a type
Parameters.h:364: error: 'AC_PID' does not name a type
Parameters.h:365: error: 'AC_PID' does not name a type
Parameters.h:366: error: 'AC_PID' does not name a type
Parameters.h:367: error: 'AC_PID' does not name a type
Parameters.h:369: error: 'AC_PID' does not name a type
Parameters.h:370: error: 'AC_PID' does not name a type
Parameters.h:371: error: 'AC_PID' does not name a type
Parameters.h:372: error: 'AC_PID' does not name a type
Parameters.h:374: error: 'APM_PI' does not name a type
Parameters.h:375: error: 'APM_PI' does not name a type
Parameters.h:376: error: 'APM_PI' does not name a type
Parameters.h:377: error: 'APM_PI' does not name a type
Parameters.h:378: error: 'APM_PI' does not name a type
Parameters.h:379: error: 'APM_PI' does not name a type
/Parameters.h: In constructor 'Parameters::Parameters()':
Parameters.h:392: error: class 'Parameters' does not have any field named 'rc_1'
Parameters.h:392: error: 'CH_1' was not declared in this scope
Parameters.h:393: error: class 'Parameters' does not have any field named 'rc_2'
Parameters.h:393: error: 'CH_2' was not declared in this scope
Parameters.h:394: error: class 'Parameters' does not have any field named 'rc_3'
Parameters.h:394: error: 'CH_3' was not declared in this scope
Parameters.h:395: error: class 'Parameters' does not have any field named 'rc_4'
Parameters.h:395: error: 'CH_4' was not declared in this scope
Parameters.h:396: error: class 'Parameters' does not have any field named 'rc_5'
Parameters.h:396: error: 'CH_5' was not declared in this scope
Parameters.h:397: error: class 'Parameters' does not have any field named 'rc_6'
Parameters.h:397: error: 'CH_6' was not declared in this scope
Parameters.h:398: error: class 'Parameters' does not have any field named 'rc_7'
Parameters.h:398: error: 'CH_7' was not declared in this scope
Parameters.h:399: error: class 'Parameters' does not have any field named 'rc_8'
Parameters.h:399: error: 'CH_8' was not declared in this scope
Parameters.h:401: error: class 'Parameters' does not have any field named 'rc_10'
Parameters.h:401: error: 'CH_10' was not declared in this scope
Parameters.h:402: error: class 'Parameters' does not have any field named 'rc_11'
Parameters.h:402: error: 'CH_11' was not declared in this scope
Parameters.h:408: error: class 'Parameters' does not have any field named 'pid_rate_roll'
Parameters.h:409: error: class 'Parameters' does not have any field named 'pid_rate_pitch'
Parameters.h:410: error: class 'Parameters' does not have any field named 'pid_rate_yaw'
Parameters.h:412: error: class 'Parameters' does not have any field named 'pid_loiter_rate_lat'
Parameters.h:413: error: class 'Parameters' does not have any field named 'pid_loiter_rate_lon'
Parameters.h:415: error: class 'Parameters' does not have any field named 'pid_nav_lat'
Parameters.h:416: error: class 'Parameters' does not have any field named 'pid_nav_lon'
Parameters.h:418: error: class 'Parameters' does not have any field named 'pid_throttle'
Parameters.h:419: error: class 'Parameters' does not have any field named 'pid_throttle_accel'
Parameters.h:420: error: class 'Parameters' does not have any field named 'pid_optflow_roll'
Parameters.h:421: error: class 'Parameters' does not have any field named 'pid_optflow_pitch'
Parameters.h:426: error: class 'Parameters' does not have any field named 'pi_loiter_lat'
Parameters.h:427: error: class 'Parameters' does not have any field named 'pi_loiter_lon'
Parameters.h:429: error: class 'Parameters' does not have any field named 'pi_stabilize_roll'
Parameters.h:430: error: class 'Parameters' does not have any field named 'pi_stabilize_pitch'
Parameters.h:431: error: class 'Parameters' does not have any field named 'pi_stabilize_yaw'
Parameters.h:433: error: class 'Parameters' does not have any field named 'pi_alt_hold'
/Parameters.h: At global scope:
Parameters.h:438: error: 'AP_Param' has not been declared
Parameters.h:438: error: expected initializer before 'var_info'
In file included from ArduCopter.ino:125:
GCS.h:43: error: 'FastSerial' has not been declared
GCS.h:79: error: expected ',' or '...' before '*' token
GCS.h:79: error: ISO C++ forbids declaration of 'prog_char_t' with no type
GCS.h:90: error: ISO C++ forbids declaration of 'FastSerial' with no type
GCS.h:90: error: expected ';' before '*' token
/GCS.h: In member function 'void GCS_Class::init(int*)':
GCS.h:44: error: '_port' was not declared in this scope
/GCS.h: At global scope:
GCS.h:109: error: 'FastSerial' has not been declared
GCS.h:112: error: expected ',' or '...' before '*' token
GCS.h:112: error: ISO C++ forbids declaration of 'prog_char_t' with no type
GCS.h:117: error: 'AP_Param' has not been declared
GCS.h:137: error: 'mavlink_message_t' has not been declared
GCS.h:141: error: ISO C++ forbids declaration of 'AP_Param' with no type
GCS.h:141: error: expected ';' before '*' token
GCS.h:143: error: use of enum 'ap_var_type' without previous declaration
GCS.h:145: error: 'AP_Param' has not been declared
GCS.h:145: error: ISO C++ forbids declaration of 'ParamToken' with no type
GCS.h:145: error: expected ';' before '_queued_parameter_token'
GCS.h:169: error: 'mavlink_channel_t' does not name a type
GCS.h:192: error: 'AP_Int16' does not name a type
GCS.h:193: error: 'AP_Int16' does not name a type
GCS.h:194: error: 'AP_Int16' does not name a type
GCS.h:195: error: 'AP_Int16' does not name a type
GCS.h:196: error: 'AP_Int16' does not name a type
GCS.h:197: error: 'AP_Int16' does not name a type
GCS.h:198: error: 'AP_Int16' does not name a type
GCS.h:199: error: 'AP_Int16' does not name a type
GCS.h:200: error: 'AP_Int16' does not name a type
ArduCopter:252: error: variable or field 'send_heartbeat' declared void
ArduCopter:252: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:253: error: variable or field 'send_attitude' declared void
ArduCopter:253: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:254: error: variable or field 'send_limits_status' declared void
ArduCopter:254: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:255: error: variable or field 'send_extended_status1' declared void
ArduCopter:255: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:255: error: expected primary-expression before 'packet_drops'
ArduCopter:256: error: variable or field 'send_meminfo' declared void
ArduCopter:256: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:257: error: variable or field 'send_location' declared void
ArduCopter:257: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:258: error: variable or field 'send_nav_controller_output' declared void
ArduCopter:258: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:259: error: variable or field 'send_ahrs' declared void
ArduCopter:259: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:260: error: variable or field 'send_simstate' declared void
ArduCopter:260: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:261: error: variable or field 'send_hwstatus' declared void
ArduCopter:261: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:262: error: variable or field 'send_gps_raw' declared void
ArduCopter:262: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:263: error: variable or field 'send_servo_out' declared void
ArduCopter:263: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:264: error: variable or field 'send_radio_in' declared void
ArduCopter:264: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:265: error: variable or field 'send_radio_out' declared void
ArduCopter:265: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:266: error: variable or field 'send_vfr_hud' declared void
ArduCopter:266: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:267: error: variable or field 'send_raw_imu1' declared void
ArduCopter:267: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:268: error: variable or field 'send_raw_imu2' declared void
ArduCopter:268: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:269: error: variable or field 'send_raw_imu3' declared void
ArduCopter:269: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:270: error: variable or field 'send_current_waypoint' declared void
ArduCopter:270: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:271: error: variable or field 'send_statustext' declared void
ArduCopter:271: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:272: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:273: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:273: error: expected primary-expression before 'enum'
ArduCopter:273: error: expected primary-expression before 'packet_drops'
ArduCopter:273: error: initializer expression list treated as compound expression
ArduCopter:274: error: variable or field 'mavlink_send_message' declared void
ArduCopter:274: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:274: error: expected primary-expression before 'enum'
ArduCopter:274: error: expected primary-expression before 'packet_drops'
ArduCopter:275: error: variable or field 'mavlink_send_text' declared void
ArduCopter:275: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:275: error: expected primary-expression before 'severity'
ArduCopter:275: error: expected primary-expression before 'const'
ArduCopter:281: error: expected ',' or '...' before '*' token
ArduCopter:281: error: ISO C++ forbids declaration of 'prog_char_t' with no type
ArduCopter:287: error: variable or field 'print_latlon' declared void
ArduCopter:287: error: 'BetterStream' was not declared in this scope
ArduCopter:287: error: 's' was not declared in this scope
ArduCopter:287: error: expected primary-expression before 'lat_or_lon'
ArduCopter:338: error: variable or field 'print_latlon' declared void
ArduCopter:338: error: 'BetterStream' was not declared in this scope
ArduCopter:338: error: 's' was not declared in this scope
ArduCopter:338: error: expected primary-expression before 'lat_or_lon'
ArduCopter:449: error: variable or field 'limits_send_mavlink_status' declared void
ArduCopter:449: error: 'mavlink_channel_t' was not declared in this scope
ArduCopter:520: error: expected initializer before '*' token
ArduCopter:533: error: variable or field 'run_cli' declared void
ArduCopter:533: error: 'FastSerial' was not declared in this scope
ArduCopter:533: error: 'port' was not declared in this scope
ArduCopter:144: error: expected constructor, destructor, or type conversion before '(' token
ArduCopter:145: error: expected constructor, destructor, or type conversion before '(' token
ArduCopter:146: error: expected constructor, destructor, or type conversion before '(' token
ArduCopter:149: error: expected initializer before '*' token
ArduCopter:155: error: 'AP_Param' does not name a type
ArduCopter:157: error: 'Arduino_Mega_ISR_Registry' does not name a type
ArduCopter:176: error: 'APM_RC_APM2' does not name a type
ArduCopter:184: error: 'AP_Semaphore' does not name a type
ArduCopter:185: error: 'AP_Semaphore' does not name a type
ArduCopter:187: error: 'DataFlash_APM2' does not name a type
ArduCopter:196: error: 'AP_InertialSensor' has not been declared
ArduCopter:196: error: expected initializer before 'ins_sample_rate'
ArduCopter:212: error: expected initializer before '*' token
ArduCopter:215: error: expected initializer before '*' token
ArduCopter:238: error: 'AP_Baro_MS5611' does not name a type
ArduCopter:241: error: 'AP_Compass_HMC5843' does not name a type
ArduCopter:246: error: 'AP_OpticalFlow_ADNS3080' does not name a type
ArduCopter:256: error: 'AP_GPS_Auto' does not name a type
ArduCopter:281: error: 'AP_InertialSensor_MPU6000' does not name a type
ArduCopter:289: error: 'AP_AHRS_DCM' does not name a type
ArduCopter:335: error: 'AP_TimerProcess' does not name a type
ArduCopter:347: error: 'ModeFilterInt16_Size3' does not name a type
ArduCopter:352: error: 'AP_AnalogSource_Arduino' does not name a type
ArduCopter:354: error: 'AP_RangeFinder_MaxsonarXL' does not name a type
ArduCopter:477: error: 'AP_MotorsQuad' does not name a type
ArduCopter:485: error: 'Vector3f' does not name a type
ArduCopter:613: error: 'AP_LeadFilter' does not name a type
ArduCopter:614: error: 'AP_LeadFilter' does not name a type
ArduCopter:622: error: 'AverageFilterInt32_Size5' does not name a type
ArduCopter:644: error: aggregate 'Location circle_WP' has incomplete type and cannot be defined
ArduCopter:731: error: aggregate 'Location home' has incomplete type and cannot be defined
ArduCopter:733: error: aggregate 'Location current_loc' has incomplete type and cannot be defined
ArduCopter:735: error: aggregate 'Location next_WP' has incomplete type and cannot be defined
ArduCopter:737: error: aggregate 'Location prev_WP' has incomplete type and cannot be defined
ArduCopter:739: error: aggregate 'Location command_nav_queue' has incomplete type and cannot be defined
ArduCopter:741: error: aggregate 'Location command_cond_queue' has incomplete type and cannot be defined
ArduCopter:743: error: aggregate 'Location guided_WP' has incomplete type and cannot be defined
ArduCopter:801: error: aggregate 'Location yaw_look_at_WP' has incomplete type and cannot be defined
ArduCopter:845: error: 'AP_InertialNav' does not name a type
ArduCopter:886: error: 'AP_Relay_APM2' does not name a type
ArduCopter:893: error: 'AP_Camera' does not name a type
ArduCopter:898: error: 'AP_AnalogSource_Arduino' does not name a type
ArduCopter:901: error: expected ',' or '...' before '::' token
ArduCopter:901: error: ISO C++ forbids declaration of 'Menu' with no type
ArduCopter:909: error: 'AP_Mount' does not name a type
ArduCopter:923: error: 'AP_Limits' does not name a type
ArduCopter:924: error: 'AP_Limit_GPSLock' does not name a type
ArduCopter:925: error: 'AP_Limit_Geofence' does not name a type
ArduCopter:926: error: 'AP_Limit_Altitude' does not name a type
ArduCopter.ino: In function 'void setup()':
ArduCopter:939: error: 'memcheck_init' was not declared in this scope
ArduCopter.ino: In function 'void loop()':
ArduCopter:950: error: 'ins' was not declared in this scope
ArduCopter:1006: error: 'class Parameters' has no member named 'log_bitmask'
ArduCopter:1027: error: 'class Parameters' has no member named 'compass_enabled'
ArduCopter:1028: error: 'compass' was not declared in this scope
ArduCopter.ino: In function 'void fast_loop()':
ArduCopter:1060: error: 'class Parameters' has no member named 'optflow_enabled'
ArduCopter.ino: In function 'void medium_loop()':
ArduCopter:1097: error: 'class Parameters' has no member named 'compass_enabled'
ArduCopter:1098: error: 'compass' was not declared in this scope
ArduCopter:1109: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1143: error: 'class Parameters' has no member named 'command_total'
ArduCopter:1148: error: 'motors' was not declared in this scope
ArduCopter:1149: error: 'class Parameters' has no member named 'log_bitmask'
ArduCopter:1156: error: 'class Parameters' has no member named 'log_bitmask'
ArduCopter:1166: error: 'class Parameters' has no member named 'battery_monitoring'
ArduCopter.ino: In function 'void fifty_hz_loop()':
ArduCopter:1227: error: 'camera_mount' was not declared in this scope
ArduCopter:1236: error: 'camera' was not declared in this scope
ArduCopter:1240: error: 'class Parameters' has no member named 'log_bitmask'
ArduCopter:1240: error: 'motors' was not declared in this scope
ArduCopter:1247: error: 'class Parameters' has no member named 'log_bitmask'
ArduCopter:1247: error: 'motors' was not declared in this scope
ArduCopter.ino: In function 'void slow_loop()':
ArduCopter:1271: error: 'compass' was not declared in this scope
ArduCopter:1275: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1275: error: 'class Parameters' has no member named 'compass_enabled'
ArduCopter:1283: error: 'motors' was not declared in this scope
ArduCopter:1284: error: 'class Parameters' has no member named 'log_bitmask'
ArduCopter:1288: error: 'class Parameters' has no member named 'frame_orientation'
ArduCopter:1297: error: 'class Parameters' has no member named 'rc_5'
ArduCopter:1297: error: 'class Parameters' has no member named 'rc_6'
ArduCopter:1297: error: 'class Parameters' has no member named 'rc_7'
ArduCopter:1297: error: 'class Parameters' has no member named 'rc_8'
ArduCopter:1297: error: 'class Parameters' has no member named 'rc_10'
ArduCopter:1297: error: 'class Parameters' has no member named 'rc_11'
ArduCopter:1297: error: 'update_aux_servo_function' was not declared in this scope
ArduCopter:1299: error: 'enable_aux_servos' was not declared in this scope
ArduCopter:1302: error: 'camera_mount' was not declared in this scope
ArduCopter:1323: error: 'class Parameters' has no member named 'radio_tuning'
ArduCopter.ino: In function 'void super_slow_loop()':
ArduCopter:1343: error: 'class Parameters' has no member named 'log_bitmask'
ArduCopter:1343: error: 'motors' was not declared in this scope
ArduCopter:1348: error: 'class Parameters' has no member named 'rc_3'
ArduCopter.ino: In function 'void update_optical_flow()':
ArduCopter:1374: error: 'optflow' was not declared in this scope
ArduCopter:1376: error: 'ahrs' was not declared in this scope
ArduCopter:1382: error: 'class Parameters' has no member named 'log_bitmask'
ArduCopter.ino: In function 'void update_GPS()':
ArduCopter:1396: error: 'g_gps' was not declared in this scope
ArduCopter:1424: error: 'class Parameters' has no member named 'compass_enabled'
ArduCopter:1426: error: 'compass' was not declared in this scope
ArduCopter:1434: error: 'class Parameters' has no member named 'log_bitmask'
ArduCopter:1434: error: 'motors' was not declared in this scope
ArduCopter.ino: In function 'bool set_yaw_mode(uint8_t)':
ArduCopter:1472: error: 'get_bearing_cd' was not declared in this scope
ArduCopter.ino: In function 'void update_yaw_mode()':
ArduCopter:1511: error: 'class Parameters' has no member named 'rc_4'
ArduCopter:1516: error: 'class Parameters' has no member named 'axis_enabled'
ArduCopter:1517: error: 'class Parameters' has no member named 'rc_4'
ArduCopter:1519: error: 'class Parameters' has no member named 'rc_4'
ArduCopter:1530: error: 'class Parameters' has no member named 'rc_4'
ArduCopter:1541: error: 'class Parameters' has no member named 'rc_4'
ArduCopter:1552: error: 'class Parameters' has no member named 'rc_4'
ArduCopter:1565: error: 'class Parameters' has no member named 'rc_4'
ArduCopter.ino: In function 'void update_roll_pitch_mode()':
ArduCopter:1615: error: 'class Parameters' has no member named 'rc_1'
ArduCopter:1615: error: 'class Parameters' has no member named 'rc_1'
ArduCopter:1615: error: 'class Parameters' has no member named 'rc_1'
ArduCopter:1643: error: 'class Parameters' has no member named 'axis_enabled'
ArduCopter:1644: error: 'class Parameters' has no member named 'rc_1'
ArduCopter:1645: error: 'class Parameters' has no member named 'rc_2'
ArduCopter:1648: error: 'class Parameters' has no member named 'rc_1'
ArduCopter:1649: error: 'class Parameters' has no member named 'rc_2'
ArduCopter:1660: error: 'class Parameters' has no member named 'rc_1'
ArduCopter:1661: error: 'class Parameters' has no member named 'rc_2'
ArduCopter:1674: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1674: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1674: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1674: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1675: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1675: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1675: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1675: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1677: error: 'class Parameters' has no member named 'rc_1'
ArduCopter:1678: error: 'class Parameters' has no member named 'rc_2'
ArduCopter:1690: error: 'class Parameters' has no member named 'rc_1'
ArduCopter:1691: error: 'class Parameters' has no member named 'rc_2'
ArduCopter:1708: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1708: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1708: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1708: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1709: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1709: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1709: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1709: error: 'class Parameters' has no member named 'auto_slew_rate'
ArduCopter:1717: error: 'class Parameters' has no member named 'rc_3'
ArduCopter.ino: In function 'void update_simple_mode()':
ArduCopter:1739: error: 'ahrs' was not declared in this scope
ArduCopter:1752: error: 'class Parameters' has no member named 'rc_1'
ArduCopter:1752: error: 'class Parameters' has no member named 'rc_2'
ArduCopter:1753: error: 'class Parameters' has no member named 'rc_1'
ArduCopter:1753: error: 'class Parameters' has no member named 'rc_2'
ArduCopter:1755: error: 'class Parameters' has no member named 'rc_1'
ArduCopter:1756: error: 'class Parameters' has no member named 'rc_2'
ArduCopter.ino: In function 'bool set_throttle_mode(uint8_t)':
ArduCopter:1780: error: 'class Parameters' has no member named 'throttle_accel_enabled'
ArduCopter:1821: error: 'cliSerial' was not declared in this scope
ArduCopter.ino: In function 'void update_throttle_mode()':
ArduCopter:1848: error: 'motors' was not declared in this scope
ArduCopter:1866: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1870: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1876: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1881: error: 'motors' was not declared in this scope
ArduCopter:1882: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1882: error: 'class Parameters' has no member named 'throttle_cruise'
ArduCopter:1892: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1895: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1901: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1904: error: 'motors' was not declared in this scope
ArduCopter:1905: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1905: error: 'class Parameters' has no member named 'throttle_cruise'
ArduCopter:1915: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1919: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1926: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1930: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1937: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1942: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1949: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1954: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1955: error: 'class Parameters' has no member named 'auto_velocity_z_min'
ArduCopter:1955: error: 'class Parameters' has no member named 'auto_velocity_z_max'
ArduCopter:1961: error: 'class Parameters' has no member named 'rc_3'
ArduCopter:1973: error: 'motors' was not declared in this scope
ArduCopter:1974: error: 'class Parameters' has no member named 'auto_velocity_z_min'
ArduCopter:1974: error: 'class Parameters' has no member named 'auto_velocity_z_max'
ArduCopter.ino: In function 'void read_AHRS()':
ArduCopter:1994: error: 'ahrs' was not declared in this scope
ArduCopter:1995: error: 'omega' was not declared in this scope
ArduCopter:1995: error: 'ins' was not declared in this scope
ArduCopter.ino: In function 'void update_trig()':
ArduCopter:2003: error: 'Vector2f' was not declared in this scope
ArduCopter:2003: error: expected `;' before 'yawvector'
ArduCopter:2004: error: 'Matrix3f' was not declared in this scope
ArduCopter:2004: error: expected `;' before 'temp'
ArduCopter:2006: error: 'yawvector' was not declared in this scope
ArduCopter:2006: error: 'temp' was not declared in this scope
ArduCopter:2010: error: 'safe_sqrt' was not declared in this scope
ArduCopter.ino: In function 'void update_altitude()':
ArduCopter:2059: error: 'class Parameters' has no member named 'sonar_enabled'
ArduCopter.ino: In function 'void update_altitude_est()':
ArduCopter:2105: error: 'inertial_nav' was not declared in this scope
ArduCopter:2113: error: 'class Parameters' has no member named 'log_bitmask'
ArduCopter:2113: error: 'motors' was not declared in this scope
ArduCopter.ino: In function 'void tuning()':
ArduCopter:2134: error: 'class Parameters' has no member named 'rc_6'
ArduCopter:2135: error: 'class Parameters' has no member named 'rc_6'
ArduCopter:2135: error: 'class Parameters' has no member named 'radio_tuning_low'
ArduCopter:2135: error: 'class Parameters' has no member named 'radio_tuning_high'
ArduCopter:2137: error: 'class Parameters' has no member named 'radio_tuning'
ArduCopter:2140: error: 'class Parameters' has no member named 'pid_rate_roll'
ArduCopter:2141: error: 'class Parameters' has no member named 'pid_rate_pitch'
ArduCopter:2145: error: 'class Parameters' has no member named 'pi_stabilize_roll'
ArduCopter:2146: error: 'class Parameters' has no member named 'pi_stabilize_pitch'
ArduCopter:2150: error: 'class Parameters' has no member named 'pi_stabilize_roll'
ArduCopter:2151: error: 'class Parameters' has no member named 'pi_stabilize_pitch'
ArduCopter:2155: error: 'class Parameters' has no member named 'acro_p'
ArduCopter:2159: error: 'class Parameters' has no member named 'pid_rate_roll'
ArduCopter:2160: error: 'class Parameters' has no member named 'pid_rate_pitch'
ArduCopter:2164: error: 'class Parameters' has no member named 'pid_rate_roll'
ArduCopter:2165: error: 'class Parameters' has no member named 'pid_rate_pitch'
ArduCopter:2169: error: 'class Parameters' has no member named 'pi_stabilize_yaw'
ArduCopter:2173: error: 'class Parameters' has no member named 'pi_stabilize_yaw'
ArduCopter:2177: error: 'class Parameters' has no member named 'pid_rate_yaw'
ArduCopter:2181: error: 'class Parameters' has no member named 'pid_rate_yaw'
ArduCopter:2185: error: 'class Parameters' has no member named 'pid_throttle'
ArduCopter:2189: error: 'class Parameters' has no member named 'pid_throttle'
ArduCopter:2193: error: 'class Parameters' has no member named 'pid_throttle'
ArduCopter:2197: error: 'motors' was not declared in this scope
ArduCopter:2201: error: 'class Parameters' has no member named 'rc_6'
ArduCopter:2201: error: 'relay' was not declared in this scope
ArduCopter:2202: error: 'class Parameters' has no member named 'rc_6'
ArduCopter:2202: error: 'relay' was not declared in this scope
ArduCopter:2206: error: 'class Parameters' has no member named 'waypoint_speed_max'
ArduCopter:2206: error: 'class Parameters' has no member named 'rc_6'
ArduCopter:2210: error: 'class Parameters' has no member named 'pi_loiter_lat'
ArduCopter:2211: error: 'class Parameters' has no member named 'pi_loiter_lon'
ArduCopter:2215: error: 'class Parameters' has no member named 'pi_loiter_lat'
ArduCopter:2216: error: 'class Parameters' has no member named 'pi_loiter_lon'
ArduCopter:2220: error: 'class Parameters' has no member named 'pid_nav_lat'
ArduCopter:2221: error: 'class Parameters' has no member named 'pid_nav_lon'
ArduCopter:2225: error: 'class Parameters' has no member named 'pid_loiter_rate_lon'
ArduCopter:2226: error: 'class Parameters' has no member named 'pid_loiter_rate_lat'
ArduCopter:2230: error: 'class Parameters' has no member named 'pid_loiter_rate_lon'
ArduCopter:2231: error: 'class Parameters' has no member named 'pid_loiter_rate_lat'
ArduCopter:2235: error: 'class Parameters' has no member named 'pid_loiter_rate_lon'
ArduCopter:2236: error: 'class Parameters' has no member named 'pid_loiter_rate_lat'
ArduCopter:2240: error: 'class Parameters' has no member named 'pid_nav_lat'
ArduCopter:2241: error: 'class Parameters' has no member named 'pid_nav_lon'
ArduCopter:2251: error: 'class Parameters' has no member named 'pi_alt_hold'
ArduCopter:2255: error: 'class Parameters' has no member named 'pid_optflow_roll'
ArduCopter:2256: error: 'class Parameters' has no member named 'pid_optflow_pitch'
ArduCopter:2260: error: 'class Parameters' has no member named 'pid_optflow_roll'
ArduCopter:2261: error: 'class Parameters' has no member named 'pid_optflow_pitch'
ArduCopter:2265: error: 'class Parameters' has no member named 'pid_optflow_roll'
ArduCopter:2266: error: 'class Parameters' has no member named 'pid_optflow_pitch'
ArduCopter:2271: error: 'ahrs' was not declared in this scope
ArduCopter:2284: error: 'inertial_nav' was not declared in this scope
ArduCopter:2289: error: 'class Parameters' has no member named 'pid_throttle_accel'
ArduCopter:2293: error: 'class Parameters' has no member named 'pid_throttle_accel'
ArduCopter:2297: error: 'class Parameters' has no member named 'pid_throttle_accel'
AP_State.ino: In function 'void dump_state()':
AP_State:138: error: 'cliSerial' was not declared in this scope
Attitude.ino: In function 'void get_stabilize_roll(int32_t)':
Attitude:7: error: 'ahrs' was not declared in this scope
Attitude:13: error: 'class Parameters' has no member named 'pi_stabilize_roll'
Attitude:18: error: 'class Parameters' has no member named 'pi_stabilize_roll'
Attitude:20: error: 'class Parameters' has no member named 'pi_stabilize_roll'
Attitude.ino: In function 'void get_stabilize_pitch(int32_t)':
Attitude:31: error: 'ahrs' was not declared in this scope
Attitude:37: error: 'class Parameters' has no member named 'pi_stabilize_pitch'
Attitude:42: error: 'class Parameters' has no member named 'pi_stabilize_pitch'
Attitude:44: error: 'class Parameters' has no member named 'pi_stabilize_pitch'
Attitude.ino: In function 'void get_stabilize_yaw(int32_t)':
Attitude:59: error: 'ahrs' was not declared in this scope
Attitude:66: error: 'class Parameters' has no member named 'pi_stabilize_yaw'
Attitude:67: error: 'class Parameters' has no member named 'pi_stabilize_yaw'
Attitude:78: error: 'class Parameters' has no member named 'log_bitmask'
Attitude:78: error: 'class Parameters' has no member named 'radio_tuning'
Attitude.ino: In function 'void get_acro_roll(int32_t)':
Attitude:94: error: 'class Parameters' has no member named 'acro_p'
Attitude.ino: In function 'void get_acro_pitch(int32_t)':
Attitude:103: error: 'class Parameters' has no member named 'acro_p'
Attitude.ino: In function 'void get_acro_yaw(int32_t)':
Attitude:112: error: 'class Parameters' has no member named 'acro_p'
Attitude.ino: In function 'void get_roll_rate_stabilized_ef(int32_t)':
Attitude:125: error: 'class Parameters' has no member named 'acro_p'
Attitude:125: error: 'class Parameters' has no member named 'acro_balance_roll'
Attitude:132: error: 'class Parameters' has no member named 'acro_trainer_enabled'
Attitude:134: error: 'ahrs' was not declared in this scope
Attitude:137: error: 'ahrs' was not declared in this scope
Attitude:141: error: 'motors' was not declared in this scope
Attitude:141: error: 'class Parameters' has no member named 'rc_3'
Attitude:146: error: 'ahrs' was not declared in this scope
Attitude:151: error: 'class Parameters' has no member named 'pi_stabilize_roll'
Attitude.ino: In function 'void get_pitch_rate_stabilized_ef(int32_t)':
Attitude:161: error: 'class Parameters' has no member named 'acro_p'
Attitude:161: error: 'class Parameters' has no member named 'acro_balance_pitch'
Attitude:170: error: 'ahrs' was not declared in this scope
Attitude:173: error: 'ahrs' was not declared in this scope
Attitude:177: error: 'motors' was not declared in this scope
Attitude:177: error: 'class Parameters' has no member named 'rc_3'
Attitude:182: error: 'ahrs' was not declared in this scope
Attitude:185: error: 'class Parameters' has no member named 'pi_stabilize_pitch'
Attitude.ino: In function 'void get_yaw_rate_stabilized_ef(int32_t)':
Attitude:196: error: 'class Parameters' has no member named 'acro_p'
Attitude:203: error: 'ahrs' was not declared in this scope
Attitude:208: error: 'motors' was not declared in this scope
Attitude:208: error: 'class Parameters' has no member named 'rc_3'
Attitude:216: error: 'class Parameters' has no member named 'pi_stabilize_yaw'
Attitude.ino: In function 'void run_rate_controllers()':
Attitude:274: error: 'class Parameters' has no member named 'rc_1'
Attitude:275: error: 'class Parameters' has no member named 'rc_2'
Attitude:276: error: 'class Parameters' has no member named 'rc_4'
Attitude:280: error: 'class Parameters' has no member named 'throttle_accel_enabled'
Attitude.ino: In function 'int16_t get_rate_roll(int32_t)':
Attitude:455: error: 'omega' was not declared in this scope
Attitude:459: error: 'class Parameters' has no member named 'pid_rate_roll'
Attitude:462: error: 'motors' was not declared in this scope
Attitude:462: error: 'AP_MOTOR_ROLLPITCH_LIMIT' was not declared in this scope
Attitude:463: error: 'class Parameters' has no member named 'pid_rate_roll'
Attitude:465: error: 'class Parameters' has no member named 'pid_rate_roll'
Attitude:468: error: 'class Parameters' has no member named 'pid_rate_roll'
Attitude:476: error: 'class Parameters' has no member named 'log_bitmask'
мар

Подскажите,а кто какие режимы вешает на переключалки аппы? Чего то в 10-й футабе не могу сделать больше 3-х режимов,а хочется 5.

alex195822
GrAl:

А нет краткой инструкции по компиляции?

При компиляции выбрать тип платы NONE, тогда компилится.

GrAl
alex195822:

При компиляции выбрать тип платы NONE, тогда компилится.

Пробовал, тоже самое.

alex195822
мар:

Подскажите,а кто какие режимы вешает на переключалки аппы? Чего то в 10-й футабе не могу сделать больше 3-х режимов,а хочется 5.

Turnigy прошива ER9X 3х позиционник + 1 тумблер = 6 режимов.

GrAl:

Пробовал, тоже самое.

В настройках Arduino (первая закладка) указали путь к директории, где скетчи и папка с либами лежит?

GrAl
мар:

Подскажите,а кто какие режимы вешает на переключалки аппы? Чего то в 10-й футабе не могу сделать больше 3-х режимов,а хочется 5.

Turnigy 9x одну крутилку заменил многопозиционным переключателем с сопротивлениями - 6 режимов

kassir
GrAl:

Turnigy 9x одну крутилку заменил многопозиционным переключателем с сопротивлениями - 6 режимов

При переключении режимов коптер не “прыгает” ?
У самого сейчас предстоит такая же задача, думаю ставить переключатель или спаять кнопочный… Тумблер проще , но смущает то, что от одного режима к другому нужно перебрать все промежуточные.

alex195822
kassir:

При переключении режимов коптер не “прыгает” ?

Прыжков нет - существует некоторая задержка при переключении режимов - похоже на защиту от случайной ошибки.

kassir
alex195822:

Прыжков нет - существует некоторая задержка при переключении режимов - похоже на защиту от случайной ошибки.

Отлично, это то что нужно !

alexeykozin
GrAl:

Turnigy 9x одну крутилку заменил многопозиционным переключателем с сопротивлениями - 6 режимов

да на любой ардуино - платке сделать кнопочный переключатель с индикацией - дело одного часа.
в последней версии прошивки сделал удобную подстройку каждого из состояний без компа - пара кнопок на доп. входы

kassir

Я Вашу идею и хотел реализовать. Удобней - не спорю.
Но нет желания много вкладывать в бюджетную аппу, а ардуинка + обвес рублей на 300+ выйдет. Да и эстетика для меня не маловажная штука.
Просто если действительно там задержка на обработку, то тумблера/галетника за глаза, мне кажется…

HATUUL
alexeykozin:

версии прошивки сделал удобную подстройку каждого из состояний без компа

Алексей,можете дать печатку,вашей платки?

alexeykozin

игл файлы печатки files.msdatabase.ru/modesw/modesw.rar?attredirects…
скетч внизу страницы hobby.msdatabase.ru/project-updates/…/modesw

kassir:

Просто если действительно там задержка на обработку, то тумблера/галетника за глаза, мне кажется…

с галетником я тоже пробовал - там другие проблемы - подбор резисторов так чтобы попадало четко в середину диапазона

kassir
alexeykozin:

с галетником я тоже пробовал - там другие проблемы - подбор резисторов так чтобы попадало четко в середину диапазона

Угу, я читал Ваш дневник. Потому и ломаюсь , ищу как бы с “мухлевать” ) Дешево и сердито )

alexeykozin

ардуинку с кварцем можно “выпилить” (на любителя) например из старого регуля со сгоревшими ключами,
светодиоды- кнопки навесить на проводах внешние и смонтировать на корпус

kassir

Блин! точно, у меня же лежит дохлый регуль …
Пойду расчехлять паялку )

Alex27111972
kassir:

Дешево и сердито

Ну если дешево и сердито, то енто настроить хоть на штатной, хоть на ER9x прошивке 3-х позиционник + тублер, и будет 6-ть режимов…
ЗЫ. мелкий галетник не так просто найти…

kassir
Alex27111972:

Ну если дешево и сердито, то енто настроить хоть на штатной, хоть на ER9x прошивке 3-х позиционник + тублер, и будет 6-ть режимов…
ЗЫ. мелкий галетник не так просто найти…

Не, я пока начинающий “летчик” , мне бы в полете не “зарулиться” , а помнить комбинацию тумблеров на аппе и быстро реагировать я пока боюсь пробовать.
А галетников и тумблеров у нас валом www.chipdip.ru/catalog-show/rotary-switches/
У меня сейчас вообще паранойя связанная с улетом квадрика…

kassir

Ну не скажите.
Дорогие “синенькие” диаметр 37мм с лепестками, загните их и она будет 27мм (примерно) , уже нормально должен влезть.
Можно взять 8 позиций. он 9мм в диаметре www.chipdip.ru/product/mr-1-8/
На крайняк , съездить на рынок, в хламе можно найти селектор входов от какой нибудь музыкальной “балалайки”

Просто по ссылке покупать - это почта. У меня с ней не пруха, потерялись две посылки, уже 3й месяц пошел…

ЗЫ. С регулем облом, чип силабс ((