diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.build.log index ff07e834d3..5e185a5e08 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.build.log @@ -1,56 +1,68 @@ %% ArduCopter.cpp %% ArduCopter.o -In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:53: +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:55: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition -autogenerated:34: warning: 'int alt_hold_velocity()' declared 'static' but never defined -autogenerated:86: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined -autogenerated:87: warning: 'void send_message(byte)' declared 'static' but never defined -autogenerated:88: warning: 'void send_message(byte, long int)' declared 'static' but never defined -autogenerated:82: warning: 'void send_message(byte, const char*)' declared 'static' but never defined -autogenerated:91: warning: 'void print_current_waypoints()' declared 'static' but never defined -autogenerated:94: warning: 'void print_attitude()' declared 'static' but never defined -autogenerated:90: warning: 'void print_control_mode()' declared 'static' but never defined -autogenerated:92: warning: 'void print_position()' declared 'static' but never defined -autogenerated:96: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined -autogenerated:97: warning: 'void print_waypoints()' declared 'static' but never defined -autogenerated:70: warning: 'long int convert_to_dec(float)' declared 'static' but never defined -autogenerated:139: warning: 'void Log_Write_Optflow()' declared 'static' but never defined -autogenerated:150: warning: 'void decrement_WP_index()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/commands.pde:149: warning: 'Location get_LOITER_home_wp()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:427: warning: 'bool verify_loiter_unlim()' defined but not used +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: +/root/apm/ardupilot-mega/ArduCopter/Parameters.h: In constructor 'Parameters::Parameters()': +/root/apm/ardupilot-mega/ArduCopter/Parameters.h:386: warning: overflow in implicit constant conversion +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:300: warning: statement has no effect +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_nav_wp()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:405: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_loiter_time()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: warning: comparison between signed and unsigned integer expressions +autogenerated: At global scope: +autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined +autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined +autogenerated:84: warning: 'void send_message(byte)' declared 'static' but never defined +autogenerated:85: warning: 'void send_message(byte, long int)' declared 'static' but never defined +autogenerated:79: warning: 'void send_message(byte, const char*)' declared 'static' but never defined +autogenerated:88: warning: 'void print_current_waypoints()' declared 'static' but never defined +autogenerated:91: warning: 'void print_attitude()' declared 'static' but never defined +autogenerated:87: warning: 'void print_control_mode()' declared 'static' but never defined +autogenerated:89: warning: 'void print_position()' declared 'static' but never defined +autogenerated:93: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined +autogenerated:94: warning: 'void print_waypoints()' declared 'static' but never defined +autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' but never defined +autogenerated:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined +autogenerated:146: warning: 'void decrement_WP_index()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/commands.pde:132: warning: 'Location get_LOITER_home_wp()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:298: warning: 'void do_loiter_turns()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:424: warning: 'bool verify_loiter_unlim()' defined but not used /root/apm/ardupilot-mega/ArduCopter/events.pde:46: warning: 'void low_battery_event()' defined but not used autogenerated:210: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:211: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:235: warning: 'void debug_motors()' declared 'static' but never defined -autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:159: warning: 'int get_loiter_angle()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'void reset_crosstrack()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:222: warning: 'long int get_altitude_above_home()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:243: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used +autogenerated:249: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:152: warning: 'int get_loiter_angle()' defined but not used +autogenerated:253: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:254: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:255: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:131: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:188: warning: 'void trim_yaw()' defined but not used -autogenerated:268: warning: 'void readCommands()' declared 'static' but never defined -autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:267: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:268: warning: 'void parseCommand(char*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:6: warning: 'void ReadSCP1000()' defined but not used -autogenerated:272: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:271: warning: 'long int read_baro_filtered()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:95: warning: 'void read_airspeed()' defined but not used /root/apm/ardupilot-mega/ArduCopter/sensors.pde:100: warning: 'void zero_airspeed()' defined but not used -autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined -autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined -autogenerated:295: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:296: warning: 'int read_num_from_serial()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/system.pde:465: warning: 'void set_failsafe(boolean)' defined but not used -autogenerated:311: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/test.pde:991: warning: 'void print_motor_out()' defined but not used +autogenerated:285: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:286: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:293: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:294: warning: 'int read_num_from_serial()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/system.pde:448: warning: 'void set_failsafe(boolean)' defined but not used +autogenerated:309: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:317: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:992: warning: 'void print_motor_out()' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:443: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:449: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:463: warning: 'simple_WP' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'optflow_offset' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/control_modes.pde:48: warning: 'trim_flag' defined but not used %% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_PI/APM_PI.o %% libraries/APM_RC/APM_RC.o @@ -84,33 +96,7 @@ autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never de In file included from /root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28: /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:20:1: warning: this is the location of the previous definition -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_led_always_on(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:221: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'bool AP_OpticalFlow_ADNS3080::get_frame_rate_auto()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:257: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_shutter_speed_auto(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:361: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'int AP_OpticalFlow_ADNS3080::print_pixel_data(Stream*)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:441: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'virtual bool AP_OpticalFlow_ADNS3080::init(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:80: warning: control reaches end of non-void function %% libraries/AP_OpticalFlow/AP_OpticalFlow.o -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual void AP_OpticalFlow::get_position(float, float, float, float)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:88: warning: unused variable 'i' -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: control reaches end of non-void function %% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o %% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o %% libraries/AP_RangeFinder/RangeFinder.o @@ -123,6 +109,7 @@ In file included from /root/apm/ardupilot-mega/libraries/DataFlash/DataFlash.cpp %% libraries/FastSerial/vprintf.o %% libraries/GCS_MAVLink/GCS_MAVLink.o %% libraries/ModeFilter/ModeFilter.o +%% libraries/RC_Channel/RC_Channel_aux.o %% libraries/RC_Channel/RC_Channel.o %% libraries/memcheck/memcheck.o %% libraries/FastSerial/ftoa_engine.o diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.size.txt index d84d3fb9ee..e2b63d3d5f 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.size.txt @@ -4,19 +4,18 @@ 00000001 b motor_armed 00000001 b motor_light 00000001 b control_mode -00000001 b simple_timer +00000001 b gps_watchdog 00000001 d yaw_tracking 00000001 b land_complete 00000001 b throttle_mode 00000001 b command_may_ID 00000001 b wp_verify_byte -00000001 b xtrack_enabled 00000001 d altitude_sensor 00000001 b command_must_ID 00000001 b command_yaw_dir +00000001 b new_radio_frame 00000001 b roll_pitch_mode 00000001 b counter_one_herz -00000001 b delta_ms_fiftyhz 00000001 b did_ground_start 00000001 b in_mavlink_delay 00000001 b invalid_throttle @@ -27,34 +26,30 @@ 00000001 b command_may_index 00000001 b oldSwitchPosition 00000001 b command_must_index -00000001 b delta_ms_fast_loop 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative -00000001 b delta_ms_medium_loop 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode 00000001 b GPS_light -00000001 b alt_timer 00000001 b loop_step -00000001 b trim_flag 00000001 b dancing_light()::step -00000001 b update_motor_leds()::blink -00000001 b radio_input_switch()::bouncer 00000001 b read_control_switch()::switch_debouncer 00000001 d GCS_MAVLINK::handleMessage(__mavlink_message*)::mav_nav 00000001 B mavdelay 00000002 T mavlink_acknowledge(mavlink_channel_t, unsigned char, unsigned char, unsigned char) 00000002 b climb_rate +00000002 b loiter_sum 00000002 b event_delay 00000002 b event_value 00000002 b event_repeat +00000002 b loiter_total 00000002 b nav_throttle 00000002 b altitude_rate 00000002 b gps_fix_count 00000002 b velocity_land -00000002 b mainLoop_count +00000002 b loiter_time_max 00000002 b command_yaw_time 00000002 b event_undo_value 00000002 b command_yaw_speed @@ -92,16 +87,13 @@ 00000004 d cos_pitch_x 00000004 b event_timer 00000004 b loiter_time -00000004 b nav_bearing 00000004 d scaleLongUp 00000004 b sin_pitch_y 00000004 b wp_distance 00000004 b abs_pressure -00000004 b circle_angle 00000004 b current_amps 00000004 b old_altitude 00000004 b original_alt -00000004 b bearing_error 00000004 b current_total 00000004 b nav_loopTimer 00000004 d scaleLongDown @@ -110,29 +102,27 @@ 00000004 b fast_loopTimer 00000004 b perf_mon_timer 00000004 b target_bearing +00000004 b throttle_timer 00000004 d battery_voltage 00000004 b command_yaw_end 00000004 b condition_start 00000004 b condition_value 00000004 b ground_pressure -00000004 b loiter_time_max 00000004 b target_altitude 00000004 d battery_voltage1 00000004 d battery_voltage2 00000004 d battery_voltage3 00000004 d battery_voltage4 -00000004 b medium_loopTimer 00000004 b wp_totalDistance 00000004 b command_yaw_delta 00000004 b command_yaw_start 00000004 b fiftyhz_loopTimer -00000004 b crosstrack_bearing -00000004 b fast_loopTimeStamp +00000004 b old_target_bearing 00000004 b throttle_integrator -00000004 b saved_target_bearing 00000004 r __menu_name__log_menu 00000004 b command_yaw_start_time 00000004 b initial_simple_bearing +00000004 b original_target_bearing 00000004 d G_Dt 00000004 b dTnav 00000004 b nav_lat @@ -152,6 +142,7 @@ 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000004 r print_switch(unsigned char, unsigned char, bool)::__c 00000004 b mavlink_delay(unsigned long)::last_1hz 00000004 b mavlink_delay(unsigned long)::last_3hz 00000004 b mavlink_delay(unsigned long)::last_10hz @@ -172,6 +163,7 @@ 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r Log_Read_Raw()::__c +00000005 r print_switch(unsigned char, unsigned char, bool)::__c 00000005 r Log_Read_Mode()::__c 00000005 r report_tuning()::__c 00000005 r print_log_menu()::__c @@ -215,6 +207,7 @@ 00000007 r test_wp(unsigned char, Menu::arg const*)::__c 00000007 V Parameters::Parameters()::__c 00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c @@ -235,7 +228,7 @@ 00000008 V Parameters::Parameters()::__c 00000008 V Parameters::Parameters()::__c 00000008 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c -00000009 r print_switch(unsigned char, unsigned char)::__c +00000009 r print_switch(unsigned char, unsigned char, bool)::__c 00000009 r print_log_menu()::__c 00000009 r print_log_menu()::__c 00000009 r report_compass()::__c @@ -255,10 +248,13 @@ 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +0000000a T piezo_on() +0000000a T piezo_off() 0000000a r test_relay(unsigned char, Menu::arg const*)::__c 0000000a r start_new_log()::__c 0000000a r print_log_menu()::__c @@ -270,7 +266,6 @@ 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c -0000000a V Parameters::Parameters()::__c 0000000a T setup 0000000b r test_relay(unsigned char, Menu::arg const*)::__c 0000000b r report_batt_monitor()::__c @@ -280,6 +275,7 @@ 0000000c t test_mode(unsigned char, Menu::arg const*) 0000000c T GCS_MAVLINK::send_text(unsigned char, char const*) 0000000c V vtable for IMU +0000000c r print_switch(unsigned char, unsigned char, bool)::__c 0000000c r report_frame()::__c 0000000c r test_baro(unsigned char, Menu::arg const*)::__c 0000000c V Parameters::Parameters()::__c @@ -345,20 +341,18 @@ 0000000f r report_batt_monitor()::__c 0000000f r test_imu(unsigned char, Menu::arg const*)::__c 0000000f V AP_IMU_Oilpan::AP_IMU_Oilpan(AP_ADC*, unsigned int)::__c +00000010 r flight_mode_strings 00000010 r planner_menu_commands 00000010 b motor_out 00000010 W AP_VarT::cast_to_float() const 00000010 r test_sonar(unsigned char, Menu::arg const*)::__c 00000010 r report_compass()::__c -00000010 t mavlink_get_channel_status 00000011 r erase_logs(unsigned char, Menu::arg const*)::__c 00000011 r zero_eeprom()::__c 00000011 r update_commands()::__c -00000011 r Log_Read_Attitude()::__c 00000012 B Serial 00000012 B Serial1 00000012 B Serial3 -00000012 r flight_mode_strings 00000012 W AP_Float16::~AP_Float16() 00000012 W AP_VarA::~AP_VarA() 00000012 W AP_VarS >::~AP_VarS() @@ -384,16 +378,16 @@ 00000015 r Log_Read_Motors()::__c 00000015 r print_hit_enter()::__c 00000015 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c -00000016 r init_ardupilot()::__c +00000016 T piezo_beep() 00000016 r GCS_MAVLINK::update()::__c 00000016 B sonar -00000017 r __menu_name__main_menu 00000018 t setup_tune(unsigned char, Menu::arg const*) 00000018 t setup_accel(unsigned char, Menu::arg const*) +00000018 r __menu_name__main_menu 00000018 W AP_VarT::serialize(void*, unsigned int) const -00000018 b mavlink_get_channel_status::m_mavlink_status 00000019 r GCS_MAVLINK::update()::__c 0000001a r print_log_menu()::__c +0000001a r Log_Read_Nav_Tuning()::__c 0000001c W AP_VarA::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) @@ -401,8 +395,8 @@ 0000001c W AP_VarA::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001d r Log_Read_Attitude()::__c 0000001e r Log_Read_Optflow()::__c -0000001e r Log_Read_Nav_Tuning()::__c 0000001f r test_mag(unsigned char, Menu::arg const*)::__c 00000020 r test_current(unsigned char, Menu::arg const*)::__c 00000020 t byte_swap_4 @@ -425,10 +419,12 @@ 00000024 r init_ardupilot()::__c 00000024 r print_accel_offsets()::__c 00000025 r setup_factory(unsigned char, Menu::arg const*)::__c +00000025 r Log_Read_Performance()::__c 00000026 t print_done() 00000026 b mavlink_queue 00000026 t print_hit_enter() 00000026 t Log_Read_Startup() +00000026 r Log_Read_Control_Tuning()::__c 00000027 r test_xbee(unsigned char, Menu::arg const*)::__c 00000028 t test_battery(unsigned char, Menu::arg const*) 00000028 t main_menu_help(unsigned char, Menu::arg const*) @@ -439,23 +435,24 @@ 00000029 r setup_mode(unsigned char, Menu::arg const*)::__c 00000029 r test_gps(unsigned char, Menu::arg const*)::__c 0000002a t setup_declination(unsigned char, Menu::arg const*) -0000002a r Log_Read_Control_Tuning()::__c 0000002b r planner_mode(unsigned char, Menu::arg const*)::__c 0000002e t print_divider() 0000002e t send_rate(unsigned int, unsigned int) 0000002e W AP_Var_group::AP_Var_group(unsigned int, prog_char_t const*, unsigned char) -0000002e r Log_Read_Performance()::__c 0000002f r test_radio(unsigned char, Menu::arg const*)::__c +0000002f r init_ardupilot()::__c 00000030 t planner_mode(unsigned char, Menu::arg const*) +00000030 t send_heartbeat(mavlink_channel_t) 00000032 T GCS_MAVLINK::init(BetterStream*) 00000032 W APM_PI::~APM_PI() +00000032 r Log_Read_GPS()::__c 00000034 W AP_Float16::serialize(void*, unsigned int) const 00000034 t _mav_put_int8_t_array 00000035 r test_radio_pwm(unsigned char, Menu::arg const*)::__c 00000036 t report_radio() -00000036 r Log_Read_GPS()::__c 00000037 r print_wp(Location*, unsigned char)::__c 00000038 t init_throttle_cruise() +00000038 t send_current_waypoint(mavlink_channel_t) 00000038 r setup_radio(unsigned char, Menu::arg const*)::__c 00000038 r setup_factory(unsigned char, Menu::arg const*)::__c 0000003a t report_gps() @@ -465,41 +462,36 @@ 0000003e t verify_RTL() 0000003e T GCS_MAVLINK::send_text(unsigned char, prog_char_t const*) 0000003e W AP_VarT::AP_VarT(signed char, unsigned int, prog_char_t const*, unsigned char) +00000040 t read_AHRS() 00000040 W AP_Float16::unserialize(void*, unsigned int) 00000040 t byte_swap_8 -00000040 t crc_accumulate 00000042 t report_sonar() 00000044 t setup_show(unsigned char, Menu::arg const*) 00000044 W AP_VarT::AP_VarT(int, unsigned int, prog_char_t const*, unsigned char) +00000048 t update_motor_leds() +00000049 r setup_flightmodes(unsigned char, Menu::arg const*)::__c +0000004a t send_meminfo(mavlink_channel_t) +0000004a t change_command(unsigned char) 0000004a W AP_VarT::AP_VarT(AP_Var_group*, unsigned int, int, prog_char_t const*, unsigned char) 0000004c t update_auto_yaw() -0000004c B imu 0000004e T mavlink_send_text(mavlink_channel_t, unsigned char, char const*) 00000050 r log_menu_commands 00000050 r main_menu_commands -00000050 t read_AHRS() 00000050 T GCS_MAVLINK::_find_parameter(unsigned int) -00000052 t change_command(unsigned char) +00000050 B imu 00000052 t report_version() 00000054 t print_enabled(unsigned char) -00000054 t update_motor_leds() -00000054 t report_flight_modes() 00000055 r main_menu_help(unsigned char, Menu::arg const*)::__c -00000055 r setup_flightmodes(unsigned char, Menu::arg const*)::__c 00000056 t readSwitch() 00000056 t dancing_light() 00000057 r help_log(unsigned char, Menu::arg const*)::__c -00000058 t Log_Write_Attitude() 0000005a t read_control_switch() 0000005c t get_num_logs() 0000005c t setup_esc(unsigned char, Menu::arg const*) 0000005e t update_GPS_light() -0000005e t radio_input_switch() 0000005e T GCS_MAVLINK::_count_parameters() -00000060 t _mavlink_send_uart -00000060 B barometer -00000062 t print_switch(unsigned char, unsigned char) 00000064 t test_xbee(unsigned char, Menu::arg const*) +00000064 B barometer 00000064 t mavlink_msg_param_value_send 00000068 t zero_eeprom() 00000068 t find_last_log_page(int) @@ -508,13 +500,15 @@ 0000006e T output_min() 00000078 t setup_batt_monitor(unsigned char, Menu::arg const*) 0000007a t setup_factory(unsigned char, Menu::arg const*) +0000007a t report_flight_modes() +0000007c t send_gps_status(mavlink_channel_t) 0000007c t test_baro(unsigned char, Menu::arg const*) 0000007e t test_rawgps(unsigned char, Menu::arg const*) 00000080 T __vector_25 00000080 T __vector_36 00000080 T __vector_54 +00000082 t Log_Write_Attitude() 00000082 t do_RTL() -00000086 t Log_Read_Attitude() 00000088 t Log_Read_Raw() 0000008c t setup_frame(unsigned char, Menu::arg const*) 0000008c t print_gyro_offsets() @@ -536,83 +530,95 @@ 000000a4 T __vector_37 000000a4 T __vector_55 000000aa t test_sonar(unsigned char, Menu::arg const*) +000000aa t Log_Read_Nav_Tuning() 000000ae t report_frame() 000000b2 t erase_logs(unsigned char, Menu::arg const*) 000000b4 t test_relay(unsigned char, Menu::arg const*) 000000b4 t planner_gcs(unsigned char, Menu::arg const*) 000000b6 t get_log_boundaries(unsigned char, int&, int&) 000000b7 B compass -000000be t Log_Read_Nav_Tuning() 000000c2 t setup_compass(unsigned char, Menu::arg const*) +000000c2 t send_radio_out(mavlink_channel_t) +000000c2 t Log_Read_Attitude() 000000c4 t get_distance(Location*, Location*) 000000c4 t update_events() 000000c4 r setup_esc(unsigned char, Menu::arg const*)::__c 000000c6 t test_eedump(unsigned char, Menu::arg const*) -000000c6 t Log_Read(int, int) +000000c6 t send_radio_in(mavlink_channel_t) 000000c6 t test_tri(unsigned char, Menu::arg const*) 000000c7 B dcm 000000ca t init_barometer() -000000cc t read_radio() +000000d0 t read_radio() 000000d0 t get_bearing(Location*, Location*) +000000d2 t print_switch(unsigned char, unsigned char, bool) +000000d4 t Log_Read(int, int) 000000d8 t test_radio(unsigned char, Menu::arg const*) 000000d8 t read_barometer() -000000de t Log_Read_Performance() -000000de t Log_Read_Control_Tuning() +000000da t Log_Read_Performance() 000000de t test_adc(unsigned char, Menu::arg const*) 000000e0 r setup_menu_commands -000000e0 b mavlink_parse_char::m_mavlink_message 000000e4 t test_radio_pwm(unsigned char, Menu::arg const*) 000000e4 t Log_Read_Optflow() 000000e4 W APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&) -000000e6 t setup_flightmodes(unsigned char, Menu::arg const*) 000000e8 t Log_Read_Current() +000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() -000000f4 t _mav_finalize_message_chan_send 000000f6 t Log_Read_Cmd() -000000fa t calc_nav_pitch_roll() +0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t test_gps(unsigned char, Menu::arg const*) +0000010c t test_current(unsigned char, Menu::arg const*) 0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*) -00000112 t test_current(unsigned char, Menu::arg const*) +0000010e t send_servo_out(mavlink_channel_t) +00000112 t send_extended_status1(mavlink_channel_t, unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000118 t set_command_with_index(Location, int) 00000118 T GCS_MAVLINK::_queued_send() +0000011c t get_command_with_index(int) 00000120 r test_menu_commands -00000128 t get_command_with_index(int) 00000130 t report_compass() +00000132 t set_next_WP(Location*) 00000134 T GCS_MAVLINK::send_message(unsigned char, unsigned long) -0000014e T GCS_MAVLINK::update() -00000150 t update_trig() -00000152 t set_next_WP(Location*) -00000156 t Log_Read_GPS() +00000138 t get_stabilize_roll(long) +00000138 t get_stabilize_pitch(long) +00000148 t Log_Read_GPS() +00000152 T GCS_MAVLINK::update() +00000158 t update_commands() +0000015c t update_trig() +00000160 t send_location(mavlink_channel_t) +00000160 t send_nav_controller_output(mavlink_channel_t) 00000166 t select_logs(unsigned char, Menu::arg const*) -0000016c t update_commands() +00000166 t send_vfr_hud(mavlink_channel_t) +0000016e t send_attitude(mavlink_channel_t) +00000170 t test_imu(unsigned char, Menu::arg const*) 00000170 t test_mag(unsigned char, Menu::arg const*) -00000172 t update_nav_wp() -000001a0 t init_home() 000001a8 t print_radio_values() -000001b8 t test_imu(unsigned char, Menu::arg const*) +000001be t arm_motors() 000001be T GCS_MAVLINK::data_stream_send(unsigned int, unsigned int) -000001ca t arm_motors() 000001ca t mavlink_delay(unsigned long) 000001ce t start_new_log() -000001fc t setup_motors(unsigned char, Menu::arg const*) -00000202 t set_mode(unsigned char) +000001d6 t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) +000001e4 t setup_flightmodes(unsigned char, Menu::arg const*) +000001ea t init_home() +00000206 t set_mode(unsigned char) +00000210 t setup_motors(unsigned char, Menu::arg const*) +0000021a t send_raw_imu1(mavlink_channel_t) 00000220 t test_wp(unsigned char, Menu::arg const*) 00000228 t setup_radio(unsigned char, Menu::arg const*) +0000022a t send_gps_raw(mavlink_channel_t) +00000268 t send_raw_imu3(mavlink_channel_t) +000002bc T update_roll_pitch_mode() 000002ea t tuning() -00000330 t calc_nav_rate(int, int, int, int) -00000358 T update_throttle_mode() +00000354 t calc_nav_rate(int, int, int, int) 00000384 t print_log_menu() -000003be t read_battery() -000003dc T update_yaw_mode() -000004b2 t mavlink_parse_char -000005ea T update_roll_pitch_mode() -0000062e t init_ardupilot() -000007a8 t __static_initialization_and_destruction_0(int, int) -000007dc b g -0000083c W Parameters::Parameters() -000008e4 t process_next_command() +000003a0 t read_battery() +000003d2 T update_throttle_mode() +00000410 T update_yaw_mode() +0000049a t update_nav_wp() +000005ee t init_ardupilot() +000007b0 t __static_initialization_and_destruction_0(int, int) +000007ea b g +0000085e t process_next_command() +000008a0 W Parameters::Parameters() 000011d8 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000017ac t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) -00001fa2 T loop +00001b7c T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.build.log index ff07e834d3..5e185a5e08 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.build.log @@ -1,56 +1,68 @@ %% ArduCopter.cpp %% ArduCopter.o -In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:53: +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:55: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition -autogenerated:34: warning: 'int alt_hold_velocity()' declared 'static' but never defined -autogenerated:86: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined -autogenerated:87: warning: 'void send_message(byte)' declared 'static' but never defined -autogenerated:88: warning: 'void send_message(byte, long int)' declared 'static' but never defined -autogenerated:82: warning: 'void send_message(byte, const char*)' declared 'static' but never defined -autogenerated:91: warning: 'void print_current_waypoints()' declared 'static' but never defined -autogenerated:94: warning: 'void print_attitude()' declared 'static' but never defined -autogenerated:90: warning: 'void print_control_mode()' declared 'static' but never defined -autogenerated:92: warning: 'void print_position()' declared 'static' but never defined -autogenerated:96: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined -autogenerated:97: warning: 'void print_waypoints()' declared 'static' but never defined -autogenerated:70: warning: 'long int convert_to_dec(float)' declared 'static' but never defined -autogenerated:139: warning: 'void Log_Write_Optflow()' declared 'static' but never defined -autogenerated:150: warning: 'void decrement_WP_index()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/commands.pde:149: warning: 'Location get_LOITER_home_wp()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:427: warning: 'bool verify_loiter_unlim()' defined but not used +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: +/root/apm/ardupilot-mega/ArduCopter/Parameters.h: In constructor 'Parameters::Parameters()': +/root/apm/ardupilot-mega/ArduCopter/Parameters.h:386: warning: overflow in implicit constant conversion +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:300: warning: statement has no effect +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_nav_wp()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:405: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_loiter_time()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: warning: comparison between signed and unsigned integer expressions +autogenerated: At global scope: +autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined +autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined +autogenerated:84: warning: 'void send_message(byte)' declared 'static' but never defined +autogenerated:85: warning: 'void send_message(byte, long int)' declared 'static' but never defined +autogenerated:79: warning: 'void send_message(byte, const char*)' declared 'static' but never defined +autogenerated:88: warning: 'void print_current_waypoints()' declared 'static' but never defined +autogenerated:91: warning: 'void print_attitude()' declared 'static' but never defined +autogenerated:87: warning: 'void print_control_mode()' declared 'static' but never defined +autogenerated:89: warning: 'void print_position()' declared 'static' but never defined +autogenerated:93: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined +autogenerated:94: warning: 'void print_waypoints()' declared 'static' but never defined +autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' but never defined +autogenerated:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined +autogenerated:146: warning: 'void decrement_WP_index()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/commands.pde:132: warning: 'Location get_LOITER_home_wp()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:298: warning: 'void do_loiter_turns()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:424: warning: 'bool verify_loiter_unlim()' defined but not used /root/apm/ardupilot-mega/ArduCopter/events.pde:46: warning: 'void low_battery_event()' defined but not used autogenerated:210: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:211: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:235: warning: 'void debug_motors()' declared 'static' but never defined -autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:159: warning: 'int get_loiter_angle()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'void reset_crosstrack()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:222: warning: 'long int get_altitude_above_home()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:243: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used +autogenerated:249: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:152: warning: 'int get_loiter_angle()' defined but not used +autogenerated:253: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:254: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:255: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:131: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:188: warning: 'void trim_yaw()' defined but not used -autogenerated:268: warning: 'void readCommands()' declared 'static' but never defined -autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:267: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:268: warning: 'void parseCommand(char*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:6: warning: 'void ReadSCP1000()' defined but not used -autogenerated:272: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:271: warning: 'long int read_baro_filtered()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:95: warning: 'void read_airspeed()' defined but not used /root/apm/ardupilot-mega/ArduCopter/sensors.pde:100: warning: 'void zero_airspeed()' defined but not used -autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined -autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined -autogenerated:295: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:296: warning: 'int read_num_from_serial()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/system.pde:465: warning: 'void set_failsafe(boolean)' defined but not used -autogenerated:311: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/test.pde:991: warning: 'void print_motor_out()' defined but not used +autogenerated:285: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:286: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:293: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:294: warning: 'int read_num_from_serial()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/system.pde:448: warning: 'void set_failsafe(boolean)' defined but not used +autogenerated:309: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:317: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:992: warning: 'void print_motor_out()' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:443: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:449: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:463: warning: 'simple_WP' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'optflow_offset' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/control_modes.pde:48: warning: 'trim_flag' defined but not used %% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_PI/APM_PI.o %% libraries/APM_RC/APM_RC.o @@ -84,33 +96,7 @@ autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never de In file included from /root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28: /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:20:1: warning: this is the location of the previous definition -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_led_always_on(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:221: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'bool AP_OpticalFlow_ADNS3080::get_frame_rate_auto()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:257: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_shutter_speed_auto(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:361: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'int AP_OpticalFlow_ADNS3080::print_pixel_data(Stream*)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:441: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'virtual bool AP_OpticalFlow_ADNS3080::init(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:80: warning: control reaches end of non-void function %% libraries/AP_OpticalFlow/AP_OpticalFlow.o -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual void AP_OpticalFlow::get_position(float, float, float, float)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:88: warning: unused variable 'i' -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: control reaches end of non-void function %% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o %% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o %% libraries/AP_RangeFinder/RangeFinder.o @@ -123,6 +109,7 @@ In file included from /root/apm/ardupilot-mega/libraries/DataFlash/DataFlash.cpp %% libraries/FastSerial/vprintf.o %% libraries/GCS_MAVLink/GCS_MAVLink.o %% libraries/ModeFilter/ModeFilter.o +%% libraries/RC_Channel/RC_Channel_aux.o %% libraries/RC_Channel/RC_Channel.o %% libraries/memcheck/memcheck.o %% libraries/FastSerial/ftoa_engine.o diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.size.txt index da96f935e5..5846221454 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.size.txt @@ -4,19 +4,18 @@ 00000001 b motor_armed 00000001 b motor_light 00000001 b control_mode -00000001 b simple_timer +00000001 b gps_watchdog 00000001 d yaw_tracking 00000001 b land_complete 00000001 b throttle_mode 00000001 b command_may_ID 00000001 b wp_verify_byte -00000001 b xtrack_enabled 00000001 d altitude_sensor 00000001 b command_must_ID 00000001 b command_yaw_dir +00000001 b new_radio_frame 00000001 b roll_pitch_mode 00000001 b counter_one_herz -00000001 b delta_ms_fiftyhz 00000001 b did_ground_start 00000001 b in_mavlink_delay 00000001 b invalid_throttle @@ -27,34 +26,30 @@ 00000001 b command_may_index 00000001 b oldSwitchPosition 00000001 b command_must_index -00000001 b delta_ms_fast_loop 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative -00000001 b delta_ms_medium_loop 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode 00000001 b GPS_light -00000001 b alt_timer 00000001 b loop_step -00000001 b trim_flag 00000001 b dancing_light()::step -00000001 b update_motor_leds()::blink -00000001 b radio_input_switch()::bouncer 00000001 b read_control_switch()::switch_debouncer 00000001 d GCS_MAVLINK::handleMessage(__mavlink_message*)::mav_nav 00000001 B mavdelay 00000002 T mavlink_acknowledge(mavlink_channel_t, unsigned char, unsigned char, unsigned char) 00000002 b climb_rate +00000002 b loiter_sum 00000002 b event_delay 00000002 b event_value 00000002 b event_repeat +00000002 b loiter_total 00000002 b nav_throttle 00000002 b altitude_rate 00000002 b gps_fix_count 00000002 b velocity_land -00000002 b mainLoop_count +00000002 b loiter_time_max 00000002 b command_yaw_time 00000002 b event_undo_value 00000002 b command_yaw_speed @@ -92,16 +87,13 @@ 00000004 d cos_pitch_x 00000004 b event_timer 00000004 b loiter_time -00000004 b nav_bearing 00000004 d scaleLongUp 00000004 b sin_pitch_y 00000004 b wp_distance 00000004 b abs_pressure -00000004 b circle_angle 00000004 b current_amps 00000004 b old_altitude 00000004 b original_alt -00000004 b bearing_error 00000004 b current_total 00000004 b nav_loopTimer 00000004 d scaleLongDown @@ -110,29 +102,27 @@ 00000004 b fast_loopTimer 00000004 b perf_mon_timer 00000004 b target_bearing +00000004 b throttle_timer 00000004 d battery_voltage 00000004 b command_yaw_end 00000004 b condition_start 00000004 b condition_value 00000004 b ground_pressure -00000004 b loiter_time_max 00000004 b target_altitude 00000004 d battery_voltage1 00000004 d battery_voltage2 00000004 d battery_voltage3 00000004 d battery_voltage4 -00000004 b medium_loopTimer 00000004 b wp_totalDistance 00000004 b command_yaw_delta 00000004 b command_yaw_start 00000004 b fiftyhz_loopTimer -00000004 b crosstrack_bearing -00000004 b fast_loopTimeStamp +00000004 b old_target_bearing 00000004 b throttle_integrator -00000004 b saved_target_bearing 00000004 r __menu_name__log_menu 00000004 b command_yaw_start_time 00000004 b initial_simple_bearing +00000004 b original_target_bearing 00000004 d G_Dt 00000004 b dTnav 00000004 b nav_lat @@ -152,6 +142,7 @@ 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000004 r print_switch(unsigned char, unsigned char, bool)::__c 00000004 b mavlink_delay(unsigned long)::last_1hz 00000004 b mavlink_delay(unsigned long)::last_3hz 00000004 b mavlink_delay(unsigned long)::last_10hz @@ -172,6 +163,7 @@ 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r Log_Read_Raw()::__c +00000005 r print_switch(unsigned char, unsigned char, bool)::__c 00000005 r Log_Read_Mode()::__c 00000005 r report_tuning()::__c 00000005 r print_log_menu()::__c @@ -215,6 +207,7 @@ 00000007 r test_wp(unsigned char, Menu::arg const*)::__c 00000007 V Parameters::Parameters()::__c 00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c @@ -235,7 +228,7 @@ 00000008 V Parameters::Parameters()::__c 00000008 V Parameters::Parameters()::__c 00000008 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c -00000009 r print_switch(unsigned char, unsigned char)::__c +00000009 r print_switch(unsigned char, unsigned char, bool)::__c 00000009 r print_log_menu()::__c 00000009 r print_log_menu()::__c 00000009 r report_compass()::__c @@ -255,10 +248,13 @@ 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +0000000a T piezo_on() +0000000a T piezo_off() 0000000a r test_relay(unsigned char, Menu::arg const*)::__c 0000000a r start_new_log()::__c 0000000a r print_log_menu()::__c @@ -270,7 +266,6 @@ 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c -0000000a V Parameters::Parameters()::__c 0000000a T setup 0000000b r test_relay(unsigned char, Menu::arg const*)::__c 0000000b r report_batt_monitor()::__c @@ -280,6 +275,7 @@ 0000000c t test_mode(unsigned char, Menu::arg const*) 0000000c T GCS_MAVLINK::send_text(unsigned char, char const*) 0000000c V vtable for IMU +0000000c r print_switch(unsigned char, unsigned char, bool)::__c 0000000c r report_frame()::__c 0000000c r test_baro(unsigned char, Menu::arg const*)::__c 0000000c V Parameters::Parameters()::__c @@ -345,20 +341,18 @@ 0000000f r report_batt_monitor()::__c 0000000f r test_imu(unsigned char, Menu::arg const*)::__c 0000000f V AP_IMU_Oilpan::AP_IMU_Oilpan(AP_ADC*, unsigned int)::__c +00000010 r flight_mode_strings 00000010 r planner_menu_commands 00000010 b motor_out 00000010 W AP_VarT::cast_to_float() const 00000010 r test_sonar(unsigned char, Menu::arg const*)::__c 00000010 r report_compass()::__c -00000010 t mavlink_get_channel_status 00000011 r erase_logs(unsigned char, Menu::arg const*)::__c 00000011 r zero_eeprom()::__c 00000011 r update_commands()::__c -00000011 r Log_Read_Attitude()::__c 00000012 B Serial 00000012 B Serial1 00000012 B Serial3 -00000012 r flight_mode_strings 00000012 W AP_Float16::~AP_Float16() 00000012 W AP_VarA::~AP_VarA() 00000012 W AP_VarS >::~AP_VarS() @@ -384,16 +378,16 @@ 00000015 r Log_Read_Motors()::__c 00000015 r print_hit_enter()::__c 00000015 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c -00000016 r init_ardupilot()::__c +00000016 T piezo_beep() 00000016 r GCS_MAVLINK::update()::__c 00000016 B sonar -00000017 r __menu_name__main_menu 00000018 t setup_tune(unsigned char, Menu::arg const*) 00000018 t setup_accel(unsigned char, Menu::arg const*) +00000018 r __menu_name__main_menu 00000018 W AP_VarT::serialize(void*, unsigned int) const -00000018 b mavlink_get_channel_status::m_mavlink_status 00000019 r GCS_MAVLINK::update()::__c 0000001a r print_log_menu()::__c +0000001a r Log_Read_Nav_Tuning()::__c 0000001c W AP_VarA::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) @@ -401,8 +395,8 @@ 0000001c W AP_VarA::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001d r Log_Read_Attitude()::__c 0000001e r Log_Read_Optflow()::__c -0000001e r Log_Read_Nav_Tuning()::__c 0000001f r test_mag(unsigned char, Menu::arg const*)::__c 00000020 r test_current(unsigned char, Menu::arg const*)::__c 00000020 t byte_swap_4 @@ -425,10 +419,12 @@ 00000024 r init_ardupilot()::__c 00000024 r print_accel_offsets()::__c 00000025 r setup_factory(unsigned char, Menu::arg const*)::__c +00000025 r Log_Read_Performance()::__c 00000026 t print_done() 00000026 b mavlink_queue 00000026 t print_hit_enter() 00000026 t Log_Read_Startup() +00000026 r Log_Read_Control_Tuning()::__c 00000027 r test_xbee(unsigned char, Menu::arg const*)::__c 00000028 t test_battery(unsigned char, Menu::arg const*) 00000028 t main_menu_help(unsigned char, Menu::arg const*) @@ -439,23 +435,24 @@ 00000029 r setup_mode(unsigned char, Menu::arg const*)::__c 00000029 r test_gps(unsigned char, Menu::arg const*)::__c 0000002a t setup_declination(unsigned char, Menu::arg const*) -0000002a r Log_Read_Control_Tuning()::__c 0000002b r planner_mode(unsigned char, Menu::arg const*)::__c 0000002e t print_divider() 0000002e t send_rate(unsigned int, unsigned int) 0000002e W AP_Var_group::AP_Var_group(unsigned int, prog_char_t const*, unsigned char) -0000002e r Log_Read_Performance()::__c 0000002f r test_radio(unsigned char, Menu::arg const*)::__c +0000002f r init_ardupilot()::__c 00000030 t planner_mode(unsigned char, Menu::arg const*) +00000030 t send_heartbeat(mavlink_channel_t) 00000032 T GCS_MAVLINK::init(BetterStream*) 00000032 W APM_PI::~APM_PI() +00000032 r Log_Read_GPS()::__c 00000034 W AP_Float16::serialize(void*, unsigned int) const 00000034 t _mav_put_int8_t_array 00000035 r test_radio_pwm(unsigned char, Menu::arg const*)::__c 00000036 t report_radio() -00000036 r Log_Read_GPS()::__c 00000037 r print_wp(Location*, unsigned char)::__c 00000038 t init_throttle_cruise() +00000038 t send_current_waypoint(mavlink_channel_t) 00000038 r setup_radio(unsigned char, Menu::arg const*)::__c 00000038 r setup_factory(unsigned char, Menu::arg const*)::__c 0000003a t report_gps() @@ -465,41 +462,36 @@ 0000003e t verify_RTL() 0000003e T GCS_MAVLINK::send_text(unsigned char, prog_char_t const*) 0000003e W AP_VarT::AP_VarT(signed char, unsigned int, prog_char_t const*, unsigned char) +00000040 t read_AHRS() 00000040 W AP_Float16::unserialize(void*, unsigned int) 00000040 t byte_swap_8 -00000040 t crc_accumulate 00000042 t report_sonar() 00000044 t setup_show(unsigned char, Menu::arg const*) 00000044 W AP_VarT::AP_VarT(int, unsigned int, prog_char_t const*, unsigned char) +00000048 t update_motor_leds() +00000049 r setup_flightmodes(unsigned char, Menu::arg const*)::__c +0000004a t send_meminfo(mavlink_channel_t) +0000004a t change_command(unsigned char) 0000004a W AP_VarT::AP_VarT(AP_Var_group*, unsigned int, int, prog_char_t const*, unsigned char) 0000004c t update_auto_yaw() -0000004c B imu 0000004e T mavlink_send_text(mavlink_channel_t, unsigned char, char const*) 00000050 t report_version() 00000050 r log_menu_commands 00000050 r main_menu_commands -00000050 t read_AHRS() 00000050 T GCS_MAVLINK::_find_parameter(unsigned int) -00000052 t change_command(unsigned char) +00000050 B imu 00000054 t print_enabled(unsigned char) -00000054 t update_motor_leds() -00000054 t report_flight_modes() 00000055 r main_menu_help(unsigned char, Menu::arg const*)::__c -00000055 r setup_flightmodes(unsigned char, Menu::arg const*)::__c 00000056 t readSwitch() 00000056 t dancing_light() 00000057 r help_log(unsigned char, Menu::arg const*)::__c -00000058 t Log_Write_Attitude() 0000005a t read_control_switch() 0000005c t get_num_logs() 0000005c t setup_esc(unsigned char, Menu::arg const*) 0000005e t update_GPS_light() -0000005e t radio_input_switch() 0000005e T GCS_MAVLINK::_count_parameters() -00000060 t print_switch(unsigned char, unsigned char) -00000060 t _mavlink_send_uart -00000060 B barometer 00000064 t test_xbee(unsigned char, Menu::arg const*) +00000064 B barometer 00000064 t mavlink_msg_param_value_send 00000068 t zero_eeprom() 00000068 t find_last_log_page(int) @@ -508,13 +500,15 @@ 0000006e T output_min() 00000078 t setup_batt_monitor(unsigned char, Menu::arg const*) 0000007a t setup_factory(unsigned char, Menu::arg const*) +0000007a t report_flight_modes() 0000007a t test_baro(unsigned char, Menu::arg const*) +0000007c t send_gps_status(mavlink_channel_t) 0000007e t test_rawgps(unsigned char, Menu::arg const*) 00000080 T __vector_25 00000080 T __vector_36 00000080 T __vector_54 +00000082 t Log_Write_Attitude() 00000082 t do_RTL() -00000086 t Log_Read_Attitude() 00000088 t Log_Read_Raw() 0000008c t setup_frame(unsigned char, Menu::arg const*) 0000008c t print_gyro_offsets() @@ -536,83 +530,95 @@ 000000a4 T __vector_37 000000a4 T __vector_55 000000a8 t test_sonar(unsigned char, Menu::arg const*) +000000aa t Log_Read_Nav_Tuning() 000000ae t report_frame() 000000b2 t erase_logs(unsigned char, Menu::arg const*) 000000b4 t test_relay(unsigned char, Menu::arg const*) 000000b4 t planner_gcs(unsigned char, Menu::arg const*) 000000b6 t get_log_boundaries(unsigned char, int&, int&) 000000b7 B compass -000000be t Log_Read_Nav_Tuning() 000000c2 t test_eedump(unsigned char, Menu::arg const*) 000000c2 t setup_compass(unsigned char, Menu::arg const*) +000000c2 t send_radio_out(mavlink_channel_t) +000000c2 t Log_Read_Attitude() 000000c4 t get_distance(Location*, Location*) 000000c4 t update_events() 000000c4 r setup_esc(unsigned char, Menu::arg const*)::__c -000000c6 t Log_Read(int, int) +000000c6 t send_radio_in(mavlink_channel_t) 000000c6 t test_tri(unsigned char, Menu::arg const*) 000000c7 B dcm 000000ca t init_barometer() -000000cc t read_radio() +000000d0 t read_radio() 000000d0 t get_bearing(Location*, Location*) +000000d0 t print_switch(unsigned char, unsigned char, bool) +000000d4 t Log_Read(int, int) 000000d8 t test_radio(unsigned char, Menu::arg const*) 000000d8 t read_barometer() +000000da t Log_Read_Performance() 000000dc t test_adc(unsigned char, Menu::arg const*) -000000de t Log_Read_Performance() -000000de t Log_Read_Control_Tuning() 000000e0 r setup_menu_commands -000000e0 b mavlink_parse_char::m_mavlink_message 000000e4 t test_radio_pwm(unsigned char, Menu::arg const*) 000000e4 t Log_Read_Optflow() 000000e4 W APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&) -000000e6 t setup_flightmodes(unsigned char, Menu::arg const*) 000000e8 t Log_Read_Current() +000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() -000000f4 t _mav_finalize_message_chan_send 000000f6 t Log_Read_Cmd() -000000fa t calc_nav_pitch_roll() +0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t test_gps(unsigned char, Menu::arg const*) +0000010c t test_current(unsigned char, Menu::arg const*) 0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*) -00000112 t test_current(unsigned char, Menu::arg const*) +0000010e t send_servo_out(mavlink_channel_t) +00000112 t send_extended_status1(mavlink_channel_t, unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000118 t set_command_with_index(Location, int) 00000118 T GCS_MAVLINK::_queued_send() +0000011c t get_command_with_index(int) 00000120 r test_menu_commands -00000128 t get_command_with_index(int) 00000130 t report_compass() +00000132 t set_next_WP(Location*) 00000134 T GCS_MAVLINK::send_message(unsigned char, unsigned long) -0000014e T GCS_MAVLINK::update() -00000150 t update_trig() -00000152 t set_next_WP(Location*) -00000156 t Log_Read_GPS() +00000138 t get_stabilize_roll(long) +00000138 t get_stabilize_pitch(long) +00000148 t Log_Read_GPS() +00000152 T GCS_MAVLINK::update() +00000158 t update_commands() +0000015c t update_trig() +00000160 t send_location(mavlink_channel_t) +00000160 t send_nav_controller_output(mavlink_channel_t) 00000166 t select_logs(unsigned char, Menu::arg const*) -0000016c t update_commands() +00000166 t send_vfr_hud(mavlink_channel_t) +0000016e t send_attitude(mavlink_channel_t) +00000170 t test_imu(unsigned char, Menu::arg const*) 00000170 t test_mag(unsigned char, Menu::arg const*) -00000172 t update_nav_wp() -000001a0 t init_home() 000001a8 t print_radio_values() -000001b8 t test_imu(unsigned char, Menu::arg const*) +000001be t arm_motors() 000001be T GCS_MAVLINK::data_stream_send(unsigned int, unsigned int) -000001ca t arm_motors() 000001ca t mavlink_delay(unsigned long) 000001ce t start_new_log() -000001fc t setup_motors(unsigned char, Menu::arg const*) -00000202 t set_mode(unsigned char) +000001d6 t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) +000001e4 t setup_flightmodes(unsigned char, Menu::arg const*) +000001ea t init_home() +00000206 t set_mode(unsigned char) +00000210 t setup_motors(unsigned char, Menu::arg const*) +0000021a t send_raw_imu1(mavlink_channel_t) 0000021c t test_wp(unsigned char, Menu::arg const*) 00000228 t setup_radio(unsigned char, Menu::arg const*) +0000022a t send_gps_raw(mavlink_channel_t) +00000268 t send_raw_imu3(mavlink_channel_t) +000002bc T update_roll_pitch_mode() 000002ea t tuning() -00000330 t calc_nav_rate(int, int, int, int) -00000358 T update_throttle_mode() +00000354 t calc_nav_rate(int, int, int, int) 00000382 t print_log_menu() -000003be t read_battery() -000003dc T update_yaw_mode() -000004b2 t mavlink_parse_char -000005ea T update_roll_pitch_mode() -0000062e t init_ardupilot() -000007a8 t __static_initialization_and_destruction_0(int, int) -000007dc b g -0000083c W Parameters::Parameters() -000008e4 t process_next_command() +000003a0 t read_battery() +000003d2 T update_throttle_mode() +00000410 T update_yaw_mode() +0000049a t update_nav_wp() +000005ee t init_ardupilot() +000007b0 t __static_initialization_and_destruction_0(int, int) +000007ea b g +0000085e t process_next_command() +000008a0 W Parameters::Parameters() 000011d8 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000017ac t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) -00001fa0 T loop +00001b7a T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.build.log index 48387c886f..32e5e8dc4b 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.build.log @@ -1,69 +1,203 @@ %% ArduCopter.cpp %% ArduCopter.o -In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:53: +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:55: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde: In function 'void read_AHRS()': -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:1301: error: 'class AP_DCM_HIL' has no member named 'update_DCM_fast' +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: +/root/apm/ardupilot-mega/ArduCopter/Parameters.h: In constructor 'Parameters::Parameters()': +/root/apm/ardupilot-mega/ArduCopter/Parameters.h:386: warning: overflow in implicit constant conversion +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:300: warning: statement has no effect +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_nav_wp()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:405: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_loiter_time()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: warning: comparison between signed and unsigned integer expressions autogenerated: At global scope: -autogenerated:34: warning: 'int alt_hold_velocity()' declared 'static' but never defined -autogenerated:86: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined -autogenerated:87: warning: 'void send_message(byte)' declared 'static' but never defined -autogenerated:88: warning: 'void send_message(byte, long int)' declared 'static' but never defined -autogenerated:82: warning: 'void send_message(byte, const char*)' declared 'static' but never defined -autogenerated:91: warning: 'void print_current_waypoints()' declared 'static' but never defined -autogenerated:94: warning: 'void print_attitude()' declared 'static' but never defined -autogenerated:90: warning: 'void print_control_mode()' declared 'static' but never defined -autogenerated:92: warning: 'void print_position()' declared 'static' but never defined -autogenerated:96: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined -autogenerated:97: warning: 'void print_waypoints()' declared 'static' but never defined -autogenerated:70: warning: 'long int convert_to_dec(float)' declared 'static' but never defined -autogenerated:135: warning: 'void Log_Write_Raw()' declared 'static' but never defined -autogenerated:139: warning: 'void Log_Write_Optflow()' declared 'static' but never defined -autogenerated:141: warning: 'void Log_Write_Control_Tuning()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/Log.pde:760: warning: 'void Log_Write_Attitude()' defined but not used -autogenerated:150: warning: 'void decrement_WP_index()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/commands.pde:149: warning: 'Location get_LOITER_home_wp()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:427: warning: 'bool verify_loiter_unlim()' defined but not used +autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined +autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined +autogenerated:84: warning: 'void send_message(byte)' declared 'static' but never defined +autogenerated:85: warning: 'void send_message(byte, long int)' declared 'static' but never defined +autogenerated:79: warning: 'void send_message(byte, const char*)' declared 'static' but never defined +autogenerated:88: warning: 'void print_current_waypoints()' declared 'static' but never defined +autogenerated:91: warning: 'void print_attitude()' declared 'static' but never defined +autogenerated:87: warning: 'void print_control_mode()' declared 'static' but never defined +autogenerated:89: warning: 'void print_position()' declared 'static' but never defined +autogenerated:93: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined +autogenerated:94: warning: 'void print_waypoints()' declared 'static' but never defined +autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' but never defined +autogenerated:132: warning: 'void Log_Write_Raw()' declared 'static' but never defined +autogenerated:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined +autogenerated:138: warning: 'void Log_Write_Control_Tuning()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/Log.pde:741: warning: 'void Log_Write_Attitude()' defined but not used +autogenerated:146: warning: 'void decrement_WP_index()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/commands.pde:132: warning: 'Location get_LOITER_home_wp()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:298: warning: 'void do_loiter_turns()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:424: warning: 'bool verify_loiter_unlim()' defined but not used /root/apm/ardupilot-mega/ArduCopter/events.pde:46: warning: 'void low_battery_event()' defined but not used autogenerated:210: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:211: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:235: warning: 'void debug_motors()' declared 'static' but never defined -autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:159: warning: 'int get_loiter_angle()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'void reset_crosstrack()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:222: warning: 'long int get_altitude_above_home()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:243: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used +autogenerated:249: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:152: warning: 'int get_loiter_angle()' defined but not used +autogenerated:253: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:254: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:255: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:131: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:188: warning: 'void trim_yaw()' defined but not used -autogenerated:268: warning: 'void readCommands()' declared 'static' but never defined -autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined -autogenerated:270: warning: 'void ReadSCP1000()' declared 'static' but never defined -autogenerated:271: warning: 'void init_barometer()' declared 'static' but never defined -autogenerated:272: warning: 'long int read_baro_filtered()' declared 'static' but never defined -autogenerated:273: warning: 'long int read_barometer()' declared 'static' but never defined -autogenerated:274: warning: 'void read_airspeed()' declared 'static' but never defined -autogenerated:275: warning: 'void zero_airspeed()' declared 'static' but never defined -autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined -autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined -autogenerated:295: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:296: warning: 'int read_num_from_serial()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/system.pde:465: warning: 'void set_failsafe(boolean)' defined but not used -autogenerated:311: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/test.pde:991: warning: 'void print_motor_out()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:354: warning: 'old_altitude' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:372: warning: 'abs_pressure' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:373: warning: 'ground_pressure' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:374: warning: 'ground_temperature' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:379: warning: 'baro_alt' defined but not used +autogenerated:267: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:268: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:269: warning: 'void ReadSCP1000()' declared 'static' but never defined +autogenerated:270: warning: 'void init_barometer()' declared 'static' but never defined +autogenerated:271: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:272: warning: 'long int read_barometer()' declared 'static' but never defined +autogenerated:273: warning: 'void read_airspeed()' declared 'static' but never defined +autogenerated:274: warning: 'void zero_airspeed()' declared 'static' but never defined +autogenerated:285: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:286: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:293: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:294: warning: 'int read_num_from_serial()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/system.pde:448: warning: 'void set_failsafe(boolean)' defined but not used +autogenerated:309: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:317: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:992: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:351: warning: 'old_altitude' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:369: warning: 'abs_pressure' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:370: warning: 'ground_pressure' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:371: warning: 'ground_temperature' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:376: warning: 'baro_alt' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:443: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:449: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:463: warning: 'simple_WP' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'optflow_offset' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/control_modes.pde:48: warning: 'trim_flag' defined but not used /root/apm/ardupilot-mega/ArduCopter/test.pde:13: warning: 'int8_t test_adc(uint8_t, const Menu::arg*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/test.pde:24: warning: 'int8_t test_baro(uint8_t, const Menu::arg*)' declared 'static' but never defined -make: *** [/tmp/ArduCopter.build/ArduCopter.o] Error 1 +%% libraries/APM_BMP085/APM_BMP085.o +%% libraries/APM_PI/APM_PI.o +%% libraries/APM_RC/APM_RC.o +%% libraries/AP_ADC/AP_ADC_ADS7844.o +%% libraries/AP_ADC/AP_ADC.o +%% libraries/AP_ADC/AP_ADC_HIL.o +%% libraries/AP_Common/AP_Common.o +%% libraries/AP_Common/AP_Loop.o +%% libraries/AP_Common/AP_MetaClass.o +%% libraries/AP_Common/AP_Var.o +%% libraries/AP_Common/AP_Var_menufuncs.o +%% libraries/AP_Common/c++.o +%% libraries/AP_Common/menu.o +%% libraries/AP_Compass/AP_Compass_HIL.o +%% libraries/AP_Compass/AP_Compass_HMC5843.o +%% libraries/AP_Compass/Compass.o +%% libraries/AP_DCM/AP_DCM.o +%% libraries/AP_DCM/AP_DCM_HIL.o +%% libraries/AP_GPS/AP_GPS_406.o +%% libraries/AP_GPS/AP_GPS_Auto.o +%% libraries/AP_GPS/AP_GPS_HIL.o +%% libraries/AP_GPS/AP_GPS_IMU.o +%% libraries/AP_GPS/AP_GPS_MTK16.o +%% libraries/AP_GPS/AP_GPS_MTK.o +%% libraries/AP_GPS/AP_GPS_NMEA.o +%% libraries/AP_GPS/AP_GPS_SIRF.o +%% libraries/AP_GPS/AP_GPS_UBLOX.o +%% libraries/AP_GPS/GPS.o +%% libraries/AP_IMU/AP_IMU_Oilpan.o +%% libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.o +In file included from /root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28: +/usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined +/usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:20:1: warning: this is the location of the previous definition +%% libraries/AP_OpticalFlow/AP_OpticalFlow.o +%% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o +%% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o +%% libraries/AP_RangeFinder/RangeFinder.o +%% libraries/DataFlash/DataFlash.o +In file included from /root/apm/ardupilot-mega/libraries/DataFlash/DataFlash.cpp:35: +/usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined +/usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition +%% libraries/FastSerial/BetterStream.o +%% libraries/FastSerial/FastSerial.o +%% libraries/FastSerial/vprintf.o +%% libraries/GCS_MAVLink/GCS_MAVLink.o +%% libraries/ModeFilter/ModeFilter.o +%% libraries/RC_Channel/RC_Channel_aux.o +%% libraries/RC_Channel/RC_Channel.o +%% libraries/memcheck/memcheck.o +%% libraries/FastSerial/ftoa_engine.o +%% libraries/FastSerial/ultoa_invert.o +%% libraries/SPI/SPI.o +In file included from /usr/local/share/arduino/libraries/SPI/SPI.cpp:12: +/usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined +/usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition +%% libraries/Wire/Wire.o +%% libraries/Wire/utility/twi.o +cc1: warning: command line option "-Wno-reorder" is valid for C++/ObjC++ but not for C +%% arduino/HardwareSerial.o +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:28: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +%% arduino/main.o +%% arduino/Print.o +%% arduino/Tone.o +/usr/local/share/arduino/hardware/arduino/cores/arduino/Tone.cpp:93: warning: only initialized variables can be placed into program memory area +%% arduino/WMath.o +%% arduino/WString.o +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:26: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:84: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:85: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:86: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:87: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:88: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:89: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:90: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:91: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:93: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:94: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:95: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:100: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:101: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:102: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:103: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:104: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:105: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:106: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:107: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:109: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:110: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:111: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:116: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:117: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:118: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:119: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:120: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:121: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:122: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:123: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:125: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:126: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:127: warning: initialization makes integer from pointer without a cast +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/WInterrupts.c:34: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_analog.c:27: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring.c:25: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_digital.c:27: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_pulse.c:25: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_shift.c:25: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +%% arduino/core.a +%% ArduCopter.elf +%% ArduCopter.eep +%% ArduCopter.hex diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.size.txt index e69de29bb2..6768c991c3 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.size.txt @@ -0,0 +1,609 @@ +00000001 b wp_control +00000001 b GPS_enabled +00000001 b home_is_set +00000001 b motor_armed +00000001 b motor_light +00000001 b control_mode +00000001 b gps_watchdog +00000001 d yaw_tracking +00000001 b land_complete +00000001 b throttle_mode +00000001 b command_may_ID +00000001 b wp_verify_byte +00000001 d altitude_sensor +00000001 b command_must_ID +00000001 b command_yaw_dir +00000001 b new_radio_frame +00000001 b roll_pitch_mode +00000001 b counter_one_herz +00000001 b did_ground_start +00000001 b in_mavlink_delay +00000001 b invalid_throttle +00000001 b motor_auto_armed +00000001 b old_control_mode +00000001 b slow_loopCounter +00000001 b takeoff_complete +00000001 b command_may_index +00000001 b oldSwitchPosition +00000001 b command_must_index +00000001 d ground_start_count +00000001 b medium_loopCounter +00000001 b command_yaw_relative +00000001 b event_id +00000001 b led_mode +00000001 b yaw_mode +00000001 b GPS_light +00000001 b loop_step +00000001 b dancing_light()::step +00000001 b read_control_switch()::switch_debouncer +00000001 d GCS_MAVLINK::handleMessage(__mavlink_message*)::mav_nav +00000001 B mavdelay +00000002 T mavlink_acknowledge(mavlink_channel_t, unsigned char, unsigned char, unsigned char) +00000002 b climb_rate +00000002 b loiter_sum +00000002 b event_delay +00000002 b event_value +00000002 b event_repeat +00000002 b loiter_total +00000002 b nav_throttle +00000002 b altitude_rate +00000002 b gps_fix_count +00000002 b velocity_land +00000002 b loiter_time_max +00000002 b command_yaw_time +00000002 b event_undo_value +00000002 b command_yaw_speed +00000002 b auto_level_counter +00000002 b superslow_loopCounter +00000002 r comma +00000002 b g_gps +00000002 b G_Dt_max +00000002 b airspeed +00000002 b sonar_alt +00000002 W AP_IMU_Shim::init_accel(void (*)(unsigned long)) +00000002 W AP_IMU_Shim::init(IMU::Start_style, void (*)(unsigned long)) +00000002 W AP_IMU_Shim::init_gyro(void (*)(unsigned long)) +00000002 T GCS_MAVLINK::acknowledge(unsigned char, unsigned char, unsigned char) +00000002 b arm_motors()::arming_counter +00000002 r setup_frame(unsigned char, Menu::arg const*)::__c +00000002 r setup_frame(unsigned char, Menu::arg const*)::__c +00000002 r setup_frame(unsigned char, Menu::arg const*)::__c +00000002 r setup_frame(unsigned char, Menu::arg const*)::__c +00000002 r test_wp(unsigned char, Menu::arg const*)::__c +00000002 V APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&)::__c +00000002 V APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&)::__c +00000002 B x_actual_speed +00000002 B x_rate_error +00000002 B y_actual_speed +00000002 B y_rate_error +00000003 r select_logs(unsigned char, Menu::arg const*)::__c +00000003 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000003 r print_enabled(unsigned char)::__c +00000003 r setup_compass(unsigned char, Menu::arg const*)::__c +00000004 d cos_roll_x +00000004 b land_start +00000004 b long_error +00000004 b sin_roll_y +00000004 d cos_pitch_x +00000004 b event_timer +00000004 b loiter_time +00000004 d scaleLongUp +00000004 b sin_pitch_y +00000004 b wp_distance +00000004 b current_amps +00000004 b gps_base_alt +00000004 b original_alt +00000004 b current_total +00000004 b nav_loopTimer +00000004 d scaleLongDown +00000004 t test_failsafe(unsigned char, Menu::arg const*) +00000004 b altitude_error +00000004 b fast_loopTimer +00000004 b perf_mon_timer +00000004 b target_bearing +00000004 b throttle_timer +00000004 d battery_voltage +00000004 b command_yaw_end +00000004 b condition_start +00000004 b condition_value +00000004 b target_altitude +00000004 d battery_voltage1 +00000004 d battery_voltage2 +00000004 d battery_voltage3 +00000004 d battery_voltage4 +00000004 b wp_totalDistance +00000004 b command_yaw_delta +00000004 b command_yaw_start +00000004 b fiftyhz_loopTimer +00000004 b old_target_bearing +00000004 b throttle_integrator +00000004 r __menu_name__log_menu +00000004 b command_yaw_start_time +00000004 b initial_simple_bearing +00000004 b original_target_bearing +00000004 d G_Dt +00000004 b dTnav +00000004 b nav_lat +00000004 b nav_lon +00000004 b nav_yaw +00000004 b old_alt +00000004 b auto_yaw +00000004 b nav_roll +00000004 d cos_yaw_x +00000004 b lat_error +00000004 b nav_pitch +00000004 b sin_yaw_y +00000004 b yaw_error +00000004 r select_logs(unsigned char, Menu::arg const*)::__c +00000004 r select_logs(unsigned char, Menu::arg const*)::__c +00000004 r select_logs(unsigned char, Menu::arg const*)::__c +00000004 r select_logs(unsigned char, Menu::arg const*)::__c +00000004 r select_logs(unsigned char, Menu::arg const*)::__c +00000004 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000004 r print_switch(unsigned char, unsigned char, bool)::__c +00000004 b mavlink_delay(unsigned long)::last_1hz +00000004 b mavlink_delay(unsigned long)::last_3hz +00000004 b mavlink_delay(unsigned long)::last_10hz +00000004 b mavlink_delay(unsigned long)::last_50hz +00000004 r print_enabled(unsigned char)::__c +00000004 r setup_compass(unsigned char, Menu::arg const*)::__c +00000004 r print_log_menu()::__c +00000004 r setup_batt_monitor(unsigned char, Menu::arg const*)::__c +00000004 V Parameters::Parameters()::__c +00000004 V RC_Channel::RC_Channel(unsigned int, prog_char_t const*)::__c +00000004 V RC_Channel::RC_Channel(unsigned int, prog_char_t const*)::__c +00000004 V RC_Channel::RC_Channel(unsigned int, prog_char_t const*)::__c +00000004 B tuning_value +00000005 r __menu_name__test_menu +00000005 r report_imu()::__c +00000005 r select_logs(unsigned char, Menu::arg const*)::__c +00000005 r select_logs(unsigned char, Menu::arg const*)::__c +00000005 r select_logs(unsigned char, Menu::arg const*)::__c +00000005 r Log_Read_Raw()::__c +00000005 r print_switch(unsigned char, unsigned char, bool)::__c +00000005 r Log_Read_Mode()::__c +00000005 r report_tuning()::__c +00000005 r print_log_menu()::__c +00000005 r print_log_menu()::__c +00000005 r print_log_menu()::__c +00000005 r print_log_menu()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V RC_Channel::RC_Channel(unsigned int, prog_char_t const*)::__c +00000005 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000005 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000005 V APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&)::__c +00000006 r __menu_name__setup_menu +00000006 r report_gps()::__c +00000006 r test_eedump(unsigned char, Menu::arg const*)::__c +00000006 r test_eedump(unsigned char, Menu::arg const*)::__c +00000006 r zero_eeprom()::__c +00000006 r Log_Read_Mode()::__c +00000006 r print_log_menu()::__c +00000006 r print_log_menu()::__c +00000006 V Parameters::Parameters()::__c +00000007 b setup_menu +00000007 b planner_menu +00000007 b log_menu +00000007 b main_menu +00000007 b test_menu +00000007 r select_logs(unsigned char, Menu::arg const*)::__c +00000007 r select_logs(unsigned char, Menu::arg const*)::__c +00000007 r report_frame()::__c +00000007 r report_radio()::__c +00000007 r report_sonar()::__c +00000007 r print_enabled(unsigned char)::__c +00000007 r test_wp(unsigned char, Menu::arg const*)::__c +00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c +00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000008 t setup_erase(unsigned char, Menu::arg const*) +00000008 r __menu_name__planner_menu +00000008 W AP_IMU_Shim::update() +00000008 r select_logs(unsigned char, Menu::arg const*)::__c +00000008 r report_frame()::__c +00000008 r report_frame()::__c +00000008 r report_frame()::__c +00000008 r report_tuning()::__c +00000008 r print_log_menu()::__c +00000008 r report_batt_monitor()::__c +00000008 r report_batt_monitor()::__c +00000008 r test_wp(unsigned char, Menu::arg const*)::__c +00000008 V Parameters::Parameters()::__c +00000008 V Parameters::Parameters()::__c +00000008 V Parameters::Parameters()::__c +00000008 V Parameters::Parameters()::__c +00000008 V Parameters::Parameters()::__c +00000008 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000009 r print_switch(unsigned char, unsigned char, bool)::__c +00000009 r print_log_menu()::__c +00000009 r print_log_menu()::__c +00000009 r report_compass()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +0000000a T piezo_on() +0000000a T piezo_off() +0000000a r test_relay(unsigned char, Menu::arg const*)::__c +0000000a r start_new_log()::__c +0000000a r print_log_menu()::__c +0000000a r Log_Read_Startup()::__c +0000000a r test_wp(unsigned char, Menu::arg const*)::__c +0000000a r test_mag(unsigned char, Menu::arg const*)::__c +0000000a V Parameters::Parameters()::__c +0000000a V Parameters::Parameters()::__c +0000000a V Parameters::Parameters()::__c +0000000a V Parameters::Parameters()::__c +0000000a V Parameters::Parameters()::__c +0000000a T setup +0000000b r test_relay(unsigned char, Menu::arg const*)::__c +0000000b r report_batt_monitor()::__c +0000000b V Parameters::Parameters()::__c +0000000c t setup_accel(unsigned char, Menu::arg const*) +0000000c t process_logs(unsigned char, Menu::arg const*) +0000000c b omega +0000000c t test_mode(unsigned char, Menu::arg const*) +0000000c T GCS_MAVLINK::send_text(unsigned char, char const*) +0000000c V vtable for AP_IMU_Shim +0000000c V vtable for IMU +0000000c r print_switch(unsigned char, unsigned char, bool)::__c +0000000c r report_frame()::__c +0000000c V Parameters::Parameters()::__c +0000000c V Parameters::Parameters()::__c +0000000c V Parameters::Parameters()::__c +0000000d r verify_RTL()::__c +0000000d r select_logs(unsigned char, Menu::arg const*)::__c +0000000d r test_tuning(unsigned char, Menu::arg const*)::__c +0000000d r test_battery(unsigned char, Menu::arg const*)::__c +0000000d r startup_ground()::__c +0000000d r test_wp(unsigned char, Menu::arg const*)::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d B sonar_mode_filter +0000000e t global destructors keyed to Serial +0000000e t global constructors keyed to Serial +0000000e V vtable for AP_Float16 +0000000e V vtable for AP_VarS > +0000000e V vtable for AP_VarS > +0000000e V vtable for AP_VarT +0000000e V vtable for AP_VarT +0000000e V vtable for AP_VarT +0000000e r arm_motors()::__c +0000000e r erase_logs(unsigned char, Menu::arg const*)::__c +0000000e r setup_mode(unsigned char, Menu::arg const*)::__c +0000000e r test_sonar(unsigned char, Menu::arg const*)::__c +0000000e r select_logs(unsigned char, Menu::arg const*)::__c +0000000e r print_log_menu()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r report_batt_monitor()::__c +0000000e r report_flight_modes()::__c +0000000e r dump_log(unsigned char, Menu::arg const*)::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000f b current_loc +0000000f b next_command +0000000f b home +0000000f b next_WP +0000000f b prev_WP +0000000f b guided_WP +0000000f b target_WP +0000000f r print_log_menu()::__c +0000000f r print_log_menu()::__c +0000000f r report_version()::__c +0000000f r report_batt_monitor()::__c +0000000f r test_imu(unsigned char, Menu::arg const*)::__c +00000010 r flight_mode_strings +00000010 r planner_menu_commands +00000010 b motor_out +00000010 W AP_VarT::cast_to_float() const +00000010 r test_sonar(unsigned char, Menu::arg const*)::__c +00000010 r report_compass()::__c +00000011 r arm_motors()::__c +00000011 r erase_logs(unsigned char, Menu::arg const*)::__c +00000011 r zero_eeprom()::__c +00000011 r update_commands()::__c +00000012 B Serial +00000012 B Serial1 +00000012 B Serial3 +00000012 W AP_Float16::~AP_Float16() +00000012 W AP_VarS >::~AP_VarS() +00000012 W AP_VarS >::~AP_VarS() +00000012 W AP_VarT::~AP_VarT() +00000012 W AP_VarT::~AP_VarT() +00000012 W AP_VarT::~AP_VarT() +00000012 W AP_VarT::serialize(void*, unsigned int) const +00000012 r print_done()::__c +00000012 r select_logs(unsigned char, Menu::arg const*)::__c +00000012 r setup_frame(unsigned char, Menu::arg const*)::__c +00000012 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c +00000013 r setup_compass(unsigned char, Menu::arg const*)::__c +00000013 r change_command(unsigned char)::__c +00000013 r setup_batt_monitor(unsigned char, Menu::arg const*)::__c +00000014 t startup_ground() +00000014 W AP_VarT::unserialize(void*, unsigned int) +00000014 W AP_VarT::cast_to_float() const +00000014 W AP_VarT::cast_to_float() const +00000014 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000014 r test_tri(unsigned char, Menu::arg const*)::__c +00000015 r map_baudrate(signed char, unsigned long)::__c +00000015 r init_ardupilot()::__c +00000015 r Log_Read_Motors()::__c +00000015 r print_hit_enter()::__c +00000015 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c +00000016 T piezo_beep() +00000016 r GCS_MAVLINK::update()::__c +00000016 B adc +00000016 B sonar +00000018 t setup_tune(unsigned char, Menu::arg const*) +00000018 r __menu_name__main_menu +00000018 W AP_VarT::serialize(void*, unsigned int) const +00000019 r GCS_MAVLINK::update()::__c +0000001a r print_log_menu()::__c +0000001a r Log_Read_Nav_Tuning()::__c +0000001c W AP_VarS >::unserialize(void*, unsigned int) +0000001c W AP_VarS >::unserialize(void*, unsigned int) +0000001c W AP_VarT::unserialize(void*, unsigned int) +0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001d r Log_Read_Attitude()::__c +0000001e r Log_Read_Optflow()::__c +0000001f r test_mag(unsigned char, Menu::arg const*)::__c +00000020 r test_current(unsigned char, Menu::arg const*)::__c +00000020 t byte_swap_4 +00000021 r print_log_menu()::__c +00000021 r report_compass()::__c +00000021 r Log_Read_Current()::__c +00000022 t clear_leds() +00000022 t print_blanks(int) +00000022 t reset_hold_I() +00000022 W AP_Float16::~AP_Float16() +00000022 W AP_VarS >::~AP_VarS() +00000022 W AP_VarS >::~AP_VarS() +00000022 W AP_VarT::~AP_VarT() +00000022 W AP_VarT::~AP_VarT() +00000022 W AP_VarT::~AP_VarT() +00000023 r setup_mode(unsigned char, Menu::arg const*)::__c +00000023 r print_gyro_offsets()::__c +00000024 r init_ardupilot()::__c +00000024 r print_accel_offsets()::__c +00000025 r setup_factory(unsigned char, Menu::arg const*)::__c +00000025 r Log_Read_Performance()::__c +00000026 t print_done() +00000026 b mavlink_queue +00000026 t print_hit_enter() +00000026 t Log_Read_Startup() +00000026 r Log_Read_Control_Tuning()::__c +00000027 r test_xbee(unsigned char, Menu::arg const*)::__c +00000028 t test_battery(unsigned char, Menu::arg const*) +00000028 t main_menu_help(unsigned char, Menu::arg const*) +00000028 t help_log(unsigned char, Menu::arg const*) +00000028 W AP_VarT::unserialize(void*, unsigned int) +00000028 W AP_VarT::serialize(void*, unsigned int) const +00000028 r Log_Read_Cmd()::__c +00000029 r setup_mode(unsigned char, Menu::arg const*)::__c +00000029 r test_gps(unsigned char, Menu::arg const*)::__c +0000002a t setup_declination(unsigned char, Menu::arg const*) +0000002b r planner_mode(unsigned char, Menu::arg const*)::__c +0000002c B imu +0000002e t print_divider() +0000002e t send_rate(unsigned int, unsigned int) +0000002e W AP_Var_group::AP_Var_group(unsigned int, prog_char_t const*, unsigned char) +0000002f r test_radio(unsigned char, Menu::arg const*)::__c +0000002f r init_ardupilot()::__c +00000030 t planner_mode(unsigned char, Menu::arg const*) +00000030 t send_heartbeat(mavlink_channel_t) +00000032 T GCS_MAVLINK::init(BetterStream*) +00000032 W APM_PI::~APM_PI() +00000032 r Log_Read_GPS()::__c +00000034 t _MAV_RETURN_float +00000034 W AP_Float16::serialize(void*, unsigned int) const +00000034 t _mav_put_int8_t_array +00000035 r test_radio_pwm(unsigned char, Menu::arg const*)::__c +00000036 t report_radio() +00000037 r print_wp(Location*, unsigned char)::__c +00000038 t init_throttle_cruise() +00000038 t send_current_waypoint(mavlink_channel_t) +00000038 r setup_radio(unsigned char, Menu::arg const*)::__c +00000038 r setup_factory(unsigned char, Menu::arg const*)::__c +0000003a t report_gps() +0000003a t report_imu() +0000003a B g_gps_driver +0000003c W RC_Channel::~RC_Channel() +0000003e t verify_RTL() +0000003e T GCS_MAVLINK::send_text(unsigned char, prog_char_t const*) +0000003e W AP_VarT::AP_VarT(signed char, unsigned int, prog_char_t const*, unsigned char) +00000040 W AP_Float16::unserialize(void*, unsigned int) +00000040 t byte_swap_8 +00000042 t report_sonar() +00000044 t setup_show(unsigned char, Menu::arg const*) +00000044 W AP_VarT::AP_VarT(int, unsigned int, prog_char_t const*, unsigned char) +00000048 t update_motor_leds() +00000049 r setup_flightmodes(unsigned char, Menu::arg const*)::__c +0000004a t send_meminfo(mavlink_channel_t) +0000004a t change_command(unsigned char) +0000004a W AP_VarT::AP_VarT(AP_Var_group*, unsigned int, int, prog_char_t const*, unsigned char) +0000004c t update_auto_yaw() +0000004e T mavlink_send_text(mavlink_channel_t, unsigned char, char const*) +00000050 r log_menu_commands +00000050 r main_menu_commands +00000050 T GCS_MAVLINK::_find_parameter(unsigned int) +00000052 t report_version() +00000054 t print_enabled(unsigned char) +00000055 r main_menu_help(unsigned char, Menu::arg const*)::__c +00000056 t readSwitch() +00000056 t dancing_light() +00000057 r help_log(unsigned char, Menu::arg const*)::__c +00000057 B dcm +0000005a t read_control_switch() +0000005c t get_num_logs() +0000005c t setup_esc(unsigned char, Menu::arg const*) +0000005e t update_GPS_light() +0000005e T GCS_MAVLINK::_count_parameters() +00000064 t print_gyro_offsets() +00000064 t print_accel_offsets() +00000064 t test_xbee(unsigned char, Menu::arg const*) +00000064 t mavlink_msg_param_value_send +00000068 t zero_eeprom() +00000068 t find_last_log_page(int) +0000006a W GCS_MAVLINK::~GCS_MAVLINK() +0000006c t setup_sonar(unsigned char, Menu::arg const*) +0000006e T output_min() +00000078 t setup_batt_monitor(unsigned char, Menu::arg const*) +0000007a t setup_factory(unsigned char, Menu::arg const*) +0000007a t report_flight_modes() +0000007c t send_gps_status(mavlink_channel_t) +0000007e t test_rawgps(unsigned char, Menu::arg const*) +00000080 T __vector_25 +00000080 T __vector_36 +00000080 T __vector_54 +00000082 t do_RTL() +00000088 t Log_Read_Raw() +0000008c t setup_frame(unsigned char, Menu::arg const*) +00000090 t init_compass() +00000090 t dump_log(unsigned char, Menu::arg const*) +00000092 t test_tuning(unsigned char, Menu::arg const*) +00000092 t report_tuning() +00000095 r init_ardupilot()::__c +00000096 t map_baudrate(signed char, unsigned long) +00000096 t print_wp(Location*, unsigned char) +0000009a t Log_Read_Motors() +0000009d B gcs +0000009d B hil +0000009e t setup_mode(unsigned char, Menu::arg const*) +0000009e t Log_Write_Cmd(unsigned char, Location*) +000000a0 t Log_Read_Mode() +000000a4 T __vector_26 +000000a4 T __vector_37 +000000a4 T __vector_55 +000000aa t test_sonar(unsigned char, Menu::arg const*) +000000aa t Log_Read_Nav_Tuning() +000000ab B compass +000000ae t report_frame() +000000b2 t erase_logs(unsigned char, Menu::arg const*) +000000b4 t test_relay(unsigned char, Menu::arg const*) +000000b4 t planner_gcs(unsigned char, Menu::arg const*) +000000b6 t get_log_boundaries(unsigned char, int&, int&) +000000c2 t setup_compass(unsigned char, Menu::arg const*) +000000c2 t send_radio_out(mavlink_channel_t) +000000c2 t Log_Read_Attitude() +000000c4 t get_distance(Location*, Location*) +000000c4 t update_events() +000000c4 r setup_esc(unsigned char, Menu::arg const*)::__c +000000c6 t test_eedump(unsigned char, Menu::arg const*) +000000c6 t send_radio_in(mavlink_channel_t) +000000c6 t test_tri(unsigned char, Menu::arg const*) +000000d0 t read_radio() +000000d0 t get_bearing(Location*, Location*) +000000d2 t print_switch(unsigned char, unsigned char, bool) +000000d4 t Log_Read(int, int) +000000d8 t test_radio(unsigned char, Menu::arg const*) +000000da t Log_Read_Performance() +000000e0 r setup_menu_commands +000000e4 t test_radio_pwm(unsigned char, Menu::arg const*) +000000e4 t Log_Read_Optflow() +000000e4 W APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&) +000000e8 t Log_Read_Current() +000000ea t Log_Read_Control_Tuning() +000000ee t report_batt_monitor() +000000f6 t Log_Read_Cmd() +00000100 r test_menu_commands +0000010a t test_gps(unsigned char, Menu::arg const*) +0000010c t test_current(unsigned char, Menu::arg const*) +0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*) +0000010e t send_servo_out(mavlink_channel_t) +00000112 t send_extended_status1(mavlink_channel_t, unsigned int) +00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) +00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) +00000118 t set_command_with_index(Location, int) +00000118 T GCS_MAVLINK::_queued_send() +0000011c t get_command_with_index(int) +00000130 t report_compass() +00000132 t arm_motors() +00000132 t set_next_WP(Location*) +00000134 T GCS_MAVLINK::send_message(unsigned char, unsigned long) +00000138 t get_stabilize_roll(long) +00000138 t get_stabilize_pitch(long) +00000148 t Log_Read_GPS() +00000152 T GCS_MAVLINK::update() +00000158 t update_commands() +0000015c t update_trig() +00000160 t send_location(mavlink_channel_t) +00000160 t send_nav_controller_output(mavlink_channel_t) +00000166 t select_logs(unsigned char, Menu::arg const*) +00000166 t send_vfr_hud(mavlink_channel_t) +0000016e t send_attitude(mavlink_channel_t) +00000170 t test_mag(unsigned char, Menu::arg const*) +00000188 t test_imu(unsigned char, Menu::arg const*) +00000198 t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) +000001a8 t print_radio_values() +000001c8 t setup_motors(unsigned char, Menu::arg const*) +000001ca t mavlink_delay(unsigned long) +000001ce t start_new_log() +000001e4 t setup_flightmodes(unsigned char, Menu::arg const*) +000001ea t init_home() +000001ea T GCS_MAVLINK::data_stream_send(unsigned int, unsigned int) +00000206 t set_mode(unsigned char) +00000220 t test_wp(unsigned char, Menu::arg const*) +00000228 t setup_radio(unsigned char, Menu::arg const*) +0000022a t send_gps_raw(mavlink_channel_t) +000002bc T update_roll_pitch_mode() +000002ea t tuning() +00000354 t calc_nav_rate(int, int, int, int) +00000384 t print_log_menu() +000003a0 t read_battery() +000003d2 T update_throttle_mode() +00000410 T update_yaw_mode() +0000049a t update_nav_wp() +00000580 t __static_initialization_and_destruction_0(int, int) +000005d6 t init_ardupilot() +000007ea b g +0000085e t process_next_command() +000008a0 W Parameters::Parameters() +00001494 T GCS_MAVLINK::handleMessage(__mavlink_message*) +000014d6 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.build.log index 48387c886f..32e5e8dc4b 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.build.log @@ -1,69 +1,203 @@ %% ArduCopter.cpp %% ArduCopter.o -In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:53: +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:55: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde: In function 'void read_AHRS()': -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:1301: error: 'class AP_DCM_HIL' has no member named 'update_DCM_fast' +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: +/root/apm/ardupilot-mega/ArduCopter/Parameters.h: In constructor 'Parameters::Parameters()': +/root/apm/ardupilot-mega/ArduCopter/Parameters.h:386: warning: overflow in implicit constant conversion +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:300: warning: statement has no effect +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_nav_wp()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:405: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_loiter_time()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: warning: comparison between signed and unsigned integer expressions autogenerated: At global scope: -autogenerated:34: warning: 'int alt_hold_velocity()' declared 'static' but never defined -autogenerated:86: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined -autogenerated:87: warning: 'void send_message(byte)' declared 'static' but never defined -autogenerated:88: warning: 'void send_message(byte, long int)' declared 'static' but never defined -autogenerated:82: warning: 'void send_message(byte, const char*)' declared 'static' but never defined -autogenerated:91: warning: 'void print_current_waypoints()' declared 'static' but never defined -autogenerated:94: warning: 'void print_attitude()' declared 'static' but never defined -autogenerated:90: warning: 'void print_control_mode()' declared 'static' but never defined -autogenerated:92: warning: 'void print_position()' declared 'static' but never defined -autogenerated:96: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined -autogenerated:97: warning: 'void print_waypoints()' declared 'static' but never defined -autogenerated:70: warning: 'long int convert_to_dec(float)' declared 'static' but never defined -autogenerated:135: warning: 'void Log_Write_Raw()' declared 'static' but never defined -autogenerated:139: warning: 'void Log_Write_Optflow()' declared 'static' but never defined -autogenerated:141: warning: 'void Log_Write_Control_Tuning()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/Log.pde:760: warning: 'void Log_Write_Attitude()' defined but not used -autogenerated:150: warning: 'void decrement_WP_index()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/commands.pde:149: warning: 'Location get_LOITER_home_wp()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:427: warning: 'bool verify_loiter_unlim()' defined but not used +autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined +autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined +autogenerated:84: warning: 'void send_message(byte)' declared 'static' but never defined +autogenerated:85: warning: 'void send_message(byte, long int)' declared 'static' but never defined +autogenerated:79: warning: 'void send_message(byte, const char*)' declared 'static' but never defined +autogenerated:88: warning: 'void print_current_waypoints()' declared 'static' but never defined +autogenerated:91: warning: 'void print_attitude()' declared 'static' but never defined +autogenerated:87: warning: 'void print_control_mode()' declared 'static' but never defined +autogenerated:89: warning: 'void print_position()' declared 'static' but never defined +autogenerated:93: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined +autogenerated:94: warning: 'void print_waypoints()' declared 'static' but never defined +autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' but never defined +autogenerated:132: warning: 'void Log_Write_Raw()' declared 'static' but never defined +autogenerated:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined +autogenerated:138: warning: 'void Log_Write_Control_Tuning()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/Log.pde:741: warning: 'void Log_Write_Attitude()' defined but not used +autogenerated:146: warning: 'void decrement_WP_index()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/commands.pde:132: warning: 'Location get_LOITER_home_wp()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:298: warning: 'void do_loiter_turns()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:424: warning: 'bool verify_loiter_unlim()' defined but not used /root/apm/ardupilot-mega/ArduCopter/events.pde:46: warning: 'void low_battery_event()' defined but not used autogenerated:210: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:211: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:235: warning: 'void debug_motors()' declared 'static' but never defined -autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:159: warning: 'int get_loiter_angle()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'void reset_crosstrack()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:222: warning: 'long int get_altitude_above_home()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:243: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used +autogenerated:249: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:152: warning: 'int get_loiter_angle()' defined but not used +autogenerated:253: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:254: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:255: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:131: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:188: warning: 'void trim_yaw()' defined but not used -autogenerated:268: warning: 'void readCommands()' declared 'static' but never defined -autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined -autogenerated:270: warning: 'void ReadSCP1000()' declared 'static' but never defined -autogenerated:271: warning: 'void init_barometer()' declared 'static' but never defined -autogenerated:272: warning: 'long int read_baro_filtered()' declared 'static' but never defined -autogenerated:273: warning: 'long int read_barometer()' declared 'static' but never defined -autogenerated:274: warning: 'void read_airspeed()' declared 'static' but never defined -autogenerated:275: warning: 'void zero_airspeed()' declared 'static' but never defined -autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined -autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined -autogenerated:295: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:296: warning: 'int read_num_from_serial()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/system.pde:465: warning: 'void set_failsafe(boolean)' defined but not used -autogenerated:311: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/test.pde:991: warning: 'void print_motor_out()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:354: warning: 'old_altitude' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:372: warning: 'abs_pressure' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:373: warning: 'ground_pressure' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:374: warning: 'ground_temperature' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:379: warning: 'baro_alt' defined but not used +autogenerated:267: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:268: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:269: warning: 'void ReadSCP1000()' declared 'static' but never defined +autogenerated:270: warning: 'void init_barometer()' declared 'static' but never defined +autogenerated:271: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:272: warning: 'long int read_barometer()' declared 'static' but never defined +autogenerated:273: warning: 'void read_airspeed()' declared 'static' but never defined +autogenerated:274: warning: 'void zero_airspeed()' declared 'static' but never defined +autogenerated:285: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:286: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:293: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:294: warning: 'int read_num_from_serial()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/system.pde:448: warning: 'void set_failsafe(boolean)' defined but not used +autogenerated:309: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:317: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:992: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:351: warning: 'old_altitude' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:369: warning: 'abs_pressure' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:370: warning: 'ground_pressure' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:371: warning: 'ground_temperature' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:376: warning: 'baro_alt' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:443: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:449: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:463: warning: 'simple_WP' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'optflow_offset' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/control_modes.pde:48: warning: 'trim_flag' defined but not used /root/apm/ardupilot-mega/ArduCopter/test.pde:13: warning: 'int8_t test_adc(uint8_t, const Menu::arg*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/test.pde:24: warning: 'int8_t test_baro(uint8_t, const Menu::arg*)' declared 'static' but never defined -make: *** [/tmp/ArduCopter.build/ArduCopter.o] Error 1 +%% libraries/APM_BMP085/APM_BMP085.o +%% libraries/APM_PI/APM_PI.o +%% libraries/APM_RC/APM_RC.o +%% libraries/AP_ADC/AP_ADC_ADS7844.o +%% libraries/AP_ADC/AP_ADC.o +%% libraries/AP_ADC/AP_ADC_HIL.o +%% libraries/AP_Common/AP_Common.o +%% libraries/AP_Common/AP_Loop.o +%% libraries/AP_Common/AP_MetaClass.o +%% libraries/AP_Common/AP_Var.o +%% libraries/AP_Common/AP_Var_menufuncs.o +%% libraries/AP_Common/c++.o +%% libraries/AP_Common/menu.o +%% libraries/AP_Compass/AP_Compass_HIL.o +%% libraries/AP_Compass/AP_Compass_HMC5843.o +%% libraries/AP_Compass/Compass.o +%% libraries/AP_DCM/AP_DCM.o +%% libraries/AP_DCM/AP_DCM_HIL.o +%% libraries/AP_GPS/AP_GPS_406.o +%% libraries/AP_GPS/AP_GPS_Auto.o +%% libraries/AP_GPS/AP_GPS_HIL.o +%% libraries/AP_GPS/AP_GPS_IMU.o +%% libraries/AP_GPS/AP_GPS_MTK16.o +%% libraries/AP_GPS/AP_GPS_MTK.o +%% libraries/AP_GPS/AP_GPS_NMEA.o +%% libraries/AP_GPS/AP_GPS_SIRF.o +%% libraries/AP_GPS/AP_GPS_UBLOX.o +%% libraries/AP_GPS/GPS.o +%% libraries/AP_IMU/AP_IMU_Oilpan.o +%% libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.o +In file included from /root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28: +/usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined +/usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:20:1: warning: this is the location of the previous definition +%% libraries/AP_OpticalFlow/AP_OpticalFlow.o +%% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o +%% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o +%% libraries/AP_RangeFinder/RangeFinder.o +%% libraries/DataFlash/DataFlash.o +In file included from /root/apm/ardupilot-mega/libraries/DataFlash/DataFlash.cpp:35: +/usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined +/usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition +%% libraries/FastSerial/BetterStream.o +%% libraries/FastSerial/FastSerial.o +%% libraries/FastSerial/vprintf.o +%% libraries/GCS_MAVLink/GCS_MAVLink.o +%% libraries/ModeFilter/ModeFilter.o +%% libraries/RC_Channel/RC_Channel_aux.o +%% libraries/RC_Channel/RC_Channel.o +%% libraries/memcheck/memcheck.o +%% libraries/FastSerial/ftoa_engine.o +%% libraries/FastSerial/ultoa_invert.o +%% libraries/SPI/SPI.o +In file included from /usr/local/share/arduino/libraries/SPI/SPI.cpp:12: +/usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined +/usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition +%% libraries/Wire/Wire.o +%% libraries/Wire/utility/twi.o +cc1: warning: command line option "-Wno-reorder" is valid for C++/ObjC++ but not for C +%% arduino/HardwareSerial.o +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:28: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +%% arduino/main.o +%% arduino/Print.o +%% arduino/Tone.o +/usr/local/share/arduino/hardware/arduino/cores/arduino/Tone.cpp:93: warning: only initialized variables can be placed into program memory area +%% arduino/WMath.o +%% arduino/WString.o +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:26: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:84: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:85: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:86: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:87: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:88: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:89: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:90: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:91: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:93: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:94: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:95: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:100: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:101: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:102: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:103: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:104: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:105: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:106: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:107: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:109: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:110: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:111: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:116: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:117: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:118: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:119: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:120: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:121: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:122: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:123: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:125: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:126: warning: initialization makes integer from pointer without a cast +/usr/local/share/arduino/hardware/arduino/cores/arduino/pins_arduino.c:127: warning: initialization makes integer from pointer without a cast +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/WInterrupts.c:34: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_analog.c:27: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring.c:25: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_digital.c:27: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_pulse.c:25: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +In file included from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_private.h:30, + from /usr/local/share/arduino/hardware/arduino/cores/arduino/wiring_shift.c:25: +/usr/lib/gcc/avr/4.3.5/../../../avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to ." +%% arduino/core.a +%% ArduCopter.elf +%% ArduCopter.eep +%% ArduCopter.hex diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.size.txt index e69de29bb2..da13ac179c 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.size.txt @@ -0,0 +1,609 @@ +00000001 b wp_control +00000001 b GPS_enabled +00000001 b home_is_set +00000001 b motor_armed +00000001 b motor_light +00000001 b control_mode +00000001 b gps_watchdog +00000001 d yaw_tracking +00000001 b land_complete +00000001 b throttle_mode +00000001 b command_may_ID +00000001 b wp_verify_byte +00000001 d altitude_sensor +00000001 b command_must_ID +00000001 b command_yaw_dir +00000001 b new_radio_frame +00000001 b roll_pitch_mode +00000001 b counter_one_herz +00000001 b did_ground_start +00000001 b in_mavlink_delay +00000001 b invalid_throttle +00000001 b motor_auto_armed +00000001 b old_control_mode +00000001 b slow_loopCounter +00000001 b takeoff_complete +00000001 b command_may_index +00000001 b oldSwitchPosition +00000001 b command_must_index +00000001 d ground_start_count +00000001 b medium_loopCounter +00000001 b command_yaw_relative +00000001 b event_id +00000001 b led_mode +00000001 b yaw_mode +00000001 b GPS_light +00000001 b loop_step +00000001 b dancing_light()::step +00000001 b read_control_switch()::switch_debouncer +00000001 d GCS_MAVLINK::handleMessage(__mavlink_message*)::mav_nav +00000001 B mavdelay +00000002 T mavlink_acknowledge(mavlink_channel_t, unsigned char, unsigned char, unsigned char) +00000002 b climb_rate +00000002 b loiter_sum +00000002 b event_delay +00000002 b event_value +00000002 b event_repeat +00000002 b loiter_total +00000002 b nav_throttle +00000002 b altitude_rate +00000002 b gps_fix_count +00000002 b velocity_land +00000002 b loiter_time_max +00000002 b command_yaw_time +00000002 b event_undo_value +00000002 b command_yaw_speed +00000002 b auto_level_counter +00000002 b superslow_loopCounter +00000002 r comma +00000002 b g_gps +00000002 b G_Dt_max +00000002 b airspeed +00000002 b sonar_alt +00000002 W AP_IMU_Shim::init_accel(void (*)(unsigned long)) +00000002 W AP_IMU_Shim::init(IMU::Start_style, void (*)(unsigned long)) +00000002 W AP_IMU_Shim::init_gyro(void (*)(unsigned long)) +00000002 T GCS_MAVLINK::acknowledge(unsigned char, unsigned char, unsigned char) +00000002 b arm_motors()::arming_counter +00000002 r setup_frame(unsigned char, Menu::arg const*)::__c +00000002 r setup_frame(unsigned char, Menu::arg const*)::__c +00000002 r setup_frame(unsigned char, Menu::arg const*)::__c +00000002 r setup_frame(unsigned char, Menu::arg const*)::__c +00000002 r test_wp(unsigned char, Menu::arg const*)::__c +00000002 V APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&)::__c +00000002 V APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&)::__c +00000002 B x_actual_speed +00000002 B x_rate_error +00000002 B y_actual_speed +00000002 B y_rate_error +00000003 r select_logs(unsigned char, Menu::arg const*)::__c +00000003 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000003 r print_enabled(unsigned char)::__c +00000003 r setup_compass(unsigned char, Menu::arg const*)::__c +00000004 d cos_roll_x +00000004 b land_start +00000004 b long_error +00000004 b sin_roll_y +00000004 d cos_pitch_x +00000004 b event_timer +00000004 b loiter_time +00000004 d scaleLongUp +00000004 b sin_pitch_y +00000004 b wp_distance +00000004 b current_amps +00000004 b gps_base_alt +00000004 b original_alt +00000004 b current_total +00000004 b nav_loopTimer +00000004 d scaleLongDown +00000004 t test_failsafe(unsigned char, Menu::arg const*) +00000004 b altitude_error +00000004 b fast_loopTimer +00000004 b perf_mon_timer +00000004 b target_bearing +00000004 b throttle_timer +00000004 d battery_voltage +00000004 b command_yaw_end +00000004 b condition_start +00000004 b condition_value +00000004 b target_altitude +00000004 d battery_voltage1 +00000004 d battery_voltage2 +00000004 d battery_voltage3 +00000004 d battery_voltage4 +00000004 b wp_totalDistance +00000004 b command_yaw_delta +00000004 b command_yaw_start +00000004 b fiftyhz_loopTimer +00000004 b old_target_bearing +00000004 b throttle_integrator +00000004 r __menu_name__log_menu +00000004 b command_yaw_start_time +00000004 b initial_simple_bearing +00000004 b original_target_bearing +00000004 d G_Dt +00000004 b dTnav +00000004 b nav_lat +00000004 b nav_lon +00000004 b nav_yaw +00000004 b old_alt +00000004 b auto_yaw +00000004 b nav_roll +00000004 d cos_yaw_x +00000004 b lat_error +00000004 b nav_pitch +00000004 b sin_yaw_y +00000004 b yaw_error +00000004 r select_logs(unsigned char, Menu::arg const*)::__c +00000004 r select_logs(unsigned char, Menu::arg const*)::__c +00000004 r select_logs(unsigned char, Menu::arg const*)::__c +00000004 r select_logs(unsigned char, Menu::arg const*)::__c +00000004 r select_logs(unsigned char, Menu::arg const*)::__c +00000004 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000004 r print_switch(unsigned char, unsigned char, bool)::__c +00000004 b mavlink_delay(unsigned long)::last_1hz +00000004 b mavlink_delay(unsigned long)::last_3hz +00000004 b mavlink_delay(unsigned long)::last_10hz +00000004 b mavlink_delay(unsigned long)::last_50hz +00000004 r print_enabled(unsigned char)::__c +00000004 r setup_compass(unsigned char, Menu::arg const*)::__c +00000004 r print_log_menu()::__c +00000004 r setup_batt_monitor(unsigned char, Menu::arg const*)::__c +00000004 V Parameters::Parameters()::__c +00000004 V RC_Channel::RC_Channel(unsigned int, prog_char_t const*)::__c +00000004 V RC_Channel::RC_Channel(unsigned int, prog_char_t const*)::__c +00000004 V RC_Channel::RC_Channel(unsigned int, prog_char_t const*)::__c +00000004 B tuning_value +00000005 r __menu_name__test_menu +00000005 r report_imu()::__c +00000005 r select_logs(unsigned char, Menu::arg const*)::__c +00000005 r select_logs(unsigned char, Menu::arg const*)::__c +00000005 r select_logs(unsigned char, Menu::arg const*)::__c +00000005 r Log_Read_Raw()::__c +00000005 r print_switch(unsigned char, unsigned char, bool)::__c +00000005 r Log_Read_Mode()::__c +00000005 r report_tuning()::__c +00000005 r print_log_menu()::__c +00000005 r print_log_menu()::__c +00000005 r print_log_menu()::__c +00000005 r print_log_menu()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V Parameters::Parameters()::__c +00000005 V RC_Channel::RC_Channel(unsigned int, prog_char_t const*)::__c +00000005 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000005 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000005 V APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&)::__c +00000006 r __menu_name__setup_menu +00000006 r report_gps()::__c +00000006 r test_eedump(unsigned char, Menu::arg const*)::__c +00000006 r test_eedump(unsigned char, Menu::arg const*)::__c +00000006 r zero_eeprom()::__c +00000006 r Log_Read_Mode()::__c +00000006 r print_log_menu()::__c +00000006 r print_log_menu()::__c +00000006 V Parameters::Parameters()::__c +00000007 b setup_menu +00000007 b planner_menu +00000007 b log_menu +00000007 b main_menu +00000007 b test_menu +00000007 r select_logs(unsigned char, Menu::arg const*)::__c +00000007 r select_logs(unsigned char, Menu::arg const*)::__c +00000007 r report_frame()::__c +00000007 r report_radio()::__c +00000007 r report_sonar()::__c +00000007 r print_enabled(unsigned char)::__c +00000007 r test_wp(unsigned char, Menu::arg const*)::__c +00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c +00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000008 t setup_erase(unsigned char, Menu::arg const*) +00000008 r __menu_name__planner_menu +00000008 W AP_IMU_Shim::update() +00000008 r select_logs(unsigned char, Menu::arg const*)::__c +00000008 r report_frame()::__c +00000008 r report_frame()::__c +00000008 r report_frame()::__c +00000008 r report_tuning()::__c +00000008 r print_log_menu()::__c +00000008 r report_batt_monitor()::__c +00000008 r report_batt_monitor()::__c +00000008 r test_wp(unsigned char, Menu::arg const*)::__c +00000008 V Parameters::Parameters()::__c +00000008 V Parameters::Parameters()::__c +00000008 V Parameters::Parameters()::__c +00000008 V Parameters::Parameters()::__c +00000008 V Parameters::Parameters()::__c +00000008 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000009 r print_switch(unsigned char, unsigned char, bool)::__c +00000009 r print_log_menu()::__c +00000009 r print_log_menu()::__c +00000009 r report_compass()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c +00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +0000000a T piezo_on() +0000000a T piezo_off() +0000000a r test_relay(unsigned char, Menu::arg const*)::__c +0000000a r start_new_log()::__c +0000000a r print_log_menu()::__c +0000000a r Log_Read_Startup()::__c +0000000a r test_wp(unsigned char, Menu::arg const*)::__c +0000000a r test_mag(unsigned char, Menu::arg const*)::__c +0000000a V Parameters::Parameters()::__c +0000000a V Parameters::Parameters()::__c +0000000a V Parameters::Parameters()::__c +0000000a V Parameters::Parameters()::__c +0000000a V Parameters::Parameters()::__c +0000000a T setup +0000000b r test_relay(unsigned char, Menu::arg const*)::__c +0000000b r report_batt_monitor()::__c +0000000b V Parameters::Parameters()::__c +0000000c t setup_accel(unsigned char, Menu::arg const*) +0000000c t process_logs(unsigned char, Menu::arg const*) +0000000c b omega +0000000c t test_mode(unsigned char, Menu::arg const*) +0000000c T GCS_MAVLINK::send_text(unsigned char, char const*) +0000000c V vtable for AP_IMU_Shim +0000000c V vtable for IMU +0000000c r print_switch(unsigned char, unsigned char, bool)::__c +0000000c r report_frame()::__c +0000000c V Parameters::Parameters()::__c +0000000c V Parameters::Parameters()::__c +0000000c V Parameters::Parameters()::__c +0000000d r verify_RTL()::__c +0000000d r select_logs(unsigned char, Menu::arg const*)::__c +0000000d r test_tuning(unsigned char, Menu::arg const*)::__c +0000000d r test_battery(unsigned char, Menu::arg const*)::__c +0000000d r startup_ground()::__c +0000000d r test_wp(unsigned char, Menu::arg const*)::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d V Parameters::Parameters()::__c +0000000d B sonar_mode_filter +0000000e t global destructors keyed to Serial +0000000e t global constructors keyed to Serial +0000000e V vtable for AP_Float16 +0000000e V vtable for AP_VarS > +0000000e V vtable for AP_VarS > +0000000e V vtable for AP_VarT +0000000e V vtable for AP_VarT +0000000e V vtable for AP_VarT +0000000e r arm_motors()::__c +0000000e r erase_logs(unsigned char, Menu::arg const*)::__c +0000000e r setup_mode(unsigned char, Menu::arg const*)::__c +0000000e r test_sonar(unsigned char, Menu::arg const*)::__c +0000000e r select_logs(unsigned char, Menu::arg const*)::__c +0000000e r print_log_menu()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r print_radio_values()::__c +0000000e r report_batt_monitor()::__c +0000000e r report_flight_modes()::__c +0000000e r dump_log(unsigned char, Menu::arg const*)::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000e V Parameters::Parameters()::__c +0000000f b current_loc +0000000f b next_command +0000000f b home +0000000f b next_WP +0000000f b prev_WP +0000000f b guided_WP +0000000f b target_WP +0000000f r print_log_menu()::__c +0000000f r print_log_menu()::__c +0000000f r report_version()::__c +0000000f r report_batt_monitor()::__c +0000000f r test_imu(unsigned char, Menu::arg const*)::__c +00000010 r flight_mode_strings +00000010 r planner_menu_commands +00000010 b motor_out +00000010 W AP_VarT::cast_to_float() const +00000010 r test_sonar(unsigned char, Menu::arg const*)::__c +00000010 r report_compass()::__c +00000011 r arm_motors()::__c +00000011 r erase_logs(unsigned char, Menu::arg const*)::__c +00000011 r zero_eeprom()::__c +00000011 r update_commands()::__c +00000012 B Serial +00000012 B Serial1 +00000012 B Serial3 +00000012 W AP_Float16::~AP_Float16() +00000012 W AP_VarS >::~AP_VarS() +00000012 W AP_VarS >::~AP_VarS() +00000012 W AP_VarT::~AP_VarT() +00000012 W AP_VarT::~AP_VarT() +00000012 W AP_VarT::~AP_VarT() +00000012 W AP_VarT::serialize(void*, unsigned int) const +00000012 r print_done()::__c +00000012 r select_logs(unsigned char, Menu::arg const*)::__c +00000012 r setup_frame(unsigned char, Menu::arg const*)::__c +00000012 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c +00000013 r setup_compass(unsigned char, Menu::arg const*)::__c +00000013 r change_command(unsigned char)::__c +00000013 r setup_batt_monitor(unsigned char, Menu::arg const*)::__c +00000014 t startup_ground() +00000014 W AP_VarT::unserialize(void*, unsigned int) +00000014 W AP_VarT::cast_to_float() const +00000014 W AP_VarT::cast_to_float() const +00000014 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000014 r test_tri(unsigned char, Menu::arg const*)::__c +00000015 r map_baudrate(signed char, unsigned long)::__c +00000015 r init_ardupilot()::__c +00000015 r Log_Read_Motors()::__c +00000015 r print_hit_enter()::__c +00000015 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c +00000016 T piezo_beep() +00000016 r GCS_MAVLINK::update()::__c +00000016 B adc +00000016 B sonar +00000018 t setup_tune(unsigned char, Menu::arg const*) +00000018 r __menu_name__main_menu +00000018 W AP_VarT::serialize(void*, unsigned int) const +00000019 r GCS_MAVLINK::update()::__c +0000001a r print_log_menu()::__c +0000001a r Log_Read_Nav_Tuning()::__c +0000001c W AP_VarS >::unserialize(void*, unsigned int) +0000001c W AP_VarS >::unserialize(void*, unsigned int) +0000001c W AP_VarT::unserialize(void*, unsigned int) +0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001d r Log_Read_Attitude()::__c +0000001e r Log_Read_Optflow()::__c +0000001f r test_mag(unsigned char, Menu::arg const*)::__c +00000020 r test_current(unsigned char, Menu::arg const*)::__c +00000020 t byte_swap_4 +00000021 r print_log_menu()::__c +00000021 r report_compass()::__c +00000021 r Log_Read_Current()::__c +00000022 t clear_leds() +00000022 t print_blanks(int) +00000022 t reset_hold_I() +00000022 W AP_Float16::~AP_Float16() +00000022 W AP_VarS >::~AP_VarS() +00000022 W AP_VarS >::~AP_VarS() +00000022 W AP_VarT::~AP_VarT() +00000022 W AP_VarT::~AP_VarT() +00000022 W AP_VarT::~AP_VarT() +00000023 r setup_mode(unsigned char, Menu::arg const*)::__c +00000023 r print_gyro_offsets()::__c +00000024 r init_ardupilot()::__c +00000024 r print_accel_offsets()::__c +00000025 r setup_factory(unsigned char, Menu::arg const*)::__c +00000025 r Log_Read_Performance()::__c +00000026 t print_done() +00000026 b mavlink_queue +00000026 t print_hit_enter() +00000026 t Log_Read_Startup() +00000026 r Log_Read_Control_Tuning()::__c +00000027 r test_xbee(unsigned char, Menu::arg const*)::__c +00000028 t test_battery(unsigned char, Menu::arg const*) +00000028 t main_menu_help(unsigned char, Menu::arg const*) +00000028 t help_log(unsigned char, Menu::arg const*) +00000028 W AP_VarT::unserialize(void*, unsigned int) +00000028 W AP_VarT::serialize(void*, unsigned int) const +00000028 r Log_Read_Cmd()::__c +00000029 r setup_mode(unsigned char, Menu::arg const*)::__c +00000029 r test_gps(unsigned char, Menu::arg const*)::__c +0000002a t setup_declination(unsigned char, Menu::arg const*) +0000002b r planner_mode(unsigned char, Menu::arg const*)::__c +0000002c B imu +0000002e t print_divider() +0000002e t send_rate(unsigned int, unsigned int) +0000002e W AP_Var_group::AP_Var_group(unsigned int, prog_char_t const*, unsigned char) +0000002f r test_radio(unsigned char, Menu::arg const*)::__c +0000002f r init_ardupilot()::__c +00000030 t planner_mode(unsigned char, Menu::arg const*) +00000030 t send_heartbeat(mavlink_channel_t) +00000032 T GCS_MAVLINK::init(BetterStream*) +00000032 W APM_PI::~APM_PI() +00000032 r Log_Read_GPS()::__c +00000034 t _MAV_RETURN_float +00000034 W AP_Float16::serialize(void*, unsigned int) const +00000034 t _mav_put_int8_t_array +00000035 r test_radio_pwm(unsigned char, Menu::arg const*)::__c +00000036 t report_radio() +00000037 r print_wp(Location*, unsigned char)::__c +00000038 t init_throttle_cruise() +00000038 t send_current_waypoint(mavlink_channel_t) +00000038 r setup_radio(unsigned char, Menu::arg const*)::__c +00000038 r setup_factory(unsigned char, Menu::arg const*)::__c +0000003a t report_gps() +0000003a t report_imu() +0000003a B g_gps_driver +0000003c W RC_Channel::~RC_Channel() +0000003e t verify_RTL() +0000003e T GCS_MAVLINK::send_text(unsigned char, prog_char_t const*) +0000003e W AP_VarT::AP_VarT(signed char, unsigned int, prog_char_t const*, unsigned char) +00000040 W AP_Float16::unserialize(void*, unsigned int) +00000040 t byte_swap_8 +00000042 t report_sonar() +00000044 t setup_show(unsigned char, Menu::arg const*) +00000044 W AP_VarT::AP_VarT(int, unsigned int, prog_char_t const*, unsigned char) +00000048 t update_motor_leds() +00000049 r setup_flightmodes(unsigned char, Menu::arg const*)::__c +0000004a t send_meminfo(mavlink_channel_t) +0000004a t change_command(unsigned char) +0000004a W AP_VarT::AP_VarT(AP_Var_group*, unsigned int, int, prog_char_t const*, unsigned char) +0000004c t update_auto_yaw() +0000004e T mavlink_send_text(mavlink_channel_t, unsigned char, char const*) +00000050 t report_version() +00000050 r log_menu_commands +00000050 r main_menu_commands +00000050 T GCS_MAVLINK::_find_parameter(unsigned int) +00000054 t print_enabled(unsigned char) +00000055 r main_menu_help(unsigned char, Menu::arg const*)::__c +00000056 t readSwitch() +00000056 t dancing_light() +00000057 r help_log(unsigned char, Menu::arg const*)::__c +00000057 B dcm +0000005a t read_control_switch() +0000005c t get_num_logs() +0000005c t setup_esc(unsigned char, Menu::arg const*) +0000005e t update_GPS_light() +0000005e T GCS_MAVLINK::_count_parameters() +00000064 t print_gyro_offsets() +00000064 t print_accel_offsets() +00000064 t test_xbee(unsigned char, Menu::arg const*) +00000064 t mavlink_msg_param_value_send +00000068 t zero_eeprom() +00000068 t find_last_log_page(int) +0000006a W GCS_MAVLINK::~GCS_MAVLINK() +0000006c t setup_sonar(unsigned char, Menu::arg const*) +0000006e T output_min() +00000078 t setup_batt_monitor(unsigned char, Menu::arg const*) +0000007a t setup_factory(unsigned char, Menu::arg const*) +0000007a t report_flight_modes() +0000007c t send_gps_status(mavlink_channel_t) +0000007e t test_rawgps(unsigned char, Menu::arg const*) +00000080 T __vector_25 +00000080 T __vector_36 +00000080 T __vector_54 +00000082 t do_RTL() +00000088 t Log_Read_Raw() +0000008c t setup_frame(unsigned char, Menu::arg const*) +0000008e t dump_log(unsigned char, Menu::arg const*) +00000090 t init_compass() +00000090 t report_tuning() +00000092 t test_tuning(unsigned char, Menu::arg const*) +00000095 r init_ardupilot()::__c +00000096 t map_baudrate(signed char, unsigned long) +00000096 t print_wp(Location*, unsigned char) +0000009a t Log_Read_Motors() +0000009d B gcs +0000009d B hil +0000009e t setup_mode(unsigned char, Menu::arg const*) +0000009e t Log_Read_Mode() +0000009e t Log_Write_Cmd(unsigned char, Location*) +000000a4 T __vector_26 +000000a4 T __vector_37 +000000a4 T __vector_55 +000000a8 t test_sonar(unsigned char, Menu::arg const*) +000000aa t Log_Read_Nav_Tuning() +000000ab B compass +000000ae t report_frame() +000000b2 t erase_logs(unsigned char, Menu::arg const*) +000000b4 t test_relay(unsigned char, Menu::arg const*) +000000b4 t planner_gcs(unsigned char, Menu::arg const*) +000000b6 t get_log_boundaries(unsigned char, int&, int&) +000000c2 t test_eedump(unsigned char, Menu::arg const*) +000000c2 t setup_compass(unsigned char, Menu::arg const*) +000000c2 t send_radio_out(mavlink_channel_t) +000000c2 t Log_Read_Attitude() +000000c4 t get_distance(Location*, Location*) +000000c4 t update_events() +000000c4 r setup_esc(unsigned char, Menu::arg const*)::__c +000000c6 t send_radio_in(mavlink_channel_t) +000000c6 t test_tri(unsigned char, Menu::arg const*) +000000d0 t read_radio() +000000d0 t get_bearing(Location*, Location*) +000000d0 t print_switch(unsigned char, unsigned char, bool) +000000d4 t Log_Read(int, int) +000000d8 t test_radio(unsigned char, Menu::arg const*) +000000da t Log_Read_Performance() +000000e0 r setup_menu_commands +000000e4 t test_radio_pwm(unsigned char, Menu::arg const*) +000000e4 t Log_Read_Optflow() +000000e4 W APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&) +000000e8 t Log_Read_Current() +000000ea t Log_Read_Control_Tuning() +000000ee t report_batt_monitor() +000000f6 t Log_Read_Cmd() +00000100 r test_menu_commands +0000010a t test_gps(unsigned char, Menu::arg const*) +0000010c t test_current(unsigned char, Menu::arg const*) +0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*) +0000010e t send_servo_out(mavlink_channel_t) +00000112 t send_extended_status1(mavlink_channel_t, unsigned int) +00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) +00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) +00000118 t set_command_with_index(Location, int) +00000118 T GCS_MAVLINK::_queued_send() +0000011c t get_command_with_index(int) +00000130 t report_compass() +00000132 t arm_motors() +00000132 t set_next_WP(Location*) +00000134 T GCS_MAVLINK::send_message(unsigned char, unsigned long) +00000138 t get_stabilize_roll(long) +00000138 t get_stabilize_pitch(long) +00000148 t Log_Read_GPS() +00000152 T GCS_MAVLINK::update() +00000158 t update_commands() +0000015c t update_trig() +00000160 t send_location(mavlink_channel_t) +00000160 t send_nav_controller_output(mavlink_channel_t) +00000166 t select_logs(unsigned char, Menu::arg const*) +00000166 t send_vfr_hud(mavlink_channel_t) +0000016e t send_attitude(mavlink_channel_t) +00000170 t test_mag(unsigned char, Menu::arg const*) +00000188 t test_imu(unsigned char, Menu::arg const*) +00000198 t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) +000001a8 t print_radio_values() +000001c8 t setup_motors(unsigned char, Menu::arg const*) +000001ca t mavlink_delay(unsigned long) +000001ce t start_new_log() +000001e4 t setup_flightmodes(unsigned char, Menu::arg const*) +000001ea t init_home() +000001ea T GCS_MAVLINK::data_stream_send(unsigned int, unsigned int) +00000206 t set_mode(unsigned char) +0000021c t test_wp(unsigned char, Menu::arg const*) +00000228 t setup_radio(unsigned char, Menu::arg const*) +0000022a t send_gps_raw(mavlink_channel_t) +000002bc T update_roll_pitch_mode() +000002ea t tuning() +00000354 t calc_nav_rate(int, int, int, int) +00000382 t print_log_menu() +000003a0 t read_battery() +000003d2 T update_throttle_mode() +00000410 T update_yaw_mode() +0000049a t update_nav_wp() +00000580 t __static_initialization_and_destruction_0(int, int) +000005d6 t init_ardupilot() +000007ea b g +0000085e t process_next_command() +000008a0 W Parameters::Parameters() +00001494 T GCS_MAVLINK::handleMessage(__mavlink_message*) +000014d4 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.build.log index ff07e834d3..5e185a5e08 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.build.log @@ -1,56 +1,68 @@ %% ArduCopter.cpp %% ArduCopter.o -In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:53: +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:55: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition -autogenerated:34: warning: 'int alt_hold_velocity()' declared 'static' but never defined -autogenerated:86: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined -autogenerated:87: warning: 'void send_message(byte)' declared 'static' but never defined -autogenerated:88: warning: 'void send_message(byte, long int)' declared 'static' but never defined -autogenerated:82: warning: 'void send_message(byte, const char*)' declared 'static' but never defined -autogenerated:91: warning: 'void print_current_waypoints()' declared 'static' but never defined -autogenerated:94: warning: 'void print_attitude()' declared 'static' but never defined -autogenerated:90: warning: 'void print_control_mode()' declared 'static' but never defined -autogenerated:92: warning: 'void print_position()' declared 'static' but never defined -autogenerated:96: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined -autogenerated:97: warning: 'void print_waypoints()' declared 'static' but never defined -autogenerated:70: warning: 'long int convert_to_dec(float)' declared 'static' but never defined -autogenerated:139: warning: 'void Log_Write_Optflow()' declared 'static' but never defined -autogenerated:150: warning: 'void decrement_WP_index()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/commands.pde:149: warning: 'Location get_LOITER_home_wp()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:427: warning: 'bool verify_loiter_unlim()' defined but not used +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: +/root/apm/ardupilot-mega/ArduCopter/Parameters.h: In constructor 'Parameters::Parameters()': +/root/apm/ardupilot-mega/ArduCopter/Parameters.h:386: warning: overflow in implicit constant conversion +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:300: warning: statement has no effect +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_nav_wp()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:405: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_loiter_time()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: warning: comparison between signed and unsigned integer expressions +autogenerated: At global scope: +autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined +autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined +autogenerated:84: warning: 'void send_message(byte)' declared 'static' but never defined +autogenerated:85: warning: 'void send_message(byte, long int)' declared 'static' but never defined +autogenerated:79: warning: 'void send_message(byte, const char*)' declared 'static' but never defined +autogenerated:88: warning: 'void print_current_waypoints()' declared 'static' but never defined +autogenerated:91: warning: 'void print_attitude()' declared 'static' but never defined +autogenerated:87: warning: 'void print_control_mode()' declared 'static' but never defined +autogenerated:89: warning: 'void print_position()' declared 'static' but never defined +autogenerated:93: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined +autogenerated:94: warning: 'void print_waypoints()' declared 'static' but never defined +autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' but never defined +autogenerated:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined +autogenerated:146: warning: 'void decrement_WP_index()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/commands.pde:132: warning: 'Location get_LOITER_home_wp()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:298: warning: 'void do_loiter_turns()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:424: warning: 'bool verify_loiter_unlim()' defined but not used /root/apm/ardupilot-mega/ArduCopter/events.pde:46: warning: 'void low_battery_event()' defined but not used autogenerated:210: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:211: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:235: warning: 'void debug_motors()' declared 'static' but never defined -autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:159: warning: 'int get_loiter_angle()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'void reset_crosstrack()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:222: warning: 'long int get_altitude_above_home()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:243: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used +autogenerated:249: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:152: warning: 'int get_loiter_angle()' defined but not used +autogenerated:253: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:254: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:255: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:131: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:188: warning: 'void trim_yaw()' defined but not used -autogenerated:268: warning: 'void readCommands()' declared 'static' but never defined -autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:267: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:268: warning: 'void parseCommand(char*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:6: warning: 'void ReadSCP1000()' defined but not used -autogenerated:272: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:271: warning: 'long int read_baro_filtered()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:95: warning: 'void read_airspeed()' defined but not used /root/apm/ardupilot-mega/ArduCopter/sensors.pde:100: warning: 'void zero_airspeed()' defined but not used -autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined -autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined -autogenerated:295: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:296: warning: 'int read_num_from_serial()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/system.pde:465: warning: 'void set_failsafe(boolean)' defined but not used -autogenerated:311: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/test.pde:991: warning: 'void print_motor_out()' defined but not used +autogenerated:285: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:286: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:293: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:294: warning: 'int read_num_from_serial()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/system.pde:448: warning: 'void set_failsafe(boolean)' defined but not used +autogenerated:309: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:317: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:992: warning: 'void print_motor_out()' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:443: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:449: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:463: warning: 'simple_WP' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'optflow_offset' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/control_modes.pde:48: warning: 'trim_flag' defined but not used %% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_PI/APM_PI.o %% libraries/APM_RC/APM_RC.o @@ -84,33 +96,7 @@ autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never de In file included from /root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28: /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:20:1: warning: this is the location of the previous definition -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_led_always_on(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:221: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'bool AP_OpticalFlow_ADNS3080::get_frame_rate_auto()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:257: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_shutter_speed_auto(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:361: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'int AP_OpticalFlow_ADNS3080::print_pixel_data(Stream*)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:441: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'virtual bool AP_OpticalFlow_ADNS3080::init(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:80: warning: control reaches end of non-void function %% libraries/AP_OpticalFlow/AP_OpticalFlow.o -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual void AP_OpticalFlow::get_position(float, float, float, float)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:88: warning: unused variable 'i' -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: control reaches end of non-void function %% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o %% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o %% libraries/AP_RangeFinder/RangeFinder.o @@ -123,6 +109,7 @@ In file included from /root/apm/ardupilot-mega/libraries/DataFlash/DataFlash.cpp %% libraries/FastSerial/vprintf.o %% libraries/GCS_MAVLink/GCS_MAVLink.o %% libraries/ModeFilter/ModeFilter.o +%% libraries/RC_Channel/RC_Channel_aux.o %% libraries/RC_Channel/RC_Channel.o %% libraries/memcheck/memcheck.o %% libraries/FastSerial/ftoa_engine.o diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.size.txt index c058444df4..a8c22572a6 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.size.txt @@ -4,19 +4,18 @@ 00000001 b motor_armed 00000001 b motor_light 00000001 b control_mode -00000001 b simple_timer +00000001 b gps_watchdog 00000001 d yaw_tracking 00000001 b land_complete 00000001 b throttle_mode 00000001 b command_may_ID 00000001 b wp_verify_byte -00000001 b xtrack_enabled 00000001 d altitude_sensor 00000001 b command_must_ID 00000001 b command_yaw_dir +00000001 b new_radio_frame 00000001 b roll_pitch_mode 00000001 b counter_one_herz -00000001 b delta_ms_fiftyhz 00000001 b did_ground_start 00000001 b in_mavlink_delay 00000001 b invalid_throttle @@ -27,34 +26,30 @@ 00000001 b command_may_index 00000001 b oldSwitchPosition 00000001 b command_must_index -00000001 b delta_ms_fast_loop 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative -00000001 b delta_ms_medium_loop 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode 00000001 b GPS_light -00000001 b alt_timer 00000001 b loop_step -00000001 b trim_flag 00000001 b dancing_light()::step -00000001 b update_motor_leds()::blink -00000001 b radio_input_switch()::bouncer 00000001 b read_control_switch()::switch_debouncer 00000001 d GCS_MAVLINK::handleMessage(__mavlink_message*)::mav_nav 00000001 B mavdelay 00000002 T mavlink_acknowledge(mavlink_channel_t, unsigned char, unsigned char, unsigned char) 00000002 b climb_rate +00000002 b loiter_sum 00000002 b event_delay 00000002 b event_value 00000002 b event_repeat +00000002 b loiter_total 00000002 b nav_throttle 00000002 b altitude_rate 00000002 b gps_fix_count 00000002 b velocity_land -00000002 b mainLoop_count +00000002 b loiter_time_max 00000002 b command_yaw_time 00000002 b event_undo_value 00000002 b command_yaw_speed @@ -92,16 +87,13 @@ 00000004 d cos_pitch_x 00000004 b event_timer 00000004 b loiter_time -00000004 b nav_bearing 00000004 d scaleLongUp 00000004 b sin_pitch_y 00000004 b wp_distance 00000004 b abs_pressure -00000004 b circle_angle 00000004 b current_amps 00000004 b old_altitude 00000004 b original_alt -00000004 b bearing_error 00000004 b current_total 00000004 b nav_loopTimer 00000004 d scaleLongDown @@ -110,29 +102,27 @@ 00000004 b fast_loopTimer 00000004 b perf_mon_timer 00000004 b target_bearing +00000004 b throttle_timer 00000004 d battery_voltage 00000004 b command_yaw_end 00000004 b condition_start 00000004 b condition_value 00000004 b ground_pressure -00000004 b loiter_time_max 00000004 b target_altitude 00000004 d battery_voltage1 00000004 d battery_voltage2 00000004 d battery_voltage3 00000004 d battery_voltage4 -00000004 b medium_loopTimer 00000004 b wp_totalDistance 00000004 b command_yaw_delta 00000004 b command_yaw_start 00000004 b fiftyhz_loopTimer -00000004 b crosstrack_bearing -00000004 b fast_loopTimeStamp +00000004 b old_target_bearing 00000004 b throttle_integrator -00000004 b saved_target_bearing 00000004 r __menu_name__log_menu 00000004 b command_yaw_start_time 00000004 b initial_simple_bearing +00000004 b original_target_bearing 00000004 d G_Dt 00000004 b dTnav 00000004 b nav_lat @@ -152,6 +142,7 @@ 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000004 r print_switch(unsigned char, unsigned char, bool)::__c 00000004 b mavlink_delay(unsigned long)::last_1hz 00000004 b mavlink_delay(unsigned long)::last_3hz 00000004 b mavlink_delay(unsigned long)::last_10hz @@ -172,6 +163,7 @@ 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r Log_Read_Raw()::__c +00000005 r print_switch(unsigned char, unsigned char, bool)::__c 00000005 r Log_Read_Mode()::__c 00000005 r report_tuning()::__c 00000005 r print_log_menu()::__c @@ -215,6 +207,7 @@ 00000007 r test_wp(unsigned char, Menu::arg const*)::__c 00000007 V Parameters::Parameters()::__c 00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c @@ -235,7 +228,7 @@ 00000008 V Parameters::Parameters()::__c 00000008 V Parameters::Parameters()::__c 00000008 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c -00000009 r print_switch(unsigned char, unsigned char)::__c +00000009 r print_switch(unsigned char, unsigned char, bool)::__c 00000009 r print_log_menu()::__c 00000009 r print_log_menu()::__c 00000009 r report_compass()::__c @@ -255,10 +248,13 @@ 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +0000000a T piezo_on() +0000000a T piezo_off() 0000000a r test_relay(unsigned char, Menu::arg const*)::__c 0000000a r start_new_log()::__c 0000000a r print_log_menu()::__c @@ -270,7 +266,6 @@ 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c -0000000a V Parameters::Parameters()::__c 0000000a T setup 0000000b r test_relay(unsigned char, Menu::arg const*)::__c 0000000b r report_batt_monitor()::__c @@ -280,6 +275,7 @@ 0000000c t test_mode(unsigned char, Menu::arg const*) 0000000c T GCS_MAVLINK::send_text(unsigned char, char const*) 0000000c V vtable for IMU +0000000c r print_switch(unsigned char, unsigned char, bool)::__c 0000000c r report_frame()::__c 0000000c r test_baro(unsigned char, Menu::arg const*)::__c 0000000c V Parameters::Parameters()::__c @@ -345,20 +341,18 @@ 0000000f r report_batt_monitor()::__c 0000000f r test_imu(unsigned char, Menu::arg const*)::__c 0000000f V AP_IMU_Oilpan::AP_IMU_Oilpan(AP_ADC*, unsigned int)::__c +00000010 r flight_mode_strings 00000010 r planner_menu_commands 00000010 b motor_out 00000010 W AP_VarT::cast_to_float() const 00000010 r test_sonar(unsigned char, Menu::arg const*)::__c 00000010 r report_compass()::__c -00000010 t mavlink_get_channel_status 00000011 r erase_logs(unsigned char, Menu::arg const*)::__c 00000011 r zero_eeprom()::__c 00000011 r update_commands()::__c -00000011 r Log_Read_Attitude()::__c 00000012 B Serial 00000012 B Serial1 00000012 B Serial3 -00000012 r flight_mode_strings 00000012 W AP_Float16::~AP_Float16() 00000012 W AP_VarA::~AP_VarA() 00000012 W AP_VarS >::~AP_VarS() @@ -384,16 +378,16 @@ 00000015 r Log_Read_Motors()::__c 00000015 r print_hit_enter()::__c 00000015 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c -00000016 r init_ardupilot()::__c +00000016 T piezo_beep() 00000016 r GCS_MAVLINK::update()::__c 00000016 B sonar -00000017 r __menu_name__main_menu 00000018 t setup_tune(unsigned char, Menu::arg const*) 00000018 t setup_accel(unsigned char, Menu::arg const*) +00000018 r __menu_name__main_menu 00000018 W AP_VarT::serialize(void*, unsigned int) const -00000018 b mavlink_get_channel_status::m_mavlink_status 00000019 r GCS_MAVLINK::update()::__c 0000001a r print_log_menu()::__c +0000001a r Log_Read_Nav_Tuning()::__c 0000001c W AP_VarA::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) @@ -401,8 +395,8 @@ 0000001c W AP_VarA::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001d r Log_Read_Attitude()::__c 0000001e r Log_Read_Optflow()::__c -0000001e r Log_Read_Nav_Tuning()::__c 0000001f r test_mag(unsigned char, Menu::arg const*)::__c 00000020 r test_current(unsigned char, Menu::arg const*)::__c 00000020 t byte_swap_4 @@ -425,10 +419,12 @@ 00000024 r init_ardupilot()::__c 00000024 r print_accel_offsets()::__c 00000025 r setup_factory(unsigned char, Menu::arg const*)::__c +00000025 r Log_Read_Performance()::__c 00000026 t print_done() 00000026 b mavlink_queue 00000026 t print_hit_enter() 00000026 t Log_Read_Startup() +00000026 r Log_Read_Control_Tuning()::__c 00000027 r test_xbee(unsigned char, Menu::arg const*)::__c 00000028 t test_battery(unsigned char, Menu::arg const*) 00000028 t main_menu_help(unsigned char, Menu::arg const*) @@ -439,23 +435,24 @@ 00000029 r setup_mode(unsigned char, Menu::arg const*)::__c 00000029 r test_gps(unsigned char, Menu::arg const*)::__c 0000002a t setup_declination(unsigned char, Menu::arg const*) -0000002a r Log_Read_Control_Tuning()::__c 0000002b r planner_mode(unsigned char, Menu::arg const*)::__c 0000002e t print_divider() 0000002e t send_rate(unsigned int, unsigned int) 0000002e W AP_Var_group::AP_Var_group(unsigned int, prog_char_t const*, unsigned char) -0000002e r Log_Read_Performance()::__c 0000002f r test_radio(unsigned char, Menu::arg const*)::__c +0000002f r init_ardupilot()::__c 00000030 t planner_mode(unsigned char, Menu::arg const*) +00000030 t send_heartbeat(mavlink_channel_t) 00000032 T GCS_MAVLINK::init(BetterStream*) 00000032 W APM_PI::~APM_PI() +00000032 r Log_Read_GPS()::__c 00000034 W AP_Float16::serialize(void*, unsigned int) const 00000034 t _mav_put_int8_t_array 00000035 r test_radio_pwm(unsigned char, Menu::arg const*)::__c 00000036 t report_radio() -00000036 r Log_Read_GPS()::__c 00000037 r print_wp(Location*, unsigned char)::__c 00000038 t init_throttle_cruise() +00000038 t send_current_waypoint(mavlink_channel_t) 00000038 r setup_radio(unsigned char, Menu::arg const*)::__c 00000038 r setup_factory(unsigned char, Menu::arg const*)::__c 0000003a t report_gps() @@ -465,41 +462,36 @@ 0000003e t verify_RTL() 0000003e T GCS_MAVLINK::send_text(unsigned char, prog_char_t const*) 0000003e W AP_VarT::AP_VarT(signed char, unsigned int, prog_char_t const*, unsigned char) +00000040 t read_AHRS() 00000040 W AP_Float16::unserialize(void*, unsigned int) 00000040 t byte_swap_8 -00000040 t crc_accumulate 00000042 t report_sonar() 00000044 t setup_show(unsigned char, Menu::arg const*) 00000044 W AP_VarT::AP_VarT(int, unsigned int, prog_char_t const*, unsigned char) +00000048 t update_motor_leds() +00000049 r setup_flightmodes(unsigned char, Menu::arg const*)::__c +0000004a t send_meminfo(mavlink_channel_t) +0000004a t change_command(unsigned char) 0000004a W AP_VarT::AP_VarT(AP_Var_group*, unsigned int, int, prog_char_t const*, unsigned char) 0000004c t update_auto_yaw() -0000004c B imu 0000004e T mavlink_send_text(mavlink_channel_t, unsigned char, char const*) 00000050 r log_menu_commands 00000050 r main_menu_commands -00000050 t read_AHRS() 00000050 T GCS_MAVLINK::_find_parameter(unsigned int) -00000052 t change_command(unsigned char) +00000050 B imu 00000052 t report_version() 00000054 t print_enabled(unsigned char) -00000054 t update_motor_leds() -00000054 t report_flight_modes() 00000055 r main_menu_help(unsigned char, Menu::arg const*)::__c -00000055 r setup_flightmodes(unsigned char, Menu::arg const*)::__c 00000056 t readSwitch() 00000056 t dancing_light() 00000057 r help_log(unsigned char, Menu::arg const*)::__c -00000058 t Log_Write_Attitude() 0000005a t read_control_switch() 0000005c t get_num_logs() 0000005c t setup_esc(unsigned char, Menu::arg const*) 0000005e t update_GPS_light() -0000005e t radio_input_switch() 0000005e T GCS_MAVLINK::_count_parameters() -00000060 t _mavlink_send_uart -00000060 B barometer -00000062 t print_switch(unsigned char, unsigned char) 00000064 t test_xbee(unsigned char, Menu::arg const*) +00000064 B barometer 00000064 t mavlink_msg_param_value_send 00000068 t zero_eeprom() 00000068 t find_last_log_page(int) @@ -508,13 +500,15 @@ 0000006e T output_min() 00000078 t setup_batt_monitor(unsigned char, Menu::arg const*) 0000007a t setup_factory(unsigned char, Menu::arg const*) +0000007a t report_flight_modes() +0000007c t send_gps_status(mavlink_channel_t) 0000007c t test_baro(unsigned char, Menu::arg const*) 0000007e t test_rawgps(unsigned char, Menu::arg const*) 00000080 T __vector_25 00000080 T __vector_36 00000080 T __vector_54 +00000082 t Log_Write_Attitude() 00000082 t do_RTL() -00000086 t Log_Read_Attitude() 00000088 t Log_Read_Raw() 0000008c t setup_frame(unsigned char, Menu::arg const*) 0000008c t print_gyro_offsets() @@ -536,83 +530,95 @@ 000000a4 T __vector_37 000000a4 T __vector_55 000000aa t test_sonar(unsigned char, Menu::arg const*) +000000aa t Log_Read_Nav_Tuning() 000000ae t report_frame() 000000b2 t erase_logs(unsigned char, Menu::arg const*) 000000b4 t test_relay(unsigned char, Menu::arg const*) 000000b4 t planner_gcs(unsigned char, Menu::arg const*) 000000b6 t get_log_boundaries(unsigned char, int&, int&) 000000b7 B compass -000000be t Log_Read_Nav_Tuning() 000000c2 t setup_compass(unsigned char, Menu::arg const*) +000000c2 t send_radio_out(mavlink_channel_t) +000000c2 t Log_Read_Attitude() 000000c4 t get_distance(Location*, Location*) 000000c4 t update_events() 000000c4 r setup_esc(unsigned char, Menu::arg const*)::__c 000000c6 t test_eedump(unsigned char, Menu::arg const*) -000000c6 t Log_Read(int, int) +000000c6 t send_radio_in(mavlink_channel_t) 000000c6 t test_tri(unsigned char, Menu::arg const*) 000000c7 B dcm 000000ca t init_barometer() -000000cc t read_radio() +000000d0 t read_radio() 000000d0 t get_bearing(Location*, Location*) +000000d2 t print_switch(unsigned char, unsigned char, bool) +000000d4 t Log_Read(int, int) 000000d8 t test_radio(unsigned char, Menu::arg const*) 000000d8 t read_barometer() -000000de t Log_Read_Performance() -000000de t Log_Read_Control_Tuning() +000000da t Log_Read_Performance() 000000de t test_adc(unsigned char, Menu::arg const*) 000000e0 r setup_menu_commands -000000e0 b mavlink_parse_char::m_mavlink_message 000000e4 t test_radio_pwm(unsigned char, Menu::arg const*) 000000e4 t Log_Read_Optflow() 000000e4 W APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&) -000000e6 t setup_flightmodes(unsigned char, Menu::arg const*) 000000e8 t Log_Read_Current() +000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() -000000f4 t _mav_finalize_message_chan_send 000000f6 t Log_Read_Cmd() -000000fa t calc_nav_pitch_roll() +0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t test_gps(unsigned char, Menu::arg const*) +0000010c t test_current(unsigned char, Menu::arg const*) 0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*) -00000112 t test_current(unsigned char, Menu::arg const*) +0000010e t send_servo_out(mavlink_channel_t) +00000112 t send_extended_status1(mavlink_channel_t, unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000118 t set_command_with_index(Location, int) 00000118 T GCS_MAVLINK::_queued_send() +0000011c t get_command_with_index(int) 00000120 r test_menu_commands -00000128 t get_command_with_index(int) 00000130 t report_compass() +00000132 t set_next_WP(Location*) 00000134 T GCS_MAVLINK::send_message(unsigned char, unsigned long) -0000014e T GCS_MAVLINK::update() -00000150 t update_trig() -00000152 t set_next_WP(Location*) -00000156 t Log_Read_GPS() +00000138 t get_stabilize_roll(long) +00000138 t get_stabilize_pitch(long) +00000148 t Log_Read_GPS() +00000152 T GCS_MAVLINK::update() +00000158 t update_commands() +0000015c t update_trig() +00000160 t send_location(mavlink_channel_t) +00000160 t send_nav_controller_output(mavlink_channel_t) 00000166 t select_logs(unsigned char, Menu::arg const*) -0000016c t update_commands() +00000166 t send_vfr_hud(mavlink_channel_t) +0000016e t send_attitude(mavlink_channel_t) +00000170 t test_imu(unsigned char, Menu::arg const*) 00000170 t test_mag(unsigned char, Menu::arg const*) -00000172 t update_nav_wp() -000001a0 t init_home() 000001a8 t print_radio_values() -000001b6 t setup_motors(unsigned char, Menu::arg const*) -000001b8 t test_imu(unsigned char, Menu::arg const*) +000001be t arm_motors() 000001be T GCS_MAVLINK::data_stream_send(unsigned int, unsigned int) -000001ca t arm_motors() +000001c8 t setup_motors(unsigned char, Menu::arg const*) 000001ca t mavlink_delay(unsigned long) 000001ce t start_new_log() -00000202 t set_mode(unsigned char) +000001d6 t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) +000001e4 t setup_flightmodes(unsigned char, Menu::arg const*) +000001ea t init_home() +00000206 t set_mode(unsigned char) +0000021a t send_raw_imu1(mavlink_channel_t) 00000220 t test_wp(unsigned char, Menu::arg const*) 00000228 t setup_radio(unsigned char, Menu::arg const*) +0000022a t send_gps_raw(mavlink_channel_t) +00000268 t send_raw_imu3(mavlink_channel_t) +000002bc T update_roll_pitch_mode() 000002ea t tuning() -00000330 t calc_nav_rate(int, int, int, int) -00000358 T update_throttle_mode() +00000354 t calc_nav_rate(int, int, int, int) 00000384 t print_log_menu() -000003be t read_battery() -000003dc T update_yaw_mode() -000004b2 t mavlink_parse_char -000005ea T update_roll_pitch_mode() -0000062e t init_ardupilot() -000007a8 t __static_initialization_and_destruction_0(int, int) -000007dc b g -0000083c W Parameters::Parameters() -000008e4 t process_next_command() +000003a0 t read_battery() +000003d2 T update_throttle_mode() +00000410 T update_yaw_mode() +0000049a t update_nav_wp() +000005ee t init_ardupilot() +000007b0 t __static_initialization_and_destruction_0(int, int) +000007ea b g +0000085e t process_next_command() +000008a0 W Parameters::Parameters() 000011d8 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000017ac t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) -00001e70 T loop +00001a4a T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.build.log index ff07e834d3..5e185a5e08 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.build.log @@ -1,56 +1,68 @@ %% ArduCopter.cpp %% ArduCopter.o -In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:53: +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:55: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition -autogenerated:34: warning: 'int alt_hold_velocity()' declared 'static' but never defined -autogenerated:86: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined -autogenerated:87: warning: 'void send_message(byte)' declared 'static' but never defined -autogenerated:88: warning: 'void send_message(byte, long int)' declared 'static' but never defined -autogenerated:82: warning: 'void send_message(byte, const char*)' declared 'static' but never defined -autogenerated:91: warning: 'void print_current_waypoints()' declared 'static' but never defined -autogenerated:94: warning: 'void print_attitude()' declared 'static' but never defined -autogenerated:90: warning: 'void print_control_mode()' declared 'static' but never defined -autogenerated:92: warning: 'void print_position()' declared 'static' but never defined -autogenerated:96: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined -autogenerated:97: warning: 'void print_waypoints()' declared 'static' but never defined -autogenerated:70: warning: 'long int convert_to_dec(float)' declared 'static' but never defined -autogenerated:139: warning: 'void Log_Write_Optflow()' declared 'static' but never defined -autogenerated:150: warning: 'void decrement_WP_index()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/commands.pde:149: warning: 'Location get_LOITER_home_wp()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:427: warning: 'bool verify_loiter_unlim()' defined but not used +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: +/root/apm/ardupilot-mega/ArduCopter/Parameters.h: In constructor 'Parameters::Parameters()': +/root/apm/ardupilot-mega/ArduCopter/Parameters.h:386: warning: overflow in implicit constant conversion +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:300: warning: statement has no effect +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_nav_wp()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:405: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_loiter_time()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: warning: comparison between signed and unsigned integer expressions +autogenerated: At global scope: +autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined +autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined +autogenerated:84: warning: 'void send_message(byte)' declared 'static' but never defined +autogenerated:85: warning: 'void send_message(byte, long int)' declared 'static' but never defined +autogenerated:79: warning: 'void send_message(byte, const char*)' declared 'static' but never defined +autogenerated:88: warning: 'void print_current_waypoints()' declared 'static' but never defined +autogenerated:91: warning: 'void print_attitude()' declared 'static' but never defined +autogenerated:87: warning: 'void print_control_mode()' declared 'static' but never defined +autogenerated:89: warning: 'void print_position()' declared 'static' but never defined +autogenerated:93: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined +autogenerated:94: warning: 'void print_waypoints()' declared 'static' but never defined +autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' but never defined +autogenerated:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined +autogenerated:146: warning: 'void decrement_WP_index()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/commands.pde:132: warning: 'Location get_LOITER_home_wp()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:298: warning: 'void do_loiter_turns()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:424: warning: 'bool verify_loiter_unlim()' defined but not used /root/apm/ardupilot-mega/ArduCopter/events.pde:46: warning: 'void low_battery_event()' defined but not used autogenerated:210: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:211: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:235: warning: 'void debug_motors()' declared 'static' but never defined -autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:159: warning: 'int get_loiter_angle()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'void reset_crosstrack()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:222: warning: 'long int get_altitude_above_home()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:243: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used +autogenerated:249: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:152: warning: 'int get_loiter_angle()' defined but not used +autogenerated:253: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:254: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:255: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:131: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:188: warning: 'void trim_yaw()' defined but not used -autogenerated:268: warning: 'void readCommands()' declared 'static' but never defined -autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:267: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:268: warning: 'void parseCommand(char*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:6: warning: 'void ReadSCP1000()' defined but not used -autogenerated:272: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:271: warning: 'long int read_baro_filtered()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:95: warning: 'void read_airspeed()' defined but not used /root/apm/ardupilot-mega/ArduCopter/sensors.pde:100: warning: 'void zero_airspeed()' defined but not used -autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined -autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined -autogenerated:295: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:296: warning: 'int read_num_from_serial()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/system.pde:465: warning: 'void set_failsafe(boolean)' defined but not used -autogenerated:311: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/test.pde:991: warning: 'void print_motor_out()' defined but not used +autogenerated:285: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:286: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:293: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:294: warning: 'int read_num_from_serial()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/system.pde:448: warning: 'void set_failsafe(boolean)' defined but not used +autogenerated:309: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:317: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:992: warning: 'void print_motor_out()' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:443: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:449: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:463: warning: 'simple_WP' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'optflow_offset' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/control_modes.pde:48: warning: 'trim_flag' defined but not used %% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_PI/APM_PI.o %% libraries/APM_RC/APM_RC.o @@ -84,33 +96,7 @@ autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never de In file included from /root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28: /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:20:1: warning: this is the location of the previous definition -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_led_always_on(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:221: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'bool AP_OpticalFlow_ADNS3080::get_frame_rate_auto()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:257: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_shutter_speed_auto(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:361: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'int AP_OpticalFlow_ADNS3080::print_pixel_data(Stream*)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:441: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'virtual bool AP_OpticalFlow_ADNS3080::init(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:80: warning: control reaches end of non-void function %% libraries/AP_OpticalFlow/AP_OpticalFlow.o -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual void AP_OpticalFlow::get_position(float, float, float, float)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:88: warning: unused variable 'i' -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: control reaches end of non-void function %% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o %% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o %% libraries/AP_RangeFinder/RangeFinder.o @@ -123,6 +109,7 @@ In file included from /root/apm/ardupilot-mega/libraries/DataFlash/DataFlash.cpp %% libraries/FastSerial/vprintf.o %% libraries/GCS_MAVLink/GCS_MAVLink.o %% libraries/ModeFilter/ModeFilter.o +%% libraries/RC_Channel/RC_Channel_aux.o %% libraries/RC_Channel/RC_Channel.o %% libraries/memcheck/memcheck.o %% libraries/FastSerial/ftoa_engine.o diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.size.txt index ccc1134565..b1864941db 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.size.txt @@ -4,19 +4,18 @@ 00000001 b motor_armed 00000001 b motor_light 00000001 b control_mode -00000001 b simple_timer +00000001 b gps_watchdog 00000001 d yaw_tracking 00000001 b land_complete 00000001 b throttle_mode 00000001 b command_may_ID 00000001 b wp_verify_byte -00000001 b xtrack_enabled 00000001 d altitude_sensor 00000001 b command_must_ID 00000001 b command_yaw_dir +00000001 b new_radio_frame 00000001 b roll_pitch_mode 00000001 b counter_one_herz -00000001 b delta_ms_fiftyhz 00000001 b did_ground_start 00000001 b in_mavlink_delay 00000001 b invalid_throttle @@ -27,34 +26,30 @@ 00000001 b command_may_index 00000001 b oldSwitchPosition 00000001 b command_must_index -00000001 b delta_ms_fast_loop 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative -00000001 b delta_ms_medium_loop 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode 00000001 b GPS_light -00000001 b alt_timer 00000001 b loop_step -00000001 b trim_flag 00000001 b dancing_light()::step -00000001 b update_motor_leds()::blink -00000001 b radio_input_switch()::bouncer 00000001 b read_control_switch()::switch_debouncer 00000001 d GCS_MAVLINK::handleMessage(__mavlink_message*)::mav_nav 00000001 B mavdelay 00000002 T mavlink_acknowledge(mavlink_channel_t, unsigned char, unsigned char, unsigned char) 00000002 b climb_rate +00000002 b loiter_sum 00000002 b event_delay 00000002 b event_value 00000002 b event_repeat +00000002 b loiter_total 00000002 b nav_throttle 00000002 b altitude_rate 00000002 b gps_fix_count 00000002 b velocity_land -00000002 b mainLoop_count +00000002 b loiter_time_max 00000002 b command_yaw_time 00000002 b event_undo_value 00000002 b command_yaw_speed @@ -92,16 +87,13 @@ 00000004 d cos_pitch_x 00000004 b event_timer 00000004 b loiter_time -00000004 b nav_bearing 00000004 d scaleLongUp 00000004 b sin_pitch_y 00000004 b wp_distance 00000004 b abs_pressure -00000004 b circle_angle 00000004 b current_amps 00000004 b old_altitude 00000004 b original_alt -00000004 b bearing_error 00000004 b current_total 00000004 b nav_loopTimer 00000004 d scaleLongDown @@ -110,29 +102,27 @@ 00000004 b fast_loopTimer 00000004 b perf_mon_timer 00000004 b target_bearing +00000004 b throttle_timer 00000004 d battery_voltage 00000004 b command_yaw_end 00000004 b condition_start 00000004 b condition_value 00000004 b ground_pressure -00000004 b loiter_time_max 00000004 b target_altitude 00000004 d battery_voltage1 00000004 d battery_voltage2 00000004 d battery_voltage3 00000004 d battery_voltage4 -00000004 b medium_loopTimer 00000004 b wp_totalDistance 00000004 b command_yaw_delta 00000004 b command_yaw_start 00000004 b fiftyhz_loopTimer -00000004 b crosstrack_bearing -00000004 b fast_loopTimeStamp +00000004 b old_target_bearing 00000004 b throttle_integrator -00000004 b saved_target_bearing 00000004 r __menu_name__log_menu 00000004 b command_yaw_start_time 00000004 b initial_simple_bearing +00000004 b original_target_bearing 00000004 d G_Dt 00000004 b dTnav 00000004 b nav_lat @@ -152,6 +142,7 @@ 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000004 r print_switch(unsigned char, unsigned char, bool)::__c 00000004 b mavlink_delay(unsigned long)::last_1hz 00000004 b mavlink_delay(unsigned long)::last_3hz 00000004 b mavlink_delay(unsigned long)::last_10hz @@ -172,6 +163,7 @@ 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r Log_Read_Raw()::__c +00000005 r print_switch(unsigned char, unsigned char, bool)::__c 00000005 r Log_Read_Mode()::__c 00000005 r report_tuning()::__c 00000005 r print_log_menu()::__c @@ -215,6 +207,7 @@ 00000007 r test_wp(unsigned char, Menu::arg const*)::__c 00000007 V Parameters::Parameters()::__c 00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c @@ -235,7 +228,7 @@ 00000008 V Parameters::Parameters()::__c 00000008 V Parameters::Parameters()::__c 00000008 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c -00000009 r print_switch(unsigned char, unsigned char)::__c +00000009 r print_switch(unsigned char, unsigned char, bool)::__c 00000009 r print_log_menu()::__c 00000009 r print_log_menu()::__c 00000009 r report_compass()::__c @@ -255,10 +248,13 @@ 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +0000000a T piezo_on() +0000000a T piezo_off() 0000000a r test_relay(unsigned char, Menu::arg const*)::__c 0000000a r start_new_log()::__c 0000000a r print_log_menu()::__c @@ -270,7 +266,6 @@ 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c -0000000a V Parameters::Parameters()::__c 0000000a T setup 0000000b r test_relay(unsigned char, Menu::arg const*)::__c 0000000b r report_batt_monitor()::__c @@ -280,6 +275,7 @@ 0000000c t test_mode(unsigned char, Menu::arg const*) 0000000c T GCS_MAVLINK::send_text(unsigned char, char const*) 0000000c V vtable for IMU +0000000c r print_switch(unsigned char, unsigned char, bool)::__c 0000000c r report_frame()::__c 0000000c r test_baro(unsigned char, Menu::arg const*)::__c 0000000c V Parameters::Parameters()::__c @@ -345,20 +341,18 @@ 0000000f r report_batt_monitor()::__c 0000000f r test_imu(unsigned char, Menu::arg const*)::__c 0000000f V AP_IMU_Oilpan::AP_IMU_Oilpan(AP_ADC*, unsigned int)::__c +00000010 r flight_mode_strings 00000010 r planner_menu_commands 00000010 b motor_out 00000010 W AP_VarT::cast_to_float() const 00000010 r test_sonar(unsigned char, Menu::arg const*)::__c 00000010 r report_compass()::__c -00000010 t mavlink_get_channel_status 00000011 r erase_logs(unsigned char, Menu::arg const*)::__c 00000011 r zero_eeprom()::__c 00000011 r update_commands()::__c -00000011 r Log_Read_Attitude()::__c 00000012 B Serial 00000012 B Serial1 00000012 B Serial3 -00000012 r flight_mode_strings 00000012 W AP_Float16::~AP_Float16() 00000012 W AP_VarA::~AP_VarA() 00000012 W AP_VarS >::~AP_VarS() @@ -384,16 +378,16 @@ 00000015 r Log_Read_Motors()::__c 00000015 r print_hit_enter()::__c 00000015 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c -00000016 r init_ardupilot()::__c +00000016 T piezo_beep() 00000016 r GCS_MAVLINK::update()::__c 00000016 B sonar -00000017 r __menu_name__main_menu 00000018 t setup_tune(unsigned char, Menu::arg const*) 00000018 t setup_accel(unsigned char, Menu::arg const*) +00000018 r __menu_name__main_menu 00000018 W AP_VarT::serialize(void*, unsigned int) const -00000018 b mavlink_get_channel_status::m_mavlink_status 00000019 r GCS_MAVLINK::update()::__c 0000001a r print_log_menu()::__c +0000001a r Log_Read_Nav_Tuning()::__c 0000001c W AP_VarA::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) @@ -401,8 +395,8 @@ 0000001c W AP_VarA::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001d r Log_Read_Attitude()::__c 0000001e r Log_Read_Optflow()::__c -0000001e r Log_Read_Nav_Tuning()::__c 0000001f r test_mag(unsigned char, Menu::arg const*)::__c 00000020 r test_current(unsigned char, Menu::arg const*)::__c 00000020 t byte_swap_4 @@ -425,10 +419,12 @@ 00000024 r init_ardupilot()::__c 00000024 r print_accel_offsets()::__c 00000025 r setup_factory(unsigned char, Menu::arg const*)::__c +00000025 r Log_Read_Performance()::__c 00000026 t print_done() 00000026 b mavlink_queue 00000026 t print_hit_enter() 00000026 t Log_Read_Startup() +00000026 r Log_Read_Control_Tuning()::__c 00000027 r test_xbee(unsigned char, Menu::arg const*)::__c 00000028 t test_battery(unsigned char, Menu::arg const*) 00000028 t main_menu_help(unsigned char, Menu::arg const*) @@ -439,23 +435,24 @@ 00000029 r setup_mode(unsigned char, Menu::arg const*)::__c 00000029 r test_gps(unsigned char, Menu::arg const*)::__c 0000002a t setup_declination(unsigned char, Menu::arg const*) -0000002a r Log_Read_Control_Tuning()::__c 0000002b r planner_mode(unsigned char, Menu::arg const*)::__c 0000002e t print_divider() 0000002e t send_rate(unsigned int, unsigned int) 0000002e W AP_Var_group::AP_Var_group(unsigned int, prog_char_t const*, unsigned char) -0000002e r Log_Read_Performance()::__c 0000002f r test_radio(unsigned char, Menu::arg const*)::__c +0000002f r init_ardupilot()::__c 00000030 t planner_mode(unsigned char, Menu::arg const*) +00000030 t send_heartbeat(mavlink_channel_t) 00000032 T GCS_MAVLINK::init(BetterStream*) 00000032 W APM_PI::~APM_PI() +00000032 r Log_Read_GPS()::__c 00000034 W AP_Float16::serialize(void*, unsigned int) const 00000034 t _mav_put_int8_t_array 00000035 r test_radio_pwm(unsigned char, Menu::arg const*)::__c 00000036 t report_radio() -00000036 r Log_Read_GPS()::__c 00000037 r print_wp(Location*, unsigned char)::__c 00000038 t init_throttle_cruise() +00000038 t send_current_waypoint(mavlink_channel_t) 00000038 r setup_radio(unsigned char, Menu::arg const*)::__c 00000038 r setup_factory(unsigned char, Menu::arg const*)::__c 0000003a t report_gps() @@ -465,41 +462,36 @@ 0000003e t verify_RTL() 0000003e T GCS_MAVLINK::send_text(unsigned char, prog_char_t const*) 0000003e W AP_VarT::AP_VarT(signed char, unsigned int, prog_char_t const*, unsigned char) +00000040 t read_AHRS() 00000040 W AP_Float16::unserialize(void*, unsigned int) 00000040 t byte_swap_8 -00000040 t crc_accumulate 00000042 t report_sonar() 00000044 t setup_show(unsigned char, Menu::arg const*) 00000044 W AP_VarT::AP_VarT(int, unsigned int, prog_char_t const*, unsigned char) +00000048 t update_motor_leds() +00000049 r setup_flightmodes(unsigned char, Menu::arg const*)::__c +0000004a t send_meminfo(mavlink_channel_t) +0000004a t change_command(unsigned char) 0000004a W AP_VarT::AP_VarT(AP_Var_group*, unsigned int, int, prog_char_t const*, unsigned char) 0000004c t update_auto_yaw() -0000004c B imu 0000004e T mavlink_send_text(mavlink_channel_t, unsigned char, char const*) 00000050 t report_version() 00000050 r log_menu_commands 00000050 r main_menu_commands -00000050 t read_AHRS() 00000050 T GCS_MAVLINK::_find_parameter(unsigned int) -00000052 t change_command(unsigned char) +00000050 B imu 00000054 t print_enabled(unsigned char) -00000054 t update_motor_leds() -00000054 t report_flight_modes() 00000055 r main_menu_help(unsigned char, Menu::arg const*)::__c -00000055 r setup_flightmodes(unsigned char, Menu::arg const*)::__c 00000056 t readSwitch() 00000056 t dancing_light() 00000057 r help_log(unsigned char, Menu::arg const*)::__c -00000058 t Log_Write_Attitude() 0000005a t read_control_switch() 0000005c t get_num_logs() 0000005c t setup_esc(unsigned char, Menu::arg const*) 0000005e t update_GPS_light() -0000005e t radio_input_switch() 0000005e T GCS_MAVLINK::_count_parameters() -00000060 t print_switch(unsigned char, unsigned char) -00000060 t _mavlink_send_uart -00000060 B barometer 00000064 t test_xbee(unsigned char, Menu::arg const*) +00000064 B barometer 00000064 t mavlink_msg_param_value_send 00000068 t zero_eeprom() 00000068 t find_last_log_page(int) @@ -508,13 +500,15 @@ 0000006e T output_min() 00000078 t setup_batt_monitor(unsigned char, Menu::arg const*) 0000007a t setup_factory(unsigned char, Menu::arg const*) +0000007a t report_flight_modes() 0000007a t test_baro(unsigned char, Menu::arg const*) +0000007c t send_gps_status(mavlink_channel_t) 0000007e t test_rawgps(unsigned char, Menu::arg const*) 00000080 T __vector_25 00000080 T __vector_36 00000080 T __vector_54 +00000082 t Log_Write_Attitude() 00000082 t do_RTL() -00000086 t Log_Read_Attitude() 00000088 t Log_Read_Raw() 0000008c t setup_frame(unsigned char, Menu::arg const*) 0000008c t print_gyro_offsets() @@ -536,83 +530,95 @@ 000000a4 T __vector_37 000000a4 T __vector_55 000000a8 t test_sonar(unsigned char, Menu::arg const*) +000000aa t Log_Read_Nav_Tuning() 000000ae t report_frame() 000000b2 t erase_logs(unsigned char, Menu::arg const*) 000000b4 t test_relay(unsigned char, Menu::arg const*) 000000b4 t planner_gcs(unsigned char, Menu::arg const*) 000000b6 t get_log_boundaries(unsigned char, int&, int&) 000000b7 B compass -000000be t Log_Read_Nav_Tuning() 000000c2 t test_eedump(unsigned char, Menu::arg const*) 000000c2 t setup_compass(unsigned char, Menu::arg const*) +000000c2 t send_radio_out(mavlink_channel_t) +000000c2 t Log_Read_Attitude() 000000c4 t get_distance(Location*, Location*) 000000c4 t update_events() 000000c4 r setup_esc(unsigned char, Menu::arg const*)::__c -000000c6 t Log_Read(int, int) +000000c6 t send_radio_in(mavlink_channel_t) 000000c6 t test_tri(unsigned char, Menu::arg const*) 000000c7 B dcm 000000ca t init_barometer() -000000cc t read_radio() +000000d0 t read_radio() 000000d0 t get_bearing(Location*, Location*) +000000d0 t print_switch(unsigned char, unsigned char, bool) +000000d4 t Log_Read(int, int) 000000d8 t test_radio(unsigned char, Menu::arg const*) 000000d8 t read_barometer() +000000da t Log_Read_Performance() 000000dc t test_adc(unsigned char, Menu::arg const*) -000000de t Log_Read_Performance() -000000de t Log_Read_Control_Tuning() 000000e0 r setup_menu_commands -000000e0 b mavlink_parse_char::m_mavlink_message 000000e4 t test_radio_pwm(unsigned char, Menu::arg const*) 000000e4 t Log_Read_Optflow() 000000e4 W APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&) -000000e6 t setup_flightmodes(unsigned char, Menu::arg const*) 000000e8 t Log_Read_Current() +000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() -000000f4 t _mav_finalize_message_chan_send 000000f6 t Log_Read_Cmd() -000000fa t calc_nav_pitch_roll() +0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t test_gps(unsigned char, Menu::arg const*) +0000010c t test_current(unsigned char, Menu::arg const*) 0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*) -00000112 t test_current(unsigned char, Menu::arg const*) +0000010e t send_servo_out(mavlink_channel_t) +00000112 t send_extended_status1(mavlink_channel_t, unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000118 t set_command_with_index(Location, int) 00000118 T GCS_MAVLINK::_queued_send() +0000011c t get_command_with_index(int) 00000120 r test_menu_commands -00000128 t get_command_with_index(int) 00000130 t report_compass() +00000132 t set_next_WP(Location*) 00000134 T GCS_MAVLINK::send_message(unsigned char, unsigned long) -0000014e T GCS_MAVLINK::update() -00000150 t update_trig() -00000152 t set_next_WP(Location*) -00000156 t Log_Read_GPS() +00000138 t get_stabilize_roll(long) +00000138 t get_stabilize_pitch(long) +00000148 t Log_Read_GPS() +00000152 T GCS_MAVLINK::update() +00000158 t update_commands() +0000015c t update_trig() +00000160 t send_location(mavlink_channel_t) +00000160 t send_nav_controller_output(mavlink_channel_t) 00000166 t select_logs(unsigned char, Menu::arg const*) -0000016c t update_commands() +00000166 t send_vfr_hud(mavlink_channel_t) +0000016e t send_attitude(mavlink_channel_t) +00000170 t test_imu(unsigned char, Menu::arg const*) 00000170 t test_mag(unsigned char, Menu::arg const*) -00000172 t update_nav_wp() -000001a0 t init_home() 000001a8 t print_radio_values() -000001b6 t setup_motors(unsigned char, Menu::arg const*) -000001b8 t test_imu(unsigned char, Menu::arg const*) +000001be t arm_motors() 000001be T GCS_MAVLINK::data_stream_send(unsigned int, unsigned int) -000001ca t arm_motors() +000001c8 t setup_motors(unsigned char, Menu::arg const*) 000001ca t mavlink_delay(unsigned long) 000001ce t start_new_log() -00000202 t set_mode(unsigned char) +000001d6 t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) +000001e4 t setup_flightmodes(unsigned char, Menu::arg const*) +000001ea t init_home() +00000206 t set_mode(unsigned char) +0000021a t send_raw_imu1(mavlink_channel_t) 0000021c t test_wp(unsigned char, Menu::arg const*) 00000228 t setup_radio(unsigned char, Menu::arg const*) +0000022a t send_gps_raw(mavlink_channel_t) +00000268 t send_raw_imu3(mavlink_channel_t) +000002bc T update_roll_pitch_mode() 000002ea t tuning() -00000330 t calc_nav_rate(int, int, int, int) -00000358 T update_throttle_mode() +00000354 t calc_nav_rate(int, int, int, int) 00000382 t print_log_menu() -000003be t read_battery() -000003dc T update_yaw_mode() -000004b2 t mavlink_parse_char -000005ea T update_roll_pitch_mode() -0000062e t init_ardupilot() -000007a8 t __static_initialization_and_destruction_0(int, int) -000007dc b g -0000083c W Parameters::Parameters() -000008e4 t process_next_command() +000003a0 t read_battery() +000003d2 T update_throttle_mode() +00000410 T update_yaw_mode() +0000049a t update_nav_wp() +000005ee t init_ardupilot() +000007b0 t __static_initialization_and_destruction_0(int, int) +000007ea b g +0000085e t process_next_command() +000008a0 W Parameters::Parameters() 000011d8 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000017ac t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) -00001e6e T loop +00001a48 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.build.log index ff07e834d3..5e185a5e08 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.build.log @@ -1,56 +1,68 @@ %% ArduCopter.cpp %% ArduCopter.o -In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:53: +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:55: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition -autogenerated:34: warning: 'int alt_hold_velocity()' declared 'static' but never defined -autogenerated:86: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined -autogenerated:87: warning: 'void send_message(byte)' declared 'static' but never defined -autogenerated:88: warning: 'void send_message(byte, long int)' declared 'static' but never defined -autogenerated:82: warning: 'void send_message(byte, const char*)' declared 'static' but never defined -autogenerated:91: warning: 'void print_current_waypoints()' declared 'static' but never defined -autogenerated:94: warning: 'void print_attitude()' declared 'static' but never defined -autogenerated:90: warning: 'void print_control_mode()' declared 'static' but never defined -autogenerated:92: warning: 'void print_position()' declared 'static' but never defined -autogenerated:96: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined -autogenerated:97: warning: 'void print_waypoints()' declared 'static' but never defined -autogenerated:70: warning: 'long int convert_to_dec(float)' declared 'static' but never defined -autogenerated:139: warning: 'void Log_Write_Optflow()' declared 'static' but never defined -autogenerated:150: warning: 'void decrement_WP_index()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/commands.pde:149: warning: 'Location get_LOITER_home_wp()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:427: warning: 'bool verify_loiter_unlim()' defined but not used +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: +/root/apm/ardupilot-mega/ArduCopter/Parameters.h: In constructor 'Parameters::Parameters()': +/root/apm/ardupilot-mega/ArduCopter/Parameters.h:386: warning: overflow in implicit constant conversion +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:300: warning: statement has no effect +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_nav_wp()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:405: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_loiter_time()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: warning: comparison between signed and unsigned integer expressions +autogenerated: At global scope: +autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined +autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined +autogenerated:84: warning: 'void send_message(byte)' declared 'static' but never defined +autogenerated:85: warning: 'void send_message(byte, long int)' declared 'static' but never defined +autogenerated:79: warning: 'void send_message(byte, const char*)' declared 'static' but never defined +autogenerated:88: warning: 'void print_current_waypoints()' declared 'static' but never defined +autogenerated:91: warning: 'void print_attitude()' declared 'static' but never defined +autogenerated:87: warning: 'void print_control_mode()' declared 'static' but never defined +autogenerated:89: warning: 'void print_position()' declared 'static' but never defined +autogenerated:93: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined +autogenerated:94: warning: 'void print_waypoints()' declared 'static' but never defined +autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' but never defined +autogenerated:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined +autogenerated:146: warning: 'void decrement_WP_index()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/commands.pde:132: warning: 'Location get_LOITER_home_wp()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:298: warning: 'void do_loiter_turns()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:424: warning: 'bool verify_loiter_unlim()' defined but not used /root/apm/ardupilot-mega/ArduCopter/events.pde:46: warning: 'void low_battery_event()' defined but not used autogenerated:210: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:211: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:235: warning: 'void debug_motors()' declared 'static' but never defined -autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:159: warning: 'int get_loiter_angle()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'void reset_crosstrack()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:222: warning: 'long int get_altitude_above_home()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:243: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used +autogenerated:249: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:152: warning: 'int get_loiter_angle()' defined but not used +autogenerated:253: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:254: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:255: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:131: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:188: warning: 'void trim_yaw()' defined but not used -autogenerated:268: warning: 'void readCommands()' declared 'static' but never defined -autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:267: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:268: warning: 'void parseCommand(char*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:6: warning: 'void ReadSCP1000()' defined but not used -autogenerated:272: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:271: warning: 'long int read_baro_filtered()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:95: warning: 'void read_airspeed()' defined but not used /root/apm/ardupilot-mega/ArduCopter/sensors.pde:100: warning: 'void zero_airspeed()' defined but not used -autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined -autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined -autogenerated:295: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:296: warning: 'int read_num_from_serial()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/system.pde:465: warning: 'void set_failsafe(boolean)' defined but not used -autogenerated:311: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/test.pde:991: warning: 'void print_motor_out()' defined but not used +autogenerated:285: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:286: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:293: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:294: warning: 'int read_num_from_serial()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/system.pde:448: warning: 'void set_failsafe(boolean)' defined but not used +autogenerated:309: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:317: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:992: warning: 'void print_motor_out()' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:443: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:449: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:463: warning: 'simple_WP' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'optflow_offset' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/control_modes.pde:48: warning: 'trim_flag' defined but not used %% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_PI/APM_PI.o %% libraries/APM_RC/APM_RC.o @@ -84,33 +96,7 @@ autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never de In file included from /root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28: /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:20:1: warning: this is the location of the previous definition -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_led_always_on(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:221: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'bool AP_OpticalFlow_ADNS3080::get_frame_rate_auto()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:257: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_shutter_speed_auto(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:361: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'int AP_OpticalFlow_ADNS3080::print_pixel_data(Stream*)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:441: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'virtual bool AP_OpticalFlow_ADNS3080::init(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:80: warning: control reaches end of non-void function %% libraries/AP_OpticalFlow/AP_OpticalFlow.o -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual void AP_OpticalFlow::get_position(float, float, float, float)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:88: warning: unused variable 'i' -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: control reaches end of non-void function %% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o %% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o %% libraries/AP_RangeFinder/RangeFinder.o @@ -123,6 +109,7 @@ In file included from /root/apm/ardupilot-mega/libraries/DataFlash/DataFlash.cpp %% libraries/FastSerial/vprintf.o %% libraries/GCS_MAVLink/GCS_MAVLink.o %% libraries/ModeFilter/ModeFilter.o +%% libraries/RC_Channel/RC_Channel_aux.o %% libraries/RC_Channel/RC_Channel.o %% libraries/memcheck/memcheck.o %% libraries/FastSerial/ftoa_engine.o diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.size.txt index 189044ca08..b7e6723b9b 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.size.txt @@ -4,19 +4,18 @@ 00000001 b motor_armed 00000001 b motor_light 00000001 b control_mode -00000001 b simple_timer +00000001 b gps_watchdog 00000001 d yaw_tracking 00000001 b land_complete 00000001 b throttle_mode 00000001 b command_may_ID 00000001 b wp_verify_byte -00000001 b xtrack_enabled 00000001 d altitude_sensor 00000001 b command_must_ID 00000001 b command_yaw_dir +00000001 b new_radio_frame 00000001 b roll_pitch_mode 00000001 b counter_one_herz -00000001 b delta_ms_fiftyhz 00000001 b did_ground_start 00000001 b in_mavlink_delay 00000001 b invalid_throttle @@ -27,34 +26,30 @@ 00000001 b command_may_index 00000001 b oldSwitchPosition 00000001 b command_must_index -00000001 b delta_ms_fast_loop 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative -00000001 b delta_ms_medium_loop 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode 00000001 b GPS_light -00000001 b alt_timer 00000001 b loop_step -00000001 b trim_flag 00000001 b dancing_light()::step -00000001 b update_motor_leds()::blink -00000001 b radio_input_switch()::bouncer 00000001 b read_control_switch()::switch_debouncer 00000001 d GCS_MAVLINK::handleMessage(__mavlink_message*)::mav_nav 00000001 B mavdelay 00000002 T mavlink_acknowledge(mavlink_channel_t, unsigned char, unsigned char, unsigned char) 00000002 b climb_rate +00000002 b loiter_sum 00000002 b event_delay 00000002 b event_value 00000002 b event_repeat +00000002 b loiter_total 00000002 b nav_throttle 00000002 b altitude_rate 00000002 b gps_fix_count 00000002 b velocity_land -00000002 b mainLoop_count +00000002 b loiter_time_max 00000002 b command_yaw_time 00000002 b event_undo_value 00000002 b command_yaw_speed @@ -92,16 +87,13 @@ 00000004 d cos_pitch_x 00000004 b event_timer 00000004 b loiter_time -00000004 b nav_bearing 00000004 d scaleLongUp 00000004 b sin_pitch_y 00000004 b wp_distance 00000004 b abs_pressure -00000004 b circle_angle 00000004 b current_amps 00000004 b old_altitude 00000004 b original_alt -00000004 b bearing_error 00000004 b current_total 00000004 b nav_loopTimer 00000004 d scaleLongDown @@ -110,29 +102,27 @@ 00000004 b fast_loopTimer 00000004 b perf_mon_timer 00000004 b target_bearing +00000004 b throttle_timer 00000004 d battery_voltage 00000004 b command_yaw_end 00000004 b condition_start 00000004 b condition_value 00000004 b ground_pressure -00000004 b loiter_time_max 00000004 b target_altitude 00000004 d battery_voltage1 00000004 d battery_voltage2 00000004 d battery_voltage3 00000004 d battery_voltage4 -00000004 b medium_loopTimer 00000004 b wp_totalDistance 00000004 b command_yaw_delta 00000004 b command_yaw_start 00000004 b fiftyhz_loopTimer -00000004 b crosstrack_bearing -00000004 b fast_loopTimeStamp +00000004 b old_target_bearing 00000004 b throttle_integrator -00000004 b saved_target_bearing 00000004 r __menu_name__log_menu 00000004 b command_yaw_start_time 00000004 b initial_simple_bearing +00000004 b original_target_bearing 00000004 d G_Dt 00000004 b dTnav 00000004 b nav_lat @@ -152,6 +142,7 @@ 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000004 r print_switch(unsigned char, unsigned char, bool)::__c 00000004 b mavlink_delay(unsigned long)::last_1hz 00000004 b mavlink_delay(unsigned long)::last_3hz 00000004 b mavlink_delay(unsigned long)::last_10hz @@ -172,6 +163,7 @@ 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r Log_Read_Raw()::__c +00000005 r print_switch(unsigned char, unsigned char, bool)::__c 00000005 r Log_Read_Mode()::__c 00000005 r report_tuning()::__c 00000005 r print_log_menu()::__c @@ -215,6 +207,7 @@ 00000007 r test_wp(unsigned char, Menu::arg const*)::__c 00000007 V Parameters::Parameters()::__c 00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c @@ -235,7 +228,7 @@ 00000008 V Parameters::Parameters()::__c 00000008 V Parameters::Parameters()::__c 00000008 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c -00000009 r print_switch(unsigned char, unsigned char)::__c +00000009 r print_switch(unsigned char, unsigned char, bool)::__c 00000009 r print_log_menu()::__c 00000009 r print_log_menu()::__c 00000009 r report_compass()::__c @@ -255,10 +248,13 @@ 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +0000000a T piezo_on() +0000000a T piezo_off() 0000000a r test_relay(unsigned char, Menu::arg const*)::__c 0000000a r start_new_log()::__c 0000000a r print_log_menu()::__c @@ -270,7 +266,6 @@ 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c -0000000a V Parameters::Parameters()::__c 0000000a T setup 0000000b r test_relay(unsigned char, Menu::arg const*)::__c 0000000b r report_frame()::__c @@ -281,6 +276,7 @@ 0000000c t test_mode(unsigned char, Menu::arg const*) 0000000c T GCS_MAVLINK::send_text(unsigned char, char const*) 0000000c V vtable for IMU +0000000c r print_switch(unsigned char, unsigned char, bool)::__c 0000000c r test_baro(unsigned char, Menu::arg const*)::__c 0000000c V Parameters::Parameters()::__c 0000000c V Parameters::Parameters()::__c @@ -345,20 +341,18 @@ 0000000f r report_batt_monitor()::__c 0000000f r test_imu(unsigned char, Menu::arg const*)::__c 0000000f V AP_IMU_Oilpan::AP_IMU_Oilpan(AP_ADC*, unsigned int)::__c +00000010 r flight_mode_strings 00000010 r planner_menu_commands 00000010 b motor_out 00000010 W AP_VarT::cast_to_float() const 00000010 r test_sonar(unsigned char, Menu::arg const*)::__c 00000010 r report_compass()::__c -00000010 t mavlink_get_channel_status 00000011 r erase_logs(unsigned char, Menu::arg const*)::__c 00000011 r zero_eeprom()::__c 00000011 r update_commands()::__c -00000011 r Log_Read_Attitude()::__c 00000012 B Serial 00000012 B Serial1 00000012 B Serial3 -00000012 r flight_mode_strings 00000012 W AP_Float16::~AP_Float16() 00000012 W AP_VarA::~AP_VarA() 00000012 W AP_VarS >::~AP_VarS() @@ -384,16 +378,16 @@ 00000015 r Log_Read_Motors()::__c 00000015 r print_hit_enter()::__c 00000015 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c -00000016 r init_ardupilot()::__c +00000016 T piezo_beep() 00000016 r GCS_MAVLINK::update()::__c 00000016 B sonar -00000017 r __menu_name__main_menu 00000018 t setup_tune(unsigned char, Menu::arg const*) 00000018 t setup_accel(unsigned char, Menu::arg const*) +00000018 r __menu_name__main_menu 00000018 W AP_VarT::serialize(void*, unsigned int) const -00000018 b mavlink_get_channel_status::m_mavlink_status 00000019 r GCS_MAVLINK::update()::__c 0000001a r print_log_menu()::__c +0000001a r Log_Read_Nav_Tuning()::__c 0000001c W AP_VarA::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) @@ -401,8 +395,8 @@ 0000001c W AP_VarA::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001d r Log_Read_Attitude()::__c 0000001e r Log_Read_Optflow()::__c -0000001e r Log_Read_Nav_Tuning()::__c 0000001f r test_mag(unsigned char, Menu::arg const*)::__c 00000020 r test_current(unsigned char, Menu::arg const*)::__c 00000020 t byte_swap_4 @@ -425,10 +419,12 @@ 00000024 r init_ardupilot()::__c 00000024 r print_accel_offsets()::__c 00000025 r setup_factory(unsigned char, Menu::arg const*)::__c +00000025 r Log_Read_Performance()::__c 00000026 t print_done() 00000026 b mavlink_queue 00000026 t print_hit_enter() 00000026 t Log_Read_Startup() +00000026 r Log_Read_Control_Tuning()::__c 00000027 r test_xbee(unsigned char, Menu::arg const*)::__c 00000028 t test_battery(unsigned char, Menu::arg const*) 00000028 t main_menu_help(unsigned char, Menu::arg const*) @@ -439,23 +435,24 @@ 00000029 r setup_mode(unsigned char, Menu::arg const*)::__c 00000029 r test_gps(unsigned char, Menu::arg const*)::__c 0000002a t setup_declination(unsigned char, Menu::arg const*) -0000002a r Log_Read_Control_Tuning()::__c 0000002b r planner_mode(unsigned char, Menu::arg const*)::__c 0000002e t print_divider() 0000002e t send_rate(unsigned int, unsigned int) 0000002e W AP_Var_group::AP_Var_group(unsigned int, prog_char_t const*, unsigned char) -0000002e r Log_Read_Performance()::__c 0000002f r test_radio(unsigned char, Menu::arg const*)::__c +0000002f r init_ardupilot()::__c 00000030 t planner_mode(unsigned char, Menu::arg const*) +00000030 t send_heartbeat(mavlink_channel_t) 00000032 T GCS_MAVLINK::init(BetterStream*) 00000032 W APM_PI::~APM_PI() +00000032 r Log_Read_GPS()::__c 00000034 W AP_Float16::serialize(void*, unsigned int) const 00000034 t _mav_put_int8_t_array 00000035 r test_radio_pwm(unsigned char, Menu::arg const*)::__c 00000036 t report_radio() -00000036 r Log_Read_GPS()::__c 00000037 r print_wp(Location*, unsigned char)::__c 00000038 t init_throttle_cruise() +00000038 t send_current_waypoint(mavlink_channel_t) 00000038 r setup_radio(unsigned char, Menu::arg const*)::__c 00000038 r setup_factory(unsigned char, Menu::arg const*)::__c 0000003a t report_gps() @@ -465,41 +462,36 @@ 0000003e t verify_RTL() 0000003e T GCS_MAVLINK::send_text(unsigned char, prog_char_t const*) 0000003e W AP_VarT::AP_VarT(signed char, unsigned int, prog_char_t const*, unsigned char) +00000040 t read_AHRS() 00000040 W AP_Float16::unserialize(void*, unsigned int) 00000040 t byte_swap_8 -00000040 t crc_accumulate 00000042 t report_sonar() 00000044 t setup_show(unsigned char, Menu::arg const*) 00000044 W AP_VarT::AP_VarT(int, unsigned int, prog_char_t const*, unsigned char) +00000048 t update_motor_leds() +00000049 r setup_flightmodes(unsigned char, Menu::arg const*)::__c +0000004a t send_meminfo(mavlink_channel_t) +0000004a t change_command(unsigned char) 0000004a W AP_VarT::AP_VarT(AP_Var_group*, unsigned int, int, prog_char_t const*, unsigned char) 0000004c t update_auto_yaw() -0000004c B imu 0000004e T mavlink_send_text(mavlink_channel_t, unsigned char, char const*) 00000050 r log_menu_commands 00000050 r main_menu_commands -00000050 t read_AHRS() 00000050 T GCS_MAVLINK::_find_parameter(unsigned int) -00000052 t change_command(unsigned char) +00000050 B imu 00000052 t report_version() 00000054 t print_enabled(unsigned char) -00000054 t update_motor_leds() -00000054 t report_flight_modes() 00000055 r main_menu_help(unsigned char, Menu::arg const*)::__c -00000055 r setup_flightmodes(unsigned char, Menu::arg const*)::__c 00000056 t readSwitch() 00000056 t dancing_light() 00000057 r help_log(unsigned char, Menu::arg const*)::__c -00000058 t Log_Write_Attitude() 0000005a t read_control_switch() 0000005c t get_num_logs() 0000005c t setup_esc(unsigned char, Menu::arg const*) 0000005e t update_GPS_light() -0000005e t radio_input_switch() 0000005e T GCS_MAVLINK::_count_parameters() -00000060 t _mavlink_send_uart -00000060 B barometer -00000062 t print_switch(unsigned char, unsigned char) 00000064 t test_xbee(unsigned char, Menu::arg const*) +00000064 B barometer 00000064 t mavlink_msg_param_value_send 00000068 t zero_eeprom() 00000068 t find_last_log_page(int) @@ -508,13 +500,15 @@ 0000006e T output_min() 00000078 t setup_batt_monitor(unsigned char, Menu::arg const*) 0000007a t setup_factory(unsigned char, Menu::arg const*) +0000007a t report_flight_modes() +0000007c t send_gps_status(mavlink_channel_t) 0000007c t test_baro(unsigned char, Menu::arg const*) 0000007e t test_rawgps(unsigned char, Menu::arg const*) 00000080 T __vector_25 00000080 T __vector_36 00000080 T __vector_54 +00000082 t Log_Write_Attitude() 00000082 t do_RTL() -00000086 t Log_Read_Attitude() 00000088 t Log_Read_Raw() 0000008c t setup_frame(unsigned char, Menu::arg const*) 0000008c t print_gyro_offsets() @@ -536,83 +530,95 @@ 000000a4 T __vector_37 000000a4 T __vector_55 000000aa t test_sonar(unsigned char, Menu::arg const*) +000000aa t Log_Read_Nav_Tuning() 000000ae t report_frame() 000000b2 t erase_logs(unsigned char, Menu::arg const*) 000000b4 t test_relay(unsigned char, Menu::arg const*) 000000b4 t planner_gcs(unsigned char, Menu::arg const*) 000000b6 t get_log_boundaries(unsigned char, int&, int&) 000000b7 B compass -000000be t Log_Read_Nav_Tuning() 000000c2 t setup_compass(unsigned char, Menu::arg const*) +000000c2 t send_radio_out(mavlink_channel_t) +000000c2 t Log_Read_Attitude() 000000c4 t get_distance(Location*, Location*) 000000c4 t update_events() 000000c4 r setup_esc(unsigned char, Menu::arg const*)::__c 000000c6 t test_eedump(unsigned char, Menu::arg const*) -000000c6 t Log_Read(int, int) +000000c6 t send_radio_in(mavlink_channel_t) 000000c6 t test_tri(unsigned char, Menu::arg const*) 000000c7 B dcm 000000ca t init_barometer() -000000cc t read_radio() +000000d0 t read_radio() 000000d0 t get_bearing(Location*, Location*) +000000d2 t print_switch(unsigned char, unsigned char, bool) +000000d4 t Log_Read(int, int) 000000d8 t test_radio(unsigned char, Menu::arg const*) -000000d8 t setup_motors(unsigned char, Menu::arg const*) 000000d8 t read_barometer() -000000de t Log_Read_Performance() -000000de t Log_Read_Control_Tuning() +000000da t Log_Read_Performance() +000000de t setup_motors(unsigned char, Menu::arg const*) 000000de t test_adc(unsigned char, Menu::arg const*) 000000e0 r setup_menu_commands -000000e0 b mavlink_parse_char::m_mavlink_message 000000e4 t test_radio_pwm(unsigned char, Menu::arg const*) 000000e4 t Log_Read_Optflow() 000000e4 W APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&) -000000e6 t setup_flightmodes(unsigned char, Menu::arg const*) 000000e8 t Log_Read_Current() +000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() -000000f4 t _mav_finalize_message_chan_send 000000f6 t Log_Read_Cmd() -000000fa t calc_nav_pitch_roll() +0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t test_gps(unsigned char, Menu::arg const*) +0000010c t test_current(unsigned char, Menu::arg const*) 0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*) -00000112 t test_current(unsigned char, Menu::arg const*) +0000010e t send_servo_out(mavlink_channel_t) +00000112 t send_extended_status1(mavlink_channel_t, unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000118 t set_command_with_index(Location, int) 00000118 T GCS_MAVLINK::_queued_send() +0000011c t get_command_with_index(int) 00000120 r test_menu_commands -00000128 t get_command_with_index(int) 00000130 t report_compass() +00000132 t set_next_WP(Location*) 00000134 T GCS_MAVLINK::send_message(unsigned char, unsigned long) -0000014e T GCS_MAVLINK::update() -00000150 t update_trig() -00000152 t set_next_WP(Location*) -00000156 t Log_Read_GPS() +00000138 t get_stabilize_roll(long) +00000138 t get_stabilize_pitch(long) +00000148 t Log_Read_GPS() +00000152 T GCS_MAVLINK::update() +00000158 t update_commands() +0000015c t update_trig() +00000160 t send_location(mavlink_channel_t) +00000160 t send_nav_controller_output(mavlink_channel_t) 00000166 t select_logs(unsigned char, Menu::arg const*) -0000016c t update_commands() +00000166 t send_vfr_hud(mavlink_channel_t) +0000016e t send_attitude(mavlink_channel_t) +00000170 t test_imu(unsigned char, Menu::arg const*) 00000170 t test_mag(unsigned char, Menu::arg const*) -00000172 t update_nav_wp() -000001a0 t init_home() 000001a8 t print_radio_values() -000001b8 t test_imu(unsigned char, Menu::arg const*) +000001be t arm_motors() 000001be T GCS_MAVLINK::data_stream_send(unsigned int, unsigned int) -000001ca t arm_motors() 000001ca t mavlink_delay(unsigned long) 000001ce t start_new_log() -00000202 t set_mode(unsigned char) +000001d6 t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) +000001e4 t setup_flightmodes(unsigned char, Menu::arg const*) +000001ea t init_home() +00000206 t set_mode(unsigned char) +0000021a t send_raw_imu1(mavlink_channel_t) 00000220 t test_wp(unsigned char, Menu::arg const*) 00000228 t setup_radio(unsigned char, Menu::arg const*) +0000022a t send_gps_raw(mavlink_channel_t) +00000268 t send_raw_imu3(mavlink_channel_t) +000002bc T update_roll_pitch_mode() 000002ea t tuning() -00000330 t calc_nav_rate(int, int, int, int) -00000358 T update_throttle_mode() +00000354 t calc_nav_rate(int, int, int, int) 00000384 t print_log_menu() -000003be t read_battery() -000003dc T update_yaw_mode() -000004b2 t mavlink_parse_char -000005ea T update_roll_pitch_mode() -0000062e t init_ardupilot() -000007a8 t __static_initialization_and_destruction_0(int, int) -000007dc b g -0000083c W Parameters::Parameters() -000008e4 t process_next_command() +000003a0 t read_battery() +000003d2 T update_throttle_mode() +00000410 T update_yaw_mode() +0000049a t update_nav_wp() +000005ee t init_ardupilot() +000007b0 t __static_initialization_and_destruction_0(int, int) +000007ea b g +0000085e t process_next_command() +000008a0 W Parameters::Parameters() 000011d8 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000017ac t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) -00001dd0 T loop +000019aa T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.build.log index ff07e834d3..5e185a5e08 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.build.log @@ -1,56 +1,68 @@ %% ArduCopter.cpp %% ArduCopter.o -In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:53: +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:55: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition -autogenerated:34: warning: 'int alt_hold_velocity()' declared 'static' but never defined -autogenerated:86: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined -autogenerated:87: warning: 'void send_message(byte)' declared 'static' but never defined -autogenerated:88: warning: 'void send_message(byte, long int)' declared 'static' but never defined -autogenerated:82: warning: 'void send_message(byte, const char*)' declared 'static' but never defined -autogenerated:91: warning: 'void print_current_waypoints()' declared 'static' but never defined -autogenerated:94: warning: 'void print_attitude()' declared 'static' but never defined -autogenerated:90: warning: 'void print_control_mode()' declared 'static' but never defined -autogenerated:92: warning: 'void print_position()' declared 'static' but never defined -autogenerated:96: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined -autogenerated:97: warning: 'void print_waypoints()' declared 'static' but never defined -autogenerated:70: warning: 'long int convert_to_dec(float)' declared 'static' but never defined -autogenerated:139: warning: 'void Log_Write_Optflow()' declared 'static' but never defined -autogenerated:150: warning: 'void decrement_WP_index()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/commands.pde:149: warning: 'Location get_LOITER_home_wp()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:427: warning: 'bool verify_loiter_unlim()' defined but not used +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: +/root/apm/ardupilot-mega/ArduCopter/Parameters.h: In constructor 'Parameters::Parameters()': +/root/apm/ardupilot-mega/ArduCopter/Parameters.h:386: warning: overflow in implicit constant conversion +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:300: warning: statement has no effect +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_nav_wp()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:405: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_loiter_time()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: warning: comparison between signed and unsigned integer expressions +autogenerated: At global scope: +autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined +autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined +autogenerated:84: warning: 'void send_message(byte)' declared 'static' but never defined +autogenerated:85: warning: 'void send_message(byte, long int)' declared 'static' but never defined +autogenerated:79: warning: 'void send_message(byte, const char*)' declared 'static' but never defined +autogenerated:88: warning: 'void print_current_waypoints()' declared 'static' but never defined +autogenerated:91: warning: 'void print_attitude()' declared 'static' but never defined +autogenerated:87: warning: 'void print_control_mode()' declared 'static' but never defined +autogenerated:89: warning: 'void print_position()' declared 'static' but never defined +autogenerated:93: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined +autogenerated:94: warning: 'void print_waypoints()' declared 'static' but never defined +autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' but never defined +autogenerated:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined +autogenerated:146: warning: 'void decrement_WP_index()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/commands.pde:132: warning: 'Location get_LOITER_home_wp()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:298: warning: 'void do_loiter_turns()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:424: warning: 'bool verify_loiter_unlim()' defined but not used /root/apm/ardupilot-mega/ArduCopter/events.pde:46: warning: 'void low_battery_event()' defined but not used autogenerated:210: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:211: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:235: warning: 'void debug_motors()' declared 'static' but never defined -autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:159: warning: 'int get_loiter_angle()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'void reset_crosstrack()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:222: warning: 'long int get_altitude_above_home()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:243: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used +autogenerated:249: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:152: warning: 'int get_loiter_angle()' defined but not used +autogenerated:253: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:254: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:255: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:131: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:188: warning: 'void trim_yaw()' defined but not used -autogenerated:268: warning: 'void readCommands()' declared 'static' but never defined -autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:267: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:268: warning: 'void parseCommand(char*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:6: warning: 'void ReadSCP1000()' defined but not used -autogenerated:272: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:271: warning: 'long int read_baro_filtered()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:95: warning: 'void read_airspeed()' defined but not used /root/apm/ardupilot-mega/ArduCopter/sensors.pde:100: warning: 'void zero_airspeed()' defined but not used -autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined -autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined -autogenerated:295: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:296: warning: 'int read_num_from_serial()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/system.pde:465: warning: 'void set_failsafe(boolean)' defined but not used -autogenerated:311: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/test.pde:991: warning: 'void print_motor_out()' defined but not used +autogenerated:285: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:286: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:293: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:294: warning: 'int read_num_from_serial()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/system.pde:448: warning: 'void set_failsafe(boolean)' defined but not used +autogenerated:309: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:317: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:992: warning: 'void print_motor_out()' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:443: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:449: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:463: warning: 'simple_WP' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'optflow_offset' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/control_modes.pde:48: warning: 'trim_flag' defined but not used %% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_PI/APM_PI.o %% libraries/APM_RC/APM_RC.o @@ -84,33 +96,7 @@ autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never de In file included from /root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28: /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:20:1: warning: this is the location of the previous definition -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_led_always_on(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:221: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'bool AP_OpticalFlow_ADNS3080::get_frame_rate_auto()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:257: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_shutter_speed_auto(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:361: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'int AP_OpticalFlow_ADNS3080::print_pixel_data(Stream*)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:441: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'virtual bool AP_OpticalFlow_ADNS3080::init(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:80: warning: control reaches end of non-void function %% libraries/AP_OpticalFlow/AP_OpticalFlow.o -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual void AP_OpticalFlow::get_position(float, float, float, float)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:88: warning: unused variable 'i' -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: control reaches end of non-void function %% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o %% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o %% libraries/AP_RangeFinder/RangeFinder.o @@ -123,6 +109,7 @@ In file included from /root/apm/ardupilot-mega/libraries/DataFlash/DataFlash.cpp %% libraries/FastSerial/vprintf.o %% libraries/GCS_MAVLink/GCS_MAVLink.o %% libraries/ModeFilter/ModeFilter.o +%% libraries/RC_Channel/RC_Channel_aux.o %% libraries/RC_Channel/RC_Channel.o %% libraries/memcheck/memcheck.o %% libraries/FastSerial/ftoa_engine.o diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.size.txt index 0a4a5f04fa..aab2565309 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.size.txt @@ -4,19 +4,18 @@ 00000001 b motor_armed 00000001 b motor_light 00000001 b control_mode -00000001 b simple_timer +00000001 b gps_watchdog 00000001 d yaw_tracking 00000001 b land_complete 00000001 b throttle_mode 00000001 b command_may_ID 00000001 b wp_verify_byte -00000001 b xtrack_enabled 00000001 d altitude_sensor 00000001 b command_must_ID 00000001 b command_yaw_dir +00000001 b new_radio_frame 00000001 b roll_pitch_mode 00000001 b counter_one_herz -00000001 b delta_ms_fiftyhz 00000001 b did_ground_start 00000001 b in_mavlink_delay 00000001 b invalid_throttle @@ -27,34 +26,30 @@ 00000001 b command_may_index 00000001 b oldSwitchPosition 00000001 b command_must_index -00000001 b delta_ms_fast_loop 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative -00000001 b delta_ms_medium_loop 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode 00000001 b GPS_light -00000001 b alt_timer 00000001 b loop_step -00000001 b trim_flag 00000001 b dancing_light()::step -00000001 b update_motor_leds()::blink -00000001 b radio_input_switch()::bouncer 00000001 b read_control_switch()::switch_debouncer 00000001 d GCS_MAVLINK::handleMessage(__mavlink_message*)::mav_nav 00000001 B mavdelay 00000002 T mavlink_acknowledge(mavlink_channel_t, unsigned char, unsigned char, unsigned char) 00000002 b climb_rate +00000002 b loiter_sum 00000002 b event_delay 00000002 b event_value 00000002 b event_repeat +00000002 b loiter_total 00000002 b nav_throttle 00000002 b altitude_rate 00000002 b gps_fix_count 00000002 b velocity_land -00000002 b mainLoop_count +00000002 b loiter_time_max 00000002 b command_yaw_time 00000002 b event_undo_value 00000002 b command_yaw_speed @@ -92,16 +87,13 @@ 00000004 d cos_pitch_x 00000004 b event_timer 00000004 b loiter_time -00000004 b nav_bearing 00000004 d scaleLongUp 00000004 b sin_pitch_y 00000004 b wp_distance 00000004 b abs_pressure -00000004 b circle_angle 00000004 b current_amps 00000004 b old_altitude 00000004 b original_alt -00000004 b bearing_error 00000004 b current_total 00000004 b nav_loopTimer 00000004 d scaleLongDown @@ -110,29 +102,27 @@ 00000004 b fast_loopTimer 00000004 b perf_mon_timer 00000004 b target_bearing +00000004 b throttle_timer 00000004 d battery_voltage 00000004 b command_yaw_end 00000004 b condition_start 00000004 b condition_value 00000004 b ground_pressure -00000004 b loiter_time_max 00000004 b target_altitude 00000004 d battery_voltage1 00000004 d battery_voltage2 00000004 d battery_voltage3 00000004 d battery_voltage4 -00000004 b medium_loopTimer 00000004 b wp_totalDistance 00000004 b command_yaw_delta 00000004 b command_yaw_start 00000004 b fiftyhz_loopTimer -00000004 b crosstrack_bearing -00000004 b fast_loopTimeStamp +00000004 b old_target_bearing 00000004 b throttle_integrator -00000004 b saved_target_bearing 00000004 r __menu_name__log_menu 00000004 b command_yaw_start_time 00000004 b initial_simple_bearing +00000004 b original_target_bearing 00000004 d G_Dt 00000004 b dTnav 00000004 b nav_lat @@ -152,6 +142,7 @@ 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000004 r print_switch(unsigned char, unsigned char, bool)::__c 00000004 b mavlink_delay(unsigned long)::last_1hz 00000004 b mavlink_delay(unsigned long)::last_3hz 00000004 b mavlink_delay(unsigned long)::last_10hz @@ -172,6 +163,7 @@ 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r Log_Read_Raw()::__c +00000005 r print_switch(unsigned char, unsigned char, bool)::__c 00000005 r Log_Read_Mode()::__c 00000005 r report_tuning()::__c 00000005 r print_log_menu()::__c @@ -215,6 +207,7 @@ 00000007 r test_wp(unsigned char, Menu::arg const*)::__c 00000007 V Parameters::Parameters()::__c 00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c @@ -235,7 +228,7 @@ 00000008 V Parameters::Parameters()::__c 00000008 V Parameters::Parameters()::__c 00000008 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c -00000009 r print_switch(unsigned char, unsigned char)::__c +00000009 r print_switch(unsigned char, unsigned char, bool)::__c 00000009 r print_log_menu()::__c 00000009 r print_log_menu()::__c 00000009 r report_compass()::__c @@ -255,10 +248,13 @@ 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +0000000a T piezo_on() +0000000a T piezo_off() 0000000a r test_relay(unsigned char, Menu::arg const*)::__c 0000000a r start_new_log()::__c 0000000a r print_log_menu()::__c @@ -270,7 +266,6 @@ 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c -0000000a V Parameters::Parameters()::__c 0000000a T setup 0000000b r test_relay(unsigned char, Menu::arg const*)::__c 0000000b r report_frame()::__c @@ -281,6 +276,7 @@ 0000000c t test_mode(unsigned char, Menu::arg const*) 0000000c T GCS_MAVLINK::send_text(unsigned char, char const*) 0000000c V vtable for IMU +0000000c r print_switch(unsigned char, unsigned char, bool)::__c 0000000c r test_baro(unsigned char, Menu::arg const*)::__c 0000000c V Parameters::Parameters()::__c 0000000c V Parameters::Parameters()::__c @@ -345,20 +341,18 @@ 0000000f r report_batt_monitor()::__c 0000000f r test_imu(unsigned char, Menu::arg const*)::__c 0000000f V AP_IMU_Oilpan::AP_IMU_Oilpan(AP_ADC*, unsigned int)::__c +00000010 r flight_mode_strings 00000010 r planner_menu_commands 00000010 b motor_out 00000010 W AP_VarT::cast_to_float() const 00000010 r test_sonar(unsigned char, Menu::arg const*)::__c 00000010 r report_compass()::__c -00000010 t mavlink_get_channel_status 00000011 r erase_logs(unsigned char, Menu::arg const*)::__c 00000011 r zero_eeprom()::__c 00000011 r update_commands()::__c -00000011 r Log_Read_Attitude()::__c 00000012 B Serial 00000012 B Serial1 00000012 B Serial3 -00000012 r flight_mode_strings 00000012 W AP_Float16::~AP_Float16() 00000012 W AP_VarA::~AP_VarA() 00000012 W AP_VarS >::~AP_VarS() @@ -384,16 +378,16 @@ 00000015 r Log_Read_Motors()::__c 00000015 r print_hit_enter()::__c 00000015 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c -00000016 r init_ardupilot()::__c +00000016 T piezo_beep() 00000016 r GCS_MAVLINK::update()::__c 00000016 B sonar -00000017 r __menu_name__main_menu 00000018 t setup_tune(unsigned char, Menu::arg const*) 00000018 t setup_accel(unsigned char, Menu::arg const*) +00000018 r __menu_name__main_menu 00000018 W AP_VarT::serialize(void*, unsigned int) const -00000018 b mavlink_get_channel_status::m_mavlink_status 00000019 r GCS_MAVLINK::update()::__c 0000001a r print_log_menu()::__c +0000001a r Log_Read_Nav_Tuning()::__c 0000001c W AP_VarA::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) @@ -401,8 +395,8 @@ 0000001c W AP_VarA::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001d r Log_Read_Attitude()::__c 0000001e r Log_Read_Optflow()::__c -0000001e r Log_Read_Nav_Tuning()::__c 0000001f r test_mag(unsigned char, Menu::arg const*)::__c 00000020 r test_current(unsigned char, Menu::arg const*)::__c 00000020 t byte_swap_4 @@ -425,10 +419,12 @@ 00000024 r init_ardupilot()::__c 00000024 r print_accel_offsets()::__c 00000025 r setup_factory(unsigned char, Menu::arg const*)::__c +00000025 r Log_Read_Performance()::__c 00000026 t print_done() 00000026 b mavlink_queue 00000026 t print_hit_enter() 00000026 t Log_Read_Startup() +00000026 r Log_Read_Control_Tuning()::__c 00000027 r test_xbee(unsigned char, Menu::arg const*)::__c 00000028 t test_battery(unsigned char, Menu::arg const*) 00000028 t main_menu_help(unsigned char, Menu::arg const*) @@ -439,23 +435,24 @@ 00000029 r setup_mode(unsigned char, Menu::arg const*)::__c 00000029 r test_gps(unsigned char, Menu::arg const*)::__c 0000002a t setup_declination(unsigned char, Menu::arg const*) -0000002a r Log_Read_Control_Tuning()::__c 0000002b r planner_mode(unsigned char, Menu::arg const*)::__c 0000002e t print_divider() 0000002e t send_rate(unsigned int, unsigned int) 0000002e W AP_Var_group::AP_Var_group(unsigned int, prog_char_t const*, unsigned char) -0000002e r Log_Read_Performance()::__c 0000002f r test_radio(unsigned char, Menu::arg const*)::__c +0000002f r init_ardupilot()::__c 00000030 t planner_mode(unsigned char, Menu::arg const*) +00000030 t send_heartbeat(mavlink_channel_t) 00000032 T GCS_MAVLINK::init(BetterStream*) 00000032 W APM_PI::~APM_PI() +00000032 r Log_Read_GPS()::__c 00000034 W AP_Float16::serialize(void*, unsigned int) const 00000034 t _mav_put_int8_t_array 00000035 r test_radio_pwm(unsigned char, Menu::arg const*)::__c 00000036 t report_radio() -00000036 r Log_Read_GPS()::__c 00000037 r print_wp(Location*, unsigned char)::__c 00000038 t init_throttle_cruise() +00000038 t send_current_waypoint(mavlink_channel_t) 00000038 r setup_radio(unsigned char, Menu::arg const*)::__c 00000038 r setup_factory(unsigned char, Menu::arg const*)::__c 0000003a t report_gps() @@ -465,41 +462,36 @@ 0000003e t verify_RTL() 0000003e T GCS_MAVLINK::send_text(unsigned char, prog_char_t const*) 0000003e W AP_VarT::AP_VarT(signed char, unsigned int, prog_char_t const*, unsigned char) +00000040 t read_AHRS() 00000040 W AP_Float16::unserialize(void*, unsigned int) 00000040 t byte_swap_8 -00000040 t crc_accumulate 00000042 t report_sonar() 00000044 t setup_show(unsigned char, Menu::arg const*) 00000044 W AP_VarT::AP_VarT(int, unsigned int, prog_char_t const*, unsigned char) +00000048 t update_motor_leds() +00000049 r setup_flightmodes(unsigned char, Menu::arg const*)::__c +0000004a t send_meminfo(mavlink_channel_t) +0000004a t change_command(unsigned char) 0000004a W AP_VarT::AP_VarT(AP_Var_group*, unsigned int, int, prog_char_t const*, unsigned char) 0000004c t update_auto_yaw() -0000004c B imu 0000004e T mavlink_send_text(mavlink_channel_t, unsigned char, char const*) 00000050 t report_version() 00000050 r log_menu_commands 00000050 r main_menu_commands -00000050 t read_AHRS() 00000050 T GCS_MAVLINK::_find_parameter(unsigned int) -00000052 t change_command(unsigned char) +00000050 B imu 00000054 t print_enabled(unsigned char) -00000054 t update_motor_leds() -00000054 t report_flight_modes() 00000055 r main_menu_help(unsigned char, Menu::arg const*)::__c -00000055 r setup_flightmodes(unsigned char, Menu::arg const*)::__c 00000056 t readSwitch() 00000056 t dancing_light() 00000057 r help_log(unsigned char, Menu::arg const*)::__c -00000058 t Log_Write_Attitude() 0000005a t read_control_switch() 0000005c t get_num_logs() 0000005c t setup_esc(unsigned char, Menu::arg const*) 0000005e t update_GPS_light() -0000005e t radio_input_switch() 0000005e T GCS_MAVLINK::_count_parameters() -00000060 t print_switch(unsigned char, unsigned char) -00000060 t _mavlink_send_uart -00000060 B barometer 00000064 t test_xbee(unsigned char, Menu::arg const*) +00000064 B barometer 00000064 t mavlink_msg_param_value_send 00000068 t zero_eeprom() 00000068 t find_last_log_page(int) @@ -508,13 +500,15 @@ 0000006e T output_min() 00000078 t setup_batt_monitor(unsigned char, Menu::arg const*) 0000007a t setup_factory(unsigned char, Menu::arg const*) +0000007a t report_flight_modes() 0000007a t test_baro(unsigned char, Menu::arg const*) +0000007c t send_gps_status(mavlink_channel_t) 0000007e t test_rawgps(unsigned char, Menu::arg const*) 00000080 T __vector_25 00000080 T __vector_36 00000080 T __vector_54 +00000082 t Log_Write_Attitude() 00000082 t do_RTL() -00000086 t Log_Read_Attitude() 00000088 t Log_Read_Raw() 0000008c t setup_frame(unsigned char, Menu::arg const*) 0000008c t print_gyro_offsets() @@ -536,83 +530,95 @@ 000000a4 T __vector_37 000000a4 T __vector_55 000000a8 t test_sonar(unsigned char, Menu::arg const*) +000000aa t Log_Read_Nav_Tuning() 000000ae t report_frame() 000000b2 t erase_logs(unsigned char, Menu::arg const*) 000000b4 t test_relay(unsigned char, Menu::arg const*) 000000b4 t planner_gcs(unsigned char, Menu::arg const*) 000000b6 t get_log_boundaries(unsigned char, int&, int&) 000000b7 B compass -000000be t Log_Read_Nav_Tuning() 000000c2 t test_eedump(unsigned char, Menu::arg const*) 000000c2 t setup_compass(unsigned char, Menu::arg const*) +000000c2 t send_radio_out(mavlink_channel_t) +000000c2 t Log_Read_Attitude() 000000c4 t get_distance(Location*, Location*) 000000c4 t update_events() 000000c4 r setup_esc(unsigned char, Menu::arg const*)::__c -000000c6 t Log_Read(int, int) +000000c6 t send_radio_in(mavlink_channel_t) 000000c6 t test_tri(unsigned char, Menu::arg const*) 000000c7 B dcm 000000ca t init_barometer() -000000cc t read_radio() +000000d0 t read_radio() 000000d0 t get_bearing(Location*, Location*) +000000d0 t print_switch(unsigned char, unsigned char, bool) +000000d4 t Log_Read(int, int) 000000d8 t test_radio(unsigned char, Menu::arg const*) -000000d8 t setup_motors(unsigned char, Menu::arg const*) 000000d8 t read_barometer() +000000da t Log_Read_Performance() 000000dc t test_adc(unsigned char, Menu::arg const*) -000000de t Log_Read_Performance() -000000de t Log_Read_Control_Tuning() +000000de t setup_motors(unsigned char, Menu::arg const*) 000000e0 r setup_menu_commands -000000e0 b mavlink_parse_char::m_mavlink_message 000000e4 t test_radio_pwm(unsigned char, Menu::arg const*) 000000e4 t Log_Read_Optflow() 000000e4 W APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&) -000000e6 t setup_flightmodes(unsigned char, Menu::arg const*) 000000e8 t Log_Read_Current() +000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() -000000f4 t _mav_finalize_message_chan_send 000000f6 t Log_Read_Cmd() -000000fa t calc_nav_pitch_roll() +0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t test_gps(unsigned char, Menu::arg const*) +0000010c t test_current(unsigned char, Menu::arg const*) 0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*) -00000112 t test_current(unsigned char, Menu::arg const*) +0000010e t send_servo_out(mavlink_channel_t) +00000112 t send_extended_status1(mavlink_channel_t, unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000118 t set_command_with_index(Location, int) 00000118 T GCS_MAVLINK::_queued_send() +0000011c t get_command_with_index(int) 00000120 r test_menu_commands -00000128 t get_command_with_index(int) 00000130 t report_compass() +00000132 t set_next_WP(Location*) 00000134 T GCS_MAVLINK::send_message(unsigned char, unsigned long) -0000014e T GCS_MAVLINK::update() -00000150 t update_trig() -00000152 t set_next_WP(Location*) -00000156 t Log_Read_GPS() +00000138 t get_stabilize_roll(long) +00000138 t get_stabilize_pitch(long) +00000148 t Log_Read_GPS() +00000152 T GCS_MAVLINK::update() +00000158 t update_commands() +0000015c t update_trig() +00000160 t send_location(mavlink_channel_t) +00000160 t send_nav_controller_output(mavlink_channel_t) 00000166 t select_logs(unsigned char, Menu::arg const*) -0000016c t update_commands() +00000166 t send_vfr_hud(mavlink_channel_t) +0000016e t send_attitude(mavlink_channel_t) +00000170 t test_imu(unsigned char, Menu::arg const*) 00000170 t test_mag(unsigned char, Menu::arg const*) -00000172 t update_nav_wp() -000001a0 t init_home() 000001a8 t print_radio_values() -000001b8 t test_imu(unsigned char, Menu::arg const*) +000001be t arm_motors() 000001be T GCS_MAVLINK::data_stream_send(unsigned int, unsigned int) -000001ca t arm_motors() 000001ca t mavlink_delay(unsigned long) 000001ce t start_new_log() -00000202 t set_mode(unsigned char) +000001d6 t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) +000001e4 t setup_flightmodes(unsigned char, Menu::arg const*) +000001ea t init_home() +00000206 t set_mode(unsigned char) +0000021a t send_raw_imu1(mavlink_channel_t) 0000021c t test_wp(unsigned char, Menu::arg const*) 00000228 t setup_radio(unsigned char, Menu::arg const*) +0000022a t send_gps_raw(mavlink_channel_t) +00000268 t send_raw_imu3(mavlink_channel_t) +000002bc T update_roll_pitch_mode() 000002ea t tuning() -00000330 t calc_nav_rate(int, int, int, int) -00000358 T update_throttle_mode() +00000354 t calc_nav_rate(int, int, int, int) 00000382 t print_log_menu() -000003be t read_battery() -000003dc T update_yaw_mode() -000004b2 t mavlink_parse_char -000005ea T update_roll_pitch_mode() -0000062e t init_ardupilot() -000007a8 t __static_initialization_and_destruction_0(int, int) -000007dc b g -0000083c W Parameters::Parameters() -000008e4 t process_next_command() +000003a0 t read_battery() +000003d2 T update_throttle_mode() +00000410 T update_yaw_mode() +0000049a t update_nav_wp() +000005ee t init_ardupilot() +000007b0 t __static_initialization_and_destruction_0(int, int) +000007ea b g +0000085e t process_next_command() +000008a0 W Parameters::Parameters() 000011d8 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000017ac t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) -00001dce T loop +000019a8 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.build.log index ff07e834d3..5e185a5e08 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.build.log @@ -1,56 +1,68 @@ %% ArduCopter.cpp %% ArduCopter.o -In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:53: +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:55: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition -autogenerated:34: warning: 'int alt_hold_velocity()' declared 'static' but never defined -autogenerated:86: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined -autogenerated:87: warning: 'void send_message(byte)' declared 'static' but never defined -autogenerated:88: warning: 'void send_message(byte, long int)' declared 'static' but never defined -autogenerated:82: warning: 'void send_message(byte, const char*)' declared 'static' but never defined -autogenerated:91: warning: 'void print_current_waypoints()' declared 'static' but never defined -autogenerated:94: warning: 'void print_attitude()' declared 'static' but never defined -autogenerated:90: warning: 'void print_control_mode()' declared 'static' but never defined -autogenerated:92: warning: 'void print_position()' declared 'static' but never defined -autogenerated:96: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined -autogenerated:97: warning: 'void print_waypoints()' declared 'static' but never defined -autogenerated:70: warning: 'long int convert_to_dec(float)' declared 'static' but never defined -autogenerated:139: warning: 'void Log_Write_Optflow()' declared 'static' but never defined -autogenerated:150: warning: 'void decrement_WP_index()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/commands.pde:149: warning: 'Location get_LOITER_home_wp()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:427: warning: 'bool verify_loiter_unlim()' defined but not used +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: +/root/apm/ardupilot-mega/ArduCopter/Parameters.h: In constructor 'Parameters::Parameters()': +/root/apm/ardupilot-mega/ArduCopter/Parameters.h:386: warning: overflow in implicit constant conversion +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:300: warning: statement has no effect +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_nav_wp()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:405: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_loiter_time()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: warning: comparison between signed and unsigned integer expressions +autogenerated: At global scope: +autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined +autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined +autogenerated:84: warning: 'void send_message(byte)' declared 'static' but never defined +autogenerated:85: warning: 'void send_message(byte, long int)' declared 'static' but never defined +autogenerated:79: warning: 'void send_message(byte, const char*)' declared 'static' but never defined +autogenerated:88: warning: 'void print_current_waypoints()' declared 'static' but never defined +autogenerated:91: warning: 'void print_attitude()' declared 'static' but never defined +autogenerated:87: warning: 'void print_control_mode()' declared 'static' but never defined +autogenerated:89: warning: 'void print_position()' declared 'static' but never defined +autogenerated:93: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined +autogenerated:94: warning: 'void print_waypoints()' declared 'static' but never defined +autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' but never defined +autogenerated:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined +autogenerated:146: warning: 'void decrement_WP_index()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/commands.pde:132: warning: 'Location get_LOITER_home_wp()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:298: warning: 'void do_loiter_turns()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:424: warning: 'bool verify_loiter_unlim()' defined but not used /root/apm/ardupilot-mega/ArduCopter/events.pde:46: warning: 'void low_battery_event()' defined but not used autogenerated:210: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:211: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:235: warning: 'void debug_motors()' declared 'static' but never defined -autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:159: warning: 'int get_loiter_angle()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'void reset_crosstrack()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:222: warning: 'long int get_altitude_above_home()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:243: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used +autogenerated:249: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:152: warning: 'int get_loiter_angle()' defined but not used +autogenerated:253: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:254: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:255: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:131: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:188: warning: 'void trim_yaw()' defined but not used -autogenerated:268: warning: 'void readCommands()' declared 'static' but never defined -autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:267: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:268: warning: 'void parseCommand(char*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:6: warning: 'void ReadSCP1000()' defined but not used -autogenerated:272: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:271: warning: 'long int read_baro_filtered()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:95: warning: 'void read_airspeed()' defined but not used /root/apm/ardupilot-mega/ArduCopter/sensors.pde:100: warning: 'void zero_airspeed()' defined but not used -autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined -autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined -autogenerated:295: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:296: warning: 'int read_num_from_serial()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/system.pde:465: warning: 'void set_failsafe(boolean)' defined but not used -autogenerated:311: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/test.pde:991: warning: 'void print_motor_out()' defined but not used +autogenerated:285: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:286: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:293: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:294: warning: 'int read_num_from_serial()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/system.pde:448: warning: 'void set_failsafe(boolean)' defined but not used +autogenerated:309: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:317: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:992: warning: 'void print_motor_out()' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:443: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:449: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:463: warning: 'simple_WP' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'optflow_offset' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/control_modes.pde:48: warning: 'trim_flag' defined but not used %% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_PI/APM_PI.o %% libraries/APM_RC/APM_RC.o @@ -84,33 +96,7 @@ autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never de In file included from /root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28: /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:20:1: warning: this is the location of the previous definition -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_led_always_on(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:221: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'bool AP_OpticalFlow_ADNS3080::get_frame_rate_auto()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:257: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_shutter_speed_auto(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:361: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'int AP_OpticalFlow_ADNS3080::print_pixel_data(Stream*)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:441: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'virtual bool AP_OpticalFlow_ADNS3080::init(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:80: warning: control reaches end of non-void function %% libraries/AP_OpticalFlow/AP_OpticalFlow.o -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual void AP_OpticalFlow::get_position(float, float, float, float)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:88: warning: unused variable 'i' -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: control reaches end of non-void function %% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o %% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o %% libraries/AP_RangeFinder/RangeFinder.o @@ -123,6 +109,7 @@ In file included from /root/apm/ardupilot-mega/libraries/DataFlash/DataFlash.cpp %% libraries/FastSerial/vprintf.o %% libraries/GCS_MAVLink/GCS_MAVLink.o %% libraries/ModeFilter/ModeFilter.o +%% libraries/RC_Channel/RC_Channel_aux.o %% libraries/RC_Channel/RC_Channel.o %% libraries/memcheck/memcheck.o %% libraries/FastSerial/ftoa_engine.o diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.size.txt index 1e082c332d..0b677614c1 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.size.txt @@ -4,19 +4,18 @@ 00000001 b motor_armed 00000001 b motor_light 00000001 b control_mode -00000001 b simple_timer +00000001 b gps_watchdog 00000001 d yaw_tracking 00000001 b land_complete 00000001 b throttle_mode 00000001 b command_may_ID 00000001 b wp_verify_byte -00000001 b xtrack_enabled 00000001 d altitude_sensor 00000001 b command_must_ID 00000001 b command_yaw_dir +00000001 b new_radio_frame 00000001 b roll_pitch_mode 00000001 b counter_one_herz -00000001 b delta_ms_fiftyhz 00000001 b did_ground_start 00000001 b in_mavlink_delay 00000001 b invalid_throttle @@ -27,34 +26,30 @@ 00000001 b command_may_index 00000001 b oldSwitchPosition 00000001 b command_must_index -00000001 b delta_ms_fast_loop 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative -00000001 b delta_ms_medium_loop 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode 00000001 b GPS_light -00000001 b alt_timer 00000001 b loop_step -00000001 b trim_flag 00000001 b dancing_light()::step -00000001 b update_motor_leds()::blink -00000001 b radio_input_switch()::bouncer 00000001 b read_control_switch()::switch_debouncer 00000001 d GCS_MAVLINK::handleMessage(__mavlink_message*)::mav_nav 00000001 B mavdelay 00000002 T mavlink_acknowledge(mavlink_channel_t, unsigned char, unsigned char, unsigned char) 00000002 b climb_rate +00000002 b loiter_sum 00000002 b event_delay 00000002 b event_value 00000002 b event_repeat +00000002 b loiter_total 00000002 b nav_throttle 00000002 b altitude_rate 00000002 b gps_fix_count 00000002 b velocity_land -00000002 b mainLoop_count +00000002 b loiter_time_max 00000002 b command_yaw_time 00000002 b event_undo_value 00000002 b command_yaw_speed @@ -92,16 +87,13 @@ 00000004 d cos_pitch_x 00000004 b event_timer 00000004 b loiter_time -00000004 b nav_bearing 00000004 d scaleLongUp 00000004 b sin_pitch_y 00000004 b wp_distance 00000004 b abs_pressure -00000004 b circle_angle 00000004 b current_amps 00000004 b old_altitude 00000004 b original_alt -00000004 b bearing_error 00000004 b current_total 00000004 b nav_loopTimer 00000004 d scaleLongDown @@ -110,29 +102,27 @@ 00000004 b fast_loopTimer 00000004 b perf_mon_timer 00000004 b target_bearing +00000004 b throttle_timer 00000004 d battery_voltage 00000004 b command_yaw_end 00000004 b condition_start 00000004 b condition_value 00000004 b ground_pressure -00000004 b loiter_time_max 00000004 b target_altitude 00000004 d battery_voltage1 00000004 d battery_voltage2 00000004 d battery_voltage3 00000004 d battery_voltage4 -00000004 b medium_loopTimer 00000004 b wp_totalDistance 00000004 b command_yaw_delta 00000004 b command_yaw_start 00000004 b fiftyhz_loopTimer -00000004 b crosstrack_bearing -00000004 b fast_loopTimeStamp +00000004 b old_target_bearing 00000004 b throttle_integrator -00000004 b saved_target_bearing 00000004 r __menu_name__log_menu 00000004 b command_yaw_start_time 00000004 b initial_simple_bearing +00000004 b original_target_bearing 00000004 d G_Dt 00000004 b dTnav 00000004 b nav_lat @@ -152,6 +142,7 @@ 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000004 r print_switch(unsigned char, unsigned char, bool)::__c 00000004 b mavlink_delay(unsigned long)::last_1hz 00000004 b mavlink_delay(unsigned long)::last_3hz 00000004 b mavlink_delay(unsigned long)::last_10hz @@ -172,6 +163,7 @@ 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r Log_Read_Raw()::__c +00000005 r print_switch(unsigned char, unsigned char, bool)::__c 00000005 r Log_Read_Mode()::__c 00000005 r report_tuning()::__c 00000005 r print_log_menu()::__c @@ -215,6 +207,7 @@ 00000007 r test_wp(unsigned char, Menu::arg const*)::__c 00000007 V Parameters::Parameters()::__c 00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c @@ -235,7 +228,7 @@ 00000008 V Parameters::Parameters()::__c 00000008 V Parameters::Parameters()::__c 00000008 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c -00000009 r print_switch(unsigned char, unsigned char)::__c +00000009 r print_switch(unsigned char, unsigned char, bool)::__c 00000009 r print_log_menu()::__c 00000009 r print_log_menu()::__c 00000009 r report_compass()::__c @@ -255,10 +248,13 @@ 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +0000000a T piezo_on() +0000000a T piezo_off() 0000000a r test_relay(unsigned char, Menu::arg const*)::__c 0000000a r report_frame()::__c 0000000a r start_new_log()::__c @@ -271,7 +267,6 @@ 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c -0000000a V Parameters::Parameters()::__c 0000000a T setup 0000000b r test_relay(unsigned char, Menu::arg const*)::__c 0000000b r report_batt_monitor()::__c @@ -281,6 +276,7 @@ 0000000c t test_mode(unsigned char, Menu::arg const*) 0000000c T GCS_MAVLINK::send_text(unsigned char, char const*) 0000000c V vtable for IMU +0000000c r print_switch(unsigned char, unsigned char, bool)::__c 0000000c r test_baro(unsigned char, Menu::arg const*)::__c 0000000c V Parameters::Parameters()::__c 0000000c V Parameters::Parameters()::__c @@ -345,20 +341,18 @@ 0000000f r report_batt_monitor()::__c 0000000f r test_imu(unsigned char, Menu::arg const*)::__c 0000000f V AP_IMU_Oilpan::AP_IMU_Oilpan(AP_ADC*, unsigned int)::__c +00000010 r flight_mode_strings 00000010 r planner_menu_commands 00000010 b motor_out 00000010 W AP_VarT::cast_to_float() const 00000010 r test_sonar(unsigned char, Menu::arg const*)::__c 00000010 r report_compass()::__c -00000010 t mavlink_get_channel_status 00000011 r erase_logs(unsigned char, Menu::arg const*)::__c 00000011 r zero_eeprom()::__c 00000011 r update_commands()::__c -00000011 r Log_Read_Attitude()::__c 00000012 B Serial 00000012 B Serial1 00000012 B Serial3 -00000012 r flight_mode_strings 00000012 W AP_Float16::~AP_Float16() 00000012 W AP_VarA::~AP_VarA() 00000012 W AP_VarS >::~AP_VarS() @@ -384,16 +378,16 @@ 00000015 r Log_Read_Motors()::__c 00000015 r print_hit_enter()::__c 00000015 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c -00000016 r init_ardupilot()::__c +00000016 T piezo_beep() 00000016 r GCS_MAVLINK::update()::__c 00000016 B sonar -00000017 r __menu_name__main_menu 00000018 t setup_tune(unsigned char, Menu::arg const*) 00000018 t setup_accel(unsigned char, Menu::arg const*) +00000018 r __menu_name__main_menu 00000018 W AP_VarT::serialize(void*, unsigned int) const -00000018 b mavlink_get_channel_status::m_mavlink_status 00000019 r GCS_MAVLINK::update()::__c 0000001a r print_log_menu()::__c +0000001a r Log_Read_Nav_Tuning()::__c 0000001c W AP_VarA::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) @@ -401,8 +395,8 @@ 0000001c W AP_VarA::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001d r Log_Read_Attitude()::__c 0000001e r Log_Read_Optflow()::__c -0000001e r Log_Read_Nav_Tuning()::__c 0000001f r test_mag(unsigned char, Menu::arg const*)::__c 00000020 r test_current(unsigned char, Menu::arg const*)::__c 00000020 t byte_swap_4 @@ -425,10 +419,12 @@ 00000024 r init_ardupilot()::__c 00000024 r print_accel_offsets()::__c 00000025 r setup_factory(unsigned char, Menu::arg const*)::__c +00000025 r Log_Read_Performance()::__c 00000026 t print_done() 00000026 b mavlink_queue 00000026 t print_hit_enter() 00000026 t Log_Read_Startup() +00000026 r Log_Read_Control_Tuning()::__c 00000027 r test_xbee(unsigned char, Menu::arg const*)::__c 00000028 t test_battery(unsigned char, Menu::arg const*) 00000028 t main_menu_help(unsigned char, Menu::arg const*) @@ -439,23 +435,24 @@ 00000029 r setup_mode(unsigned char, Menu::arg const*)::__c 00000029 r test_gps(unsigned char, Menu::arg const*)::__c 0000002a t setup_declination(unsigned char, Menu::arg const*) -0000002a r Log_Read_Control_Tuning()::__c 0000002b r planner_mode(unsigned char, Menu::arg const*)::__c 0000002e t print_divider() 0000002e t send_rate(unsigned int, unsigned int) 0000002e W AP_Var_group::AP_Var_group(unsigned int, prog_char_t const*, unsigned char) -0000002e r Log_Read_Performance()::__c 0000002f r test_radio(unsigned char, Menu::arg const*)::__c +0000002f r init_ardupilot()::__c 00000030 t planner_mode(unsigned char, Menu::arg const*) +00000030 t send_heartbeat(mavlink_channel_t) 00000032 T GCS_MAVLINK::init(BetterStream*) 00000032 W APM_PI::~APM_PI() +00000032 r Log_Read_GPS()::__c 00000034 W AP_Float16::serialize(void*, unsigned int) const 00000034 t _mav_put_int8_t_array 00000035 r test_radio_pwm(unsigned char, Menu::arg const*)::__c 00000036 t report_radio() -00000036 r Log_Read_GPS()::__c 00000037 r print_wp(Location*, unsigned char)::__c 00000038 t init_throttle_cruise() +00000038 t send_current_waypoint(mavlink_channel_t) 00000038 r setup_radio(unsigned char, Menu::arg const*)::__c 00000038 r setup_factory(unsigned char, Menu::arg const*)::__c 0000003a t report_gps() @@ -465,41 +462,36 @@ 0000003e t verify_RTL() 0000003e T GCS_MAVLINK::send_text(unsigned char, prog_char_t const*) 0000003e W AP_VarT::AP_VarT(signed char, unsigned int, prog_char_t const*, unsigned char) +00000040 t read_AHRS() 00000040 W AP_Float16::unserialize(void*, unsigned int) 00000040 t byte_swap_8 -00000040 t crc_accumulate 00000042 t report_sonar() 00000044 t setup_show(unsigned char, Menu::arg const*) 00000044 W AP_VarT::AP_VarT(int, unsigned int, prog_char_t const*, unsigned char) +00000048 t update_motor_leds() +00000049 r setup_flightmodes(unsigned char, Menu::arg const*)::__c +0000004a t send_meminfo(mavlink_channel_t) +0000004a t change_command(unsigned char) 0000004a W AP_VarT::AP_VarT(AP_Var_group*, unsigned int, int, prog_char_t const*, unsigned char) 0000004c t update_auto_yaw() -0000004c B imu 0000004e T mavlink_send_text(mavlink_channel_t, unsigned char, char const*) 00000050 r log_menu_commands 00000050 r main_menu_commands -00000050 t read_AHRS() 00000050 T GCS_MAVLINK::_find_parameter(unsigned int) -00000052 t change_command(unsigned char) +00000050 B imu 00000052 t report_version() 00000054 t print_enabled(unsigned char) -00000054 t update_motor_leds() -00000054 t report_flight_modes() 00000055 r main_menu_help(unsigned char, Menu::arg const*)::__c -00000055 r setup_flightmodes(unsigned char, Menu::arg const*)::__c 00000056 t readSwitch() 00000056 t dancing_light() 00000057 r help_log(unsigned char, Menu::arg const*)::__c -00000058 t Log_Write_Attitude() 0000005a t read_control_switch() 0000005c t get_num_logs() 0000005c t setup_esc(unsigned char, Menu::arg const*) 0000005e t update_GPS_light() -0000005e t radio_input_switch() 0000005e T GCS_MAVLINK::_count_parameters() -00000060 t _mavlink_send_uart -00000060 B barometer -00000062 t print_switch(unsigned char, unsigned char) 00000064 t test_xbee(unsigned char, Menu::arg const*) +00000064 B barometer 00000064 t mavlink_msg_param_value_send 00000068 t zero_eeprom() 00000068 t find_last_log_page(int) @@ -508,13 +500,15 @@ 0000006e T output_min() 00000078 t setup_batt_monitor(unsigned char, Menu::arg const*) 0000007a t setup_factory(unsigned char, Menu::arg const*) +0000007a t report_flight_modes() +0000007c t send_gps_status(mavlink_channel_t) 0000007c t test_baro(unsigned char, Menu::arg const*) 0000007e t test_rawgps(unsigned char, Menu::arg const*) 00000080 T __vector_25 00000080 T __vector_36 00000080 T __vector_54 +00000082 t Log_Write_Attitude() 00000082 t do_RTL() -00000086 t Log_Read_Attitude() 00000088 t Log_Read_Raw() 0000008c t setup_frame(unsigned char, Menu::arg const*) 0000008c t print_gyro_offsets() @@ -536,83 +530,95 @@ 000000a4 T __vector_37 000000a4 T __vector_55 000000aa t test_sonar(unsigned char, Menu::arg const*) +000000aa t Log_Read_Nav_Tuning() 000000ae t report_frame() 000000b2 t erase_logs(unsigned char, Menu::arg const*) 000000b4 t test_relay(unsigned char, Menu::arg const*) 000000b4 t planner_gcs(unsigned char, Menu::arg const*) 000000b6 t get_log_boundaries(unsigned char, int&, int&) 000000b7 B compass -000000be t Log_Read_Nav_Tuning() 000000c2 t setup_compass(unsigned char, Menu::arg const*) +000000c2 t send_radio_out(mavlink_channel_t) +000000c2 t Log_Read_Attitude() 000000c4 t get_distance(Location*, Location*) 000000c4 t update_events() 000000c4 r setup_esc(unsigned char, Menu::arg const*)::__c 000000c6 t test_eedump(unsigned char, Menu::arg const*) -000000c6 t Log_Read(int, int) +000000c6 t send_radio_in(mavlink_channel_t) 000000c6 t test_tri(unsigned char, Menu::arg const*) 000000c7 B dcm 000000ca t init_barometer() -000000cc t read_radio() +000000d0 t read_radio() 000000d0 t get_bearing(Location*, Location*) +000000d2 t print_switch(unsigned char, unsigned char, bool) +000000d4 t Log_Read(int, int) 000000d8 t test_radio(unsigned char, Menu::arg const*) 000000d8 t read_barometer() -000000de t Log_Read_Performance() -000000de t Log_Read_Control_Tuning() +000000da t Log_Read_Performance() 000000de t test_adc(unsigned char, Menu::arg const*) 000000e0 r setup_menu_commands -000000e0 b mavlink_parse_char::m_mavlink_message 000000e4 t test_radio_pwm(unsigned char, Menu::arg const*) 000000e4 t Log_Read_Optflow() 000000e4 W APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&) -000000e6 t setup_flightmodes(unsigned char, Menu::arg const*) 000000e8 t Log_Read_Current() +000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() -000000f4 t _mav_finalize_message_chan_send 000000f6 t Log_Read_Cmd() -000000fa t calc_nav_pitch_roll() +0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t test_gps(unsigned char, Menu::arg const*) +0000010c t test_current(unsigned char, Menu::arg const*) 0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*) -00000112 t test_current(unsigned char, Menu::arg const*) +0000010e t send_servo_out(mavlink_channel_t) +00000112 t send_extended_status1(mavlink_channel_t, unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000118 t set_command_with_index(Location, int) 00000118 T GCS_MAVLINK::_queued_send() +0000011c t get_command_with_index(int) 00000120 r test_menu_commands -00000128 t get_command_with_index(int) 00000130 t report_compass() +00000132 t set_next_WP(Location*) 00000134 T GCS_MAVLINK::send_message(unsigned char, unsigned long) -0000014e T GCS_MAVLINK::update() -00000150 t update_trig() -00000152 t set_next_WP(Location*) -00000152 t setup_motors(unsigned char, Menu::arg const*) -00000156 t Log_Read_GPS() +00000138 t get_stabilize_roll(long) +00000138 t get_stabilize_pitch(long) +00000148 t Log_Read_GPS() +00000152 T GCS_MAVLINK::update() +00000158 t update_commands() +0000015c t update_trig() +0000015c t setup_motors(unsigned char, Menu::arg const*) +00000160 t send_location(mavlink_channel_t) +00000160 t send_nav_controller_output(mavlink_channel_t) 00000166 t select_logs(unsigned char, Menu::arg const*) -0000016c t update_commands() +00000166 t send_vfr_hud(mavlink_channel_t) +0000016e t send_attitude(mavlink_channel_t) +00000170 t test_imu(unsigned char, Menu::arg const*) 00000170 t test_mag(unsigned char, Menu::arg const*) -00000172 t update_nav_wp() -000001a0 t init_home() 000001a8 t print_radio_values() -000001b8 t test_imu(unsigned char, Menu::arg const*) +000001be t arm_motors() 000001be T GCS_MAVLINK::data_stream_send(unsigned int, unsigned int) -000001ca t arm_motors() 000001ca t mavlink_delay(unsigned long) 000001ce t start_new_log() -00000202 t set_mode(unsigned char) +000001d6 t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) +000001e4 t setup_flightmodes(unsigned char, Menu::arg const*) +000001ea t init_home() +00000206 t set_mode(unsigned char) +0000021a t send_raw_imu1(mavlink_channel_t) 00000220 t test_wp(unsigned char, Menu::arg const*) 00000228 t setup_radio(unsigned char, Menu::arg const*) +0000022a t send_gps_raw(mavlink_channel_t) +00000268 t send_raw_imu3(mavlink_channel_t) +000002bc T update_roll_pitch_mode() 000002ea t tuning() -00000330 t calc_nav_rate(int, int, int, int) -00000358 T update_throttle_mode() +00000354 t calc_nav_rate(int, int, int, int) 00000384 t print_log_menu() -000003be t read_battery() -000003dc T update_yaw_mode() -000004b2 t mavlink_parse_char -000005ea T update_roll_pitch_mode() -0000062e t init_ardupilot() -000007a8 t __static_initialization_and_destruction_0(int, int) -000007dc b g -0000083c W Parameters::Parameters() -000008e4 t process_next_command() +000003a0 t read_battery() +000003d2 T update_throttle_mode() +00000410 T update_yaw_mode() +0000049a t update_nav_wp() +000005ee t init_ardupilot() +000007b0 t __static_initialization_and_destruction_0(int, int) +000007ea b g +0000085e t process_next_command() +000008a0 W Parameters::Parameters() 000011d8 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000017ac t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) -00001eb0 T loop +00001a8a T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.build.log index ff07e834d3..5e185a5e08 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.build.log @@ -1,56 +1,68 @@ %% ArduCopter.cpp %% ArduCopter.o -In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:53: +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:55: /usr/local/share/arduino/libraries/SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/SPI.h:20:1: warning: this is the location of the previous definition -autogenerated:34: warning: 'int alt_hold_velocity()' declared 'static' but never defined -autogenerated:86: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined -autogenerated:87: warning: 'void send_message(byte)' declared 'static' but never defined -autogenerated:88: warning: 'void send_message(byte, long int)' declared 'static' but never defined -autogenerated:82: warning: 'void send_message(byte, const char*)' declared 'static' but never defined -autogenerated:91: warning: 'void print_current_waypoints()' declared 'static' but never defined -autogenerated:94: warning: 'void print_attitude()' declared 'static' but never defined -autogenerated:90: warning: 'void print_control_mode()' declared 'static' but never defined -autogenerated:92: warning: 'void print_position()' declared 'static' but never defined -autogenerated:96: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined -autogenerated:97: warning: 'void print_waypoints()' declared 'static' but never defined -autogenerated:70: warning: 'long int convert_to_dec(float)' declared 'static' but never defined -autogenerated:139: warning: 'void Log_Write_Optflow()' declared 'static' but never defined -autogenerated:150: warning: 'void decrement_WP_index()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/commands.pde:149: warning: 'Location get_LOITER_home_wp()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:427: warning: 'bool verify_loiter_unlim()' defined but not used +In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: +/root/apm/ardupilot-mega/ArduCopter/Parameters.h: In constructor 'Parameters::Parameters()': +/root/apm/ardupilot-mega/ArduCopter/Parameters.h:386: warning: overflow in implicit constant conversion +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:300: warning: statement has no effect +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_nav_wp()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:405: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'bool verify_loiter_time()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: warning: comparison between signed and unsigned integer expressions +autogenerated: At global scope: +autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined +autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined +autogenerated:84: warning: 'void send_message(byte)' declared 'static' but never defined +autogenerated:85: warning: 'void send_message(byte, long int)' declared 'static' but never defined +autogenerated:79: warning: 'void send_message(byte, const char*)' declared 'static' but never defined +autogenerated:88: warning: 'void print_current_waypoints()' declared 'static' but never defined +autogenerated:91: warning: 'void print_attitude()' declared 'static' but never defined +autogenerated:87: warning: 'void print_control_mode()' declared 'static' but never defined +autogenerated:89: warning: 'void print_position()' declared 'static' but never defined +autogenerated:93: warning: 'void print_waypoint(Location*, byte)' declared 'static' but never defined +autogenerated:94: warning: 'void print_waypoints()' declared 'static' but never defined +autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' but never defined +autogenerated:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined +autogenerated:146: warning: 'void decrement_WP_index()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/commands.pde:132: warning: 'Location get_LOITER_home_wp()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:298: warning: 'void do_loiter_turns()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:424: warning: 'bool verify_loiter_unlim()' defined but not used /root/apm/ardupilot-mega/ArduCopter/events.pde:46: warning: 'void low_battery_event()' defined but not used autogenerated:210: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:211: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:235: warning: 'void debug_motors()' declared 'static' but never defined -autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:159: warning: 'int get_loiter_angle()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'void reset_crosstrack()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:222: warning: 'long int get_altitude_above_home()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/navigation.pde:243: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used +autogenerated:249: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:152: warning: 'int get_loiter_angle()' defined but not used +autogenerated:253: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:254: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:255: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:217: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:131: warning: 'void throttle_failsafe(uint16_t)' defined but not used /root/apm/ardupilot-mega/ArduCopter/radio.pde:188: warning: 'void trim_yaw()' defined but not used -autogenerated:268: warning: 'void readCommands()' declared 'static' but never defined -autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:267: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:268: warning: 'void parseCommand(char*)' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:6: warning: 'void ReadSCP1000()' defined but not used -autogenerated:272: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:271: warning: 'long int read_baro_filtered()' declared 'static' but never defined /root/apm/ardupilot-mega/ArduCopter/sensors.pde:95: warning: 'void read_airspeed()' defined but not used /root/apm/ardupilot-mega/ArduCopter/sensors.pde:100: warning: 'void zero_airspeed()' defined but not used -autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined -autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined -autogenerated:295: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:296: warning: 'int read_num_from_serial()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/system.pde:465: warning: 'void set_failsafe(boolean)' defined but not used -autogenerated:311: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never defined -/root/apm/ardupilot-mega/ArduCopter/test.pde:991: warning: 'void print_motor_out()' defined but not used +autogenerated:285: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:286: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:293: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:294: warning: 'int read_num_from_serial()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/system.pde:448: warning: 'void set_failsafe(boolean)' defined but not used +autogenerated:309: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:317: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:992: warning: 'void print_motor_out()' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:443: warning: 'undo_event' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:449: warning: 'condition_rate' defined but not used /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:463: warning: 'simple_WP' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'optflow_offset' defined but not used -/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' defined but not used +/root/apm/ardupilot-mega/ArduCopter/control_modes.pde:48: warning: 'trim_flag' defined but not used %% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_PI/APM_PI.o %% libraries/APM_RC/APM_RC.o @@ -84,33 +96,7 @@ autogenerated:319: warning: 'void fake_out_gps()' declared 'static' but never de In file included from /root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:28: /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:25:1: warning: "SPI_CLOCK_DIV64" redefined /usr/local/share/arduino/libraries/SPI/../SPI/SPI.h:20:1: warning: this is the location of the previous definition -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_led_always_on(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:221: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'bool AP_OpticalFlow_ADNS3080::get_frame_rate_auto()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:257: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'void AP_OpticalFlow_ADNS3080::set_shutter_speed_auto(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:361: warning: suggest parentheses around arithmetic in operand of | -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'int AP_OpticalFlow_ADNS3080::print_pixel_data(Stream*)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:441: warning: suggest parentheses around comparison in operand of & -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:456: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'unsigned int AP_OpticalFlow_ADNS3080::set_shutter_speed(unsigned int)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:408: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp: In member function 'virtual bool AP_OpticalFlow_ADNS3080::init(bool)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow_ADNS3080.cpp:80: warning: control reaches end of non-void function %% libraries/AP_OpticalFlow/AP_OpticalFlow.o -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: no return statement in function returning non-void -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual void AP_OpticalFlow::get_position(float, float, float, float)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:88: warning: unused variable 'i' -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual byte AP_OpticalFlow::read_register(byte)': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:44: warning: control reaches end of non-void function -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp: In member function 'virtual int AP_OpticalFlow::read()': -/root/apm/ardupilot-mega/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp:38: warning: control reaches end of non-void function %% libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.o %% libraries/AP_RangeFinder/AP_RangeFinder_SharpGP2Y.o %% libraries/AP_RangeFinder/RangeFinder.o @@ -123,6 +109,7 @@ In file included from /root/apm/ardupilot-mega/libraries/DataFlash/DataFlash.cpp %% libraries/FastSerial/vprintf.o %% libraries/GCS_MAVLink/GCS_MAVLink.o %% libraries/ModeFilter/ModeFilter.o +%% libraries/RC_Channel/RC_Channel_aux.o %% libraries/RC_Channel/RC_Channel.o %% libraries/memcheck/memcheck.o %% libraries/FastSerial/ftoa_engine.o diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.size.txt index 09fc850668..659d1511ab 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.size.txt @@ -4,19 +4,18 @@ 00000001 b motor_armed 00000001 b motor_light 00000001 b control_mode -00000001 b simple_timer +00000001 b gps_watchdog 00000001 d yaw_tracking 00000001 b land_complete 00000001 b throttle_mode 00000001 b command_may_ID 00000001 b wp_verify_byte -00000001 b xtrack_enabled 00000001 d altitude_sensor 00000001 b command_must_ID 00000001 b command_yaw_dir +00000001 b new_radio_frame 00000001 b roll_pitch_mode 00000001 b counter_one_herz -00000001 b delta_ms_fiftyhz 00000001 b did_ground_start 00000001 b in_mavlink_delay 00000001 b invalid_throttle @@ -27,34 +26,30 @@ 00000001 b command_may_index 00000001 b oldSwitchPosition 00000001 b command_must_index -00000001 b delta_ms_fast_loop 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative -00000001 b delta_ms_medium_loop 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode 00000001 b GPS_light -00000001 b alt_timer 00000001 b loop_step -00000001 b trim_flag 00000001 b dancing_light()::step -00000001 b update_motor_leds()::blink -00000001 b radio_input_switch()::bouncer 00000001 b read_control_switch()::switch_debouncer 00000001 d GCS_MAVLINK::handleMessage(__mavlink_message*)::mav_nav 00000001 B mavdelay 00000002 T mavlink_acknowledge(mavlink_channel_t, unsigned char, unsigned char, unsigned char) 00000002 b climb_rate +00000002 b loiter_sum 00000002 b event_delay 00000002 b event_value 00000002 b event_repeat +00000002 b loiter_total 00000002 b nav_throttle 00000002 b altitude_rate 00000002 b gps_fix_count 00000002 b velocity_land -00000002 b mainLoop_count +00000002 b loiter_time_max 00000002 b command_yaw_time 00000002 b event_undo_value 00000002 b command_yaw_speed @@ -92,16 +87,13 @@ 00000004 d cos_pitch_x 00000004 b event_timer 00000004 b loiter_time -00000004 b nav_bearing 00000004 d scaleLongUp 00000004 b sin_pitch_y 00000004 b wp_distance 00000004 b abs_pressure -00000004 b circle_angle 00000004 b current_amps 00000004 b old_altitude 00000004 b original_alt -00000004 b bearing_error 00000004 b current_total 00000004 b nav_loopTimer 00000004 d scaleLongDown @@ -110,29 +102,27 @@ 00000004 b fast_loopTimer 00000004 b perf_mon_timer 00000004 b target_bearing +00000004 b throttle_timer 00000004 d battery_voltage 00000004 b command_yaw_end 00000004 b condition_start 00000004 b condition_value 00000004 b ground_pressure -00000004 b loiter_time_max 00000004 b target_altitude 00000004 d battery_voltage1 00000004 d battery_voltage2 00000004 d battery_voltage3 00000004 d battery_voltage4 -00000004 b medium_loopTimer 00000004 b wp_totalDistance 00000004 b command_yaw_delta 00000004 b command_yaw_start 00000004 b fiftyhz_loopTimer -00000004 b crosstrack_bearing -00000004 b fast_loopTimeStamp +00000004 b old_target_bearing 00000004 b throttle_integrator -00000004 b saved_target_bearing 00000004 r __menu_name__log_menu 00000004 b command_yaw_start_time 00000004 b initial_simple_bearing +00000004 b original_target_bearing 00000004 d G_Dt 00000004 b dTnav 00000004 b nav_lat @@ -152,6 +142,7 @@ 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r select_logs(unsigned char, Menu::arg const*)::__c 00000004 r setup_sonar(unsigned char, Menu::arg const*)::__c +00000004 r print_switch(unsigned char, unsigned char, bool)::__c 00000004 b mavlink_delay(unsigned long)::last_1hz 00000004 b mavlink_delay(unsigned long)::last_3hz 00000004 b mavlink_delay(unsigned long)::last_10hz @@ -172,6 +163,7 @@ 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r select_logs(unsigned char, Menu::arg const*)::__c 00000005 r Log_Read_Raw()::__c +00000005 r print_switch(unsigned char, unsigned char, bool)::__c 00000005 r Log_Read_Mode()::__c 00000005 r report_tuning()::__c 00000005 r print_log_menu()::__c @@ -215,6 +207,7 @@ 00000007 r test_wp(unsigned char, Menu::arg const*)::__c 00000007 V Parameters::Parameters()::__c 00000007 V Parameters::Parameters()::__c +00000007 V Parameters::Parameters()::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000007 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c @@ -235,7 +228,7 @@ 00000008 V Parameters::Parameters()::__c 00000008 V Parameters::Parameters()::__c 00000008 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c -00000009 r print_switch(unsigned char, unsigned char)::__c +00000009 r print_switch(unsigned char, unsigned char, bool)::__c 00000009 r print_log_menu()::__c 00000009 r print_log_menu()::__c 00000009 r report_compass()::__c @@ -255,10 +248,13 @@ 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c 00000009 V Parameters::Parameters()::__c +00000009 V Parameters::Parameters()::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c 00000009 r GCS_MAVLINK::GCS_MAVLINK(unsigned int)::__c +0000000a T piezo_on() +0000000a T piezo_off() 0000000a r test_relay(unsigned char, Menu::arg const*)::__c 0000000a r report_frame()::__c 0000000a r start_new_log()::__c @@ -271,7 +267,6 @@ 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c 0000000a V Parameters::Parameters()::__c -0000000a V Parameters::Parameters()::__c 0000000a T setup 0000000b r test_relay(unsigned char, Menu::arg const*)::__c 0000000b r report_batt_monitor()::__c @@ -281,6 +276,7 @@ 0000000c t test_mode(unsigned char, Menu::arg const*) 0000000c T GCS_MAVLINK::send_text(unsigned char, char const*) 0000000c V vtable for IMU +0000000c r print_switch(unsigned char, unsigned char, bool)::__c 0000000c r test_baro(unsigned char, Menu::arg const*)::__c 0000000c V Parameters::Parameters()::__c 0000000c V Parameters::Parameters()::__c @@ -345,20 +341,18 @@ 0000000f r report_batt_monitor()::__c 0000000f r test_imu(unsigned char, Menu::arg const*)::__c 0000000f V AP_IMU_Oilpan::AP_IMU_Oilpan(AP_ADC*, unsigned int)::__c +00000010 r flight_mode_strings 00000010 r planner_menu_commands 00000010 b motor_out 00000010 W AP_VarT::cast_to_float() const 00000010 r test_sonar(unsigned char, Menu::arg const*)::__c 00000010 r report_compass()::__c -00000010 t mavlink_get_channel_status 00000011 r erase_logs(unsigned char, Menu::arg const*)::__c 00000011 r zero_eeprom()::__c 00000011 r update_commands()::__c -00000011 r Log_Read_Attitude()::__c 00000012 B Serial 00000012 B Serial1 00000012 B Serial3 -00000012 r flight_mode_strings 00000012 W AP_Float16::~AP_Float16() 00000012 W AP_VarA::~AP_VarA() 00000012 W AP_VarS >::~AP_VarS() @@ -384,16 +378,16 @@ 00000015 r Log_Read_Motors()::__c 00000015 r print_hit_enter()::__c 00000015 r GCS_MAVLINK::handleMessage(__mavlink_message*)::__c -00000016 r init_ardupilot()::__c +00000016 T piezo_beep() 00000016 r GCS_MAVLINK::update()::__c 00000016 B sonar -00000017 r __menu_name__main_menu 00000018 t setup_tune(unsigned char, Menu::arg const*) 00000018 t setup_accel(unsigned char, Menu::arg const*) +00000018 r __menu_name__main_menu 00000018 W AP_VarT::serialize(void*, unsigned int) const -00000018 b mavlink_get_channel_status::m_mavlink_status 00000019 r GCS_MAVLINK::update()::__c 0000001a r print_log_menu()::__c +0000001a r Log_Read_Nav_Tuning()::__c 0000001c W AP_VarA::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) 0000001c W AP_VarS >::unserialize(void*, unsigned int) @@ -401,8 +395,8 @@ 0000001c W AP_VarA::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const 0000001c W AP_VarS >::serialize(void*, unsigned int) const +0000001d r Log_Read_Attitude()::__c 0000001e r Log_Read_Optflow()::__c -0000001e r Log_Read_Nav_Tuning()::__c 0000001f r test_mag(unsigned char, Menu::arg const*)::__c 00000020 r test_current(unsigned char, Menu::arg const*)::__c 00000020 t byte_swap_4 @@ -425,10 +419,12 @@ 00000024 r init_ardupilot()::__c 00000024 r print_accel_offsets()::__c 00000025 r setup_factory(unsigned char, Menu::arg const*)::__c +00000025 r Log_Read_Performance()::__c 00000026 t print_done() 00000026 b mavlink_queue 00000026 t print_hit_enter() 00000026 t Log_Read_Startup() +00000026 r Log_Read_Control_Tuning()::__c 00000027 r test_xbee(unsigned char, Menu::arg const*)::__c 00000028 t test_battery(unsigned char, Menu::arg const*) 00000028 t main_menu_help(unsigned char, Menu::arg const*) @@ -439,23 +435,24 @@ 00000029 r setup_mode(unsigned char, Menu::arg const*)::__c 00000029 r test_gps(unsigned char, Menu::arg const*)::__c 0000002a t setup_declination(unsigned char, Menu::arg const*) -0000002a r Log_Read_Control_Tuning()::__c 0000002b r planner_mode(unsigned char, Menu::arg const*)::__c 0000002e t print_divider() 0000002e t send_rate(unsigned int, unsigned int) 0000002e W AP_Var_group::AP_Var_group(unsigned int, prog_char_t const*, unsigned char) -0000002e r Log_Read_Performance()::__c 0000002f r test_radio(unsigned char, Menu::arg const*)::__c +0000002f r init_ardupilot()::__c 00000030 t planner_mode(unsigned char, Menu::arg const*) +00000030 t send_heartbeat(mavlink_channel_t) 00000032 T GCS_MAVLINK::init(BetterStream*) 00000032 W APM_PI::~APM_PI() +00000032 r Log_Read_GPS()::__c 00000034 W AP_Float16::serialize(void*, unsigned int) const 00000034 t _mav_put_int8_t_array 00000035 r test_radio_pwm(unsigned char, Menu::arg const*)::__c 00000036 t report_radio() -00000036 r Log_Read_GPS()::__c 00000037 r print_wp(Location*, unsigned char)::__c 00000038 t init_throttle_cruise() +00000038 t send_current_waypoint(mavlink_channel_t) 00000038 r setup_radio(unsigned char, Menu::arg const*)::__c 00000038 r setup_factory(unsigned char, Menu::arg const*)::__c 0000003a t report_gps() @@ -465,41 +462,36 @@ 0000003e t verify_RTL() 0000003e T GCS_MAVLINK::send_text(unsigned char, prog_char_t const*) 0000003e W AP_VarT::AP_VarT(signed char, unsigned int, prog_char_t const*, unsigned char) +00000040 t read_AHRS() 00000040 W AP_Float16::unserialize(void*, unsigned int) 00000040 t byte_swap_8 -00000040 t crc_accumulate 00000042 t report_sonar() 00000044 t setup_show(unsigned char, Menu::arg const*) 00000044 W AP_VarT::AP_VarT(int, unsigned int, prog_char_t const*, unsigned char) +00000048 t update_motor_leds() +00000049 r setup_flightmodes(unsigned char, Menu::arg const*)::__c +0000004a t send_meminfo(mavlink_channel_t) +0000004a t change_command(unsigned char) 0000004a W AP_VarT::AP_VarT(AP_Var_group*, unsigned int, int, prog_char_t const*, unsigned char) 0000004c t update_auto_yaw() -0000004c B imu 0000004e T mavlink_send_text(mavlink_channel_t, unsigned char, char const*) 00000050 t report_version() 00000050 r log_menu_commands 00000050 r main_menu_commands -00000050 t read_AHRS() 00000050 T GCS_MAVLINK::_find_parameter(unsigned int) -00000052 t change_command(unsigned char) +00000050 B imu 00000054 t print_enabled(unsigned char) -00000054 t update_motor_leds() -00000054 t report_flight_modes() 00000055 r main_menu_help(unsigned char, Menu::arg const*)::__c -00000055 r setup_flightmodes(unsigned char, Menu::arg const*)::__c 00000056 t readSwitch() 00000056 t dancing_light() 00000057 r help_log(unsigned char, Menu::arg const*)::__c -00000058 t Log_Write_Attitude() 0000005a t read_control_switch() 0000005c t get_num_logs() 0000005c t setup_esc(unsigned char, Menu::arg const*) 0000005e t update_GPS_light() -0000005e t radio_input_switch() 0000005e T GCS_MAVLINK::_count_parameters() -00000060 t print_switch(unsigned char, unsigned char) -00000060 t _mavlink_send_uart -00000060 B barometer 00000064 t test_xbee(unsigned char, Menu::arg const*) +00000064 B barometer 00000064 t mavlink_msg_param_value_send 00000068 t zero_eeprom() 00000068 t find_last_log_page(int) @@ -508,13 +500,15 @@ 0000006e T output_min() 00000078 t setup_batt_monitor(unsigned char, Menu::arg const*) 0000007a t setup_factory(unsigned char, Menu::arg const*) +0000007a t report_flight_modes() 0000007a t test_baro(unsigned char, Menu::arg const*) +0000007c t send_gps_status(mavlink_channel_t) 0000007e t test_rawgps(unsigned char, Menu::arg const*) 00000080 T __vector_25 00000080 T __vector_36 00000080 T __vector_54 +00000082 t Log_Write_Attitude() 00000082 t do_RTL() -00000086 t Log_Read_Attitude() 00000088 t Log_Read_Raw() 0000008c t setup_frame(unsigned char, Menu::arg const*) 0000008c t print_gyro_offsets() @@ -536,83 +530,95 @@ 000000a4 T __vector_37 000000a4 T __vector_55 000000a8 t test_sonar(unsigned char, Menu::arg const*) +000000aa t Log_Read_Nav_Tuning() 000000ae t report_frame() 000000b2 t erase_logs(unsigned char, Menu::arg const*) 000000b4 t test_relay(unsigned char, Menu::arg const*) 000000b4 t planner_gcs(unsigned char, Menu::arg const*) 000000b6 t get_log_boundaries(unsigned char, int&, int&) 000000b7 B compass -000000be t Log_Read_Nav_Tuning() 000000c2 t test_eedump(unsigned char, Menu::arg const*) 000000c2 t setup_compass(unsigned char, Menu::arg const*) +000000c2 t send_radio_out(mavlink_channel_t) +000000c2 t Log_Read_Attitude() 000000c4 t get_distance(Location*, Location*) 000000c4 t update_events() 000000c4 r setup_esc(unsigned char, Menu::arg const*)::__c -000000c6 t Log_Read(int, int) +000000c6 t send_radio_in(mavlink_channel_t) 000000c6 t test_tri(unsigned char, Menu::arg const*) 000000c7 B dcm 000000ca t init_barometer() -000000cc t read_radio() +000000d0 t read_radio() 000000d0 t get_bearing(Location*, Location*) +000000d0 t print_switch(unsigned char, unsigned char, bool) +000000d4 t Log_Read(int, int) 000000d8 t test_radio(unsigned char, Menu::arg const*) 000000d8 t read_barometer() +000000da t Log_Read_Performance() 000000dc t test_adc(unsigned char, Menu::arg const*) -000000de t Log_Read_Performance() -000000de t Log_Read_Control_Tuning() 000000e0 r setup_menu_commands -000000e0 b mavlink_parse_char::m_mavlink_message 000000e4 t test_radio_pwm(unsigned char, Menu::arg const*) 000000e4 t Log_Read_Optflow() 000000e4 W APM_PI::APM_PI(unsigned int, prog_char_t const*, float const&, float const&, int const&) -000000e6 t setup_flightmodes(unsigned char, Menu::arg const*) 000000e8 t Log_Read_Current() +000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() -000000f4 t _mav_finalize_message_chan_send 000000f6 t Log_Read_Cmd() -000000fa t calc_nav_pitch_roll() +0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t test_gps(unsigned char, Menu::arg const*) +0000010c t test_current(unsigned char, Menu::arg const*) 0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*) -00000112 t test_current(unsigned char, Menu::arg const*) +0000010e t send_servo_out(mavlink_channel_t) +00000112 t send_extended_status1(mavlink_channel_t, unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000118 t set_command_with_index(Location, int) 00000118 T GCS_MAVLINK::_queued_send() +0000011c t get_command_with_index(int) 00000120 r test_menu_commands -00000128 t get_command_with_index(int) 00000130 t report_compass() +00000132 t set_next_WP(Location*) 00000134 T GCS_MAVLINK::send_message(unsigned char, unsigned long) -0000014e T GCS_MAVLINK::update() -00000150 t update_trig() -00000152 t set_next_WP(Location*) -00000152 t setup_motors(unsigned char, Menu::arg const*) -00000156 t Log_Read_GPS() +00000138 t get_stabilize_roll(long) +00000138 t get_stabilize_pitch(long) +00000148 t Log_Read_GPS() +00000152 T GCS_MAVLINK::update() +00000158 t update_commands() +0000015c t update_trig() +0000015c t setup_motors(unsigned char, Menu::arg const*) +00000160 t send_location(mavlink_channel_t) +00000160 t send_nav_controller_output(mavlink_channel_t) 00000166 t select_logs(unsigned char, Menu::arg const*) -0000016c t update_commands() +00000166 t send_vfr_hud(mavlink_channel_t) +0000016e t send_attitude(mavlink_channel_t) +00000170 t test_imu(unsigned char, Menu::arg const*) 00000170 t test_mag(unsigned char, Menu::arg const*) -00000172 t update_nav_wp() -000001a0 t init_home() 000001a8 t print_radio_values() -000001b8 t test_imu(unsigned char, Menu::arg const*) +000001be t arm_motors() 000001be T GCS_MAVLINK::data_stream_send(unsigned int, unsigned int) -000001ca t arm_motors() 000001ca t mavlink_delay(unsigned long) 000001ce t start_new_log() -00000202 t set_mode(unsigned char) +000001d6 t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) +000001e4 t setup_flightmodes(unsigned char, Menu::arg const*) +000001ea t init_home() +00000206 t set_mode(unsigned char) +0000021a t send_raw_imu1(mavlink_channel_t) 0000021c t test_wp(unsigned char, Menu::arg const*) 00000228 t setup_radio(unsigned char, Menu::arg const*) +0000022a t send_gps_raw(mavlink_channel_t) +00000268 t send_raw_imu3(mavlink_channel_t) +000002bc T update_roll_pitch_mode() 000002ea t tuning() -00000330 t calc_nav_rate(int, int, int, int) -00000358 T update_throttle_mode() +00000354 t calc_nav_rate(int, int, int, int) 00000382 t print_log_menu() -000003be t read_battery() -000003dc T update_yaw_mode() -000004b2 t mavlink_parse_char -000005ea T update_roll_pitch_mode() -0000062e t init_ardupilot() -000007a8 t __static_initialization_and_destruction_0(int, int) -000007dc b g -0000083c W Parameters::Parameters() -000008e4 t process_next_command() +000003a0 t read_battery() +000003d2 T update_throttle_mode() +00000410 T update_yaw_mode() +0000049a t update_nav_wp() +000005ee t init_ardupilot() +000007b0 t __static_initialization_and_destruction_0(int, int) +000007ea b g +0000085e t process_next_command() +000008a0 W Parameters::Parameters() 000011d8 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000017ac t mavlink_try_send_message(mavlink_channel_t, unsigned char, unsigned int) -00001eae T loop +00001a88 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/firmware2.xml b/Tools/ArdupilotMegaPlanner/Firmware/firmware2.xml index 6d0ddffea2..161c94b154 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/firmware2.xml +++ b/Tools/ArdupilotMegaPlanner/Firmware/firmware2.xml @@ -3,16 +3,16 @@ http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/crap-1280.hex http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/crap-2560.hex - Please Update + - 0 + http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AP-1280.hex http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AP-2560.hex ArduPlane V2.24 - 11 + http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/APHIL-1280.hex @@ -46,63 +46,63 @@ #define AIRSPEED_CRUISE 25 #define THROTTLE_FAILSAFE ENABLED - 11 + http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AP-trunk-1280.hex http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AP-trunk-2560.hex ArduPlane V2.24 APM trunk - 11 + http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.hex http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.hex - ArduCopter 2.0.42 Beta Quad + ArduCopter V2.0.44 Beta Quad #define FRAME_CONFIG QUAD_FRAME #define FRAME_ORIENTATION X_FRAME - 107 + 108 http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.hex http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.hex - ArduCopter 2.0.42 Beta Tri + ArduCopter V2.0.44 Beta Tri #define FRAME_CONFIG TRI_FRAME #define FRAME_ORIENTATION X_FRAME - 107 + 108 http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.hex http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.hex - ArduCopter 2.0.42 Beta Hexa + ArduCopter V2.0.44 Beta Hexa #define FRAME_CONFIG HEXA_FRAME #define FRAME_ORIENTATION X_FRAME - 107 + 108 http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.hex http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.hex - ArduCopter 2.0.42 Beta Y6 + ArduCopter V2.0.44 Beta Y6 #define FRAME_CONFIG Y6_FRAME #define FRAME_ORIENTATION X_FRAME - 107 + 108 http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Heli-1280.hex http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Heli-2560.hex - ArduCopter 2.0.42 Beta Heli (2560 only) + ArduCopter V2.0.43 Beta Heli (2560 only) #define AUTO_RESET_LOITER 0 #define FRAME_CONFIG HELI_FRAME @@ -122,7 +122,7 @@ #define STABILIZE_PITCH_IMAX 7 // yaw stablise -#define STABILIZE_YAW_P 0.34 +#define STABILIZE_YAW_P 0.7 #define STABILIZE_YAW_I 0.02 #define STABILIZE_YAW_D 0.0 @@ -143,12 +143,12 @@ #define NAV_LOITER_IMAX 10 - 107 + http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.hex http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.hex - ArduCopter 2.0.42 Beta Quad Hil + ArduCopter V2.0.44 Beta Quad Hil #define FRAME_CONFIG QUAD_FRAME #define FRAME_ORIENTATION PLUS_FRAME @@ -158,6 +158,6 @@ - 107 + 108 diff --git a/Tools/ArdupilotMegaPlanner/Firmware/git.log b/Tools/ArdupilotMegaPlanner/Firmware/git.log index 38d541837f..16f7115cbc 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/git.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/git.log @@ -1,6 +1,55 @@ From https://code.google.com/p/ardupilot-mega - 28bb6fd..c5f0dc1 APM_Camera -> origin/APM_Camera - 8905f63..112b274 master -> origin/master -error: Your local changes to 'ArduPlane/APM_Config.h' would be overwritten by merge. Aborting. -Please, commit your changes or stash them before you can merge. -Updating 8905f63..112b274 + 2974c8c..35e16dd APM_Camera -> origin/APM_Camera + 68174a8..231e797 master -> origin/master +Updating 68174a8..231e797 +Fast-forward + ArduCopter/APM_Config.h | 30 +- + ArduCopter/ArduCopter.pde | 141 +- + ArduCopter/Attitude.pde | 33 +- + ArduCopter/Parameters.h | 2 +- + ArduCopter/commands.pde | 6 +- + ArduCopter/commands_logic.pde | 40 +- + ArduCopter/config.h | 39 +- + ArduCopter/control_modes.pde | 31 +- + ArduCopter/defines.h | 10 +- + ArduCopter/flip.pde | 6 +- + ArduCopter/motors.pde | 8 +- + ArduCopter/motors_quad.pde | 1 - + ArduCopter/navigation.pde | 2 +- + ArduCopter/system.pde | 6 +- + ArduPlane/Attitude.pde | 9 +- + Tools/ArdupilotMegaPlanner/CommsUdpSerial.cs | 11 + + Tools/ArdupilotMegaPlanner/CurrentState.cs | 10 +- + .../GCSViews/Configuration.Designer.cs | 328 +- + .../ArdupilotMegaPlanner/GCSViews/Configuration.cs | 10 +- + .../GCSViews/Configuration.resx | 8175 +++++++++++--------- + .../GCSViews/Configuration.zh-Hans.resx | 777 ++- + Tools/ArdupilotMegaPlanner/GCSViews/Firmware.cs | 140 +- + Tools/ArdupilotMegaPlanner/GCSViews/Firmware.resx | 240 +- + .../GCSViews/FlightData.Designer.cs | 2 + + Tools/ArdupilotMegaPlanner/GCSViews/FlightData.cs | 1 + + .../GCSViews/FlightPlanner.Designer.cs | 103 +- + .../ArdupilotMegaPlanner/GCSViews/FlightPlanner.cs | 6 +- + .../GCSViews/FlightPlanner.resx | 2732 ++++---- + .../GCSViews/FlightPlanner.zh-Hans.resx | 137 +- + .../GCSViews/Simulation.Designer.cs | 9 + + Tools/ArdupilotMegaPlanner/GCSViews/Simulation.cs | 70 +- + .../ArdupilotMegaPlanner/GCSViews/Simulation.resx | 88 +- + Tools/ArdupilotMegaPlanner/HIL/QuadCopter.cs | 4 +- + Tools/ArdupilotMegaPlanner/MAVLink.cs | 2 +- + Tools/ArdupilotMegaPlanner/MainV2.cs | 8 + + .../Properties/AssemblyInfo.cs | 2 +- + Tools/ArdupilotMegaPlanner/Setup/Setup.Designer.cs | 238 +- + Tools/ArdupilotMegaPlanner/Setup/Setup.cs | 234 +- + Tools/ArdupilotMegaPlanner/Setup/Setup.resx | 806 ++- + .../bin/Release/ArdupilotMegaPlanner.exe | Bin 2075136 -> 2098176 bytes + .../bin/Release/GCSViews/Firmware.resx | 240 +- + .../bin/Release/GCSViews/Simulation.resx | 88 +- + Tools/ArdupilotMegaPlanner/bin/Release/Updater.exe | Bin 8192 -> 8192 bytes + Tools/ArdupilotMegaPlanner/bin/Release/resedit.exe | Bin 13312 -> 13312 bytes + .../zh-Hans/ArdupilotMegaPlanner.resources.dll | Bin 397312 -> 397312 bytes + .../ArdupilotMegaPlanner/paramcompare.Designer.cs | 39 +- + Tools/ArdupilotMegaPlanner/paramcompare.cs | 17 +- + libraries/AP_Common/Arduino.mk | 5 +- + libraries/RC_Channel/RC_Channel.cpp | 6 +- + 49 files changed, 8713 insertions(+), 6179 deletions(-)