diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.build.log index 9d0e622000..1770ec7e63 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.build.log @@ -9,9 +9,11 @@ In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: 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:406: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:412: 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:432: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:439: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_jump()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:652: warning: unused variable 'temp' 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 @@ -28,40 +30,39 @@ autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' bu 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:299: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:425: warning: 'bool verify_loiter_unlim()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: 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:211: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:213: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:236: 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:152: warning: 'int get_loiter_angle()' defined but not used -autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined -autogenerated:255: warning: 'long int cross_track_test()' declared 'static' but never defined -autogenerated:256: 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 +autogenerated:252: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used +autogenerated:256: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:257: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:258: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:273: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:294: 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 readCommands()' declared 'static' but never defined +autogenerated:271: 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:274: 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:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:295: warning: 'int read_num_from_serial()' declared 'static' but never defined +autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:296: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:297: 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:310: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:318: 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: 'new_location' defined but not used +autogenerated:312: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:320: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:1028: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:444: warning: 'undo_event' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:450: warning: 'condition_rate' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:464: warning: 'simple_WP' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: 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 diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.size.txt index 4754697271..13cc366771 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.size.txt @@ -29,6 +29,7 @@ 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative +00000001 d jump 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode @@ -562,6 +563,7 @@ 000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() 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*) @@ -610,13 +612,13 @@ 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() +0000042c T update_throttle_mode() 000005ee t init_ardupilot() +000006e6 t update_nav_wp() 000007b0 t __static_initialization_and_destruction_0(int, int) 000007ea b g -0000085a t process_next_command() -0000089c W Parameters::Parameters() +00000874 t process_next_command() +00000894 W Parameters::Parameters() 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) -00001ba2 T loop +00001c42 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.build.log index 9d0e622000..1770ec7e63 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.build.log @@ -9,9 +9,11 @@ In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: 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:406: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:412: 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:432: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:439: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_jump()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:652: warning: unused variable 'temp' 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 @@ -28,40 +30,39 @@ autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' bu 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:299: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:425: warning: 'bool verify_loiter_unlim()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: 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:211: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:213: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:236: 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:152: warning: 'int get_loiter_angle()' defined but not used -autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined -autogenerated:255: warning: 'long int cross_track_test()' declared 'static' but never defined -autogenerated:256: 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 +autogenerated:252: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used +autogenerated:256: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:257: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:258: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:273: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:294: 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 readCommands()' declared 'static' but never defined +autogenerated:271: 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:274: 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:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:295: warning: 'int read_num_from_serial()' declared 'static' but never defined +autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:296: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:297: 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:310: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:318: 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: 'new_location' defined but not used +autogenerated:312: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:320: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:1028: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:444: warning: 'undo_event' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:450: warning: 'condition_rate' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:464: warning: 'simple_WP' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: 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 diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.size.txt index abca0d05eb..c7c39b1118 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.size.txt @@ -29,6 +29,7 @@ 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative +00000001 d jump 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode @@ -562,6 +563,7 @@ 000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() 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*) @@ -610,13 +612,13 @@ 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() +0000042c T update_throttle_mode() 000005ee t init_ardupilot() +000006e6 t update_nav_wp() 000007b0 t __static_initialization_and_destruction_0(int, int) 000007ea b g -0000085a t process_next_command() -0000089c W Parameters::Parameters() +00000874 t process_next_command() +00000894 W Parameters::Parameters() 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) -00001ba0 T loop +00001c40 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.build.log index 29f29cc669..80169f5759 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.build.log @@ -9,9 +9,11 @@ In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: 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:406: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:412: 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:432: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:439: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_jump()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:652: warning: unused variable 'temp' 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 @@ -31,50 +33,49 @@ autogenerated:138: warning: 'void Log_Write_Control_Tuning()' declared 'static' /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:299: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:425: warning: 'bool verify_loiter_unlim()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: 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:211: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:213: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:236: 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:152: warning: 'int get_loiter_angle()' defined but not used -autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined -autogenerated:255: warning: 'long int cross_track_test()' declared 'static' but never defined -autogenerated:256: 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 +autogenerated:252: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used +autogenerated:256: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:257: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:258: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:273: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:294: 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:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:295: warning: 'int read_num_from_serial()' declared 'static' but never defined +autogenerated:270: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:271: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:272: warning: 'void ReadSCP1000()' declared 'static' but never defined +autogenerated:273: warning: 'void init_barometer()' declared 'static' but never defined +autogenerated:274: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:275: warning: 'long int read_barometer()' declared 'static' but never defined +autogenerated:276: warning: 'void read_airspeed()' declared 'static' but never defined +autogenerated:277: warning: 'void zero_airspeed()' declared 'static' but never defined +autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:296: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:297: 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:310: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:318: 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: 'new_location' defined but not used +autogenerated:312: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:320: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:1028: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:352: warning: 'old_altitude' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:370: warning: 'abs_pressure' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:371: warning: 'ground_pressure' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:372: warning: 'ground_temperature' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:377: warning: 'baro_alt' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:444: warning: 'undo_event' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:450: warning: 'condition_rate' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:464: warning: 'simple_WP' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: 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 +/root/apm/ardupilot-mega/ArduCopter/test.pde:26: warning: 'int8_t test_baro(uint8_t, const Menu::arg*)' declared 'static' but never defined %% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_PI/APM_PI.o %% libraries/APM_RC/APM_RC.o diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.size.txt index 7c1bf32ecc..f28ecbbf68 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.size.txt @@ -29,6 +29,7 @@ 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative +00000001 d jump 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode @@ -550,6 +551,7 @@ 000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() 000000f6 t Log_Read_Cmd() +000000fa t calc_nav_pitch_roll() 00000100 r test_menu_commands 0000010a t test_gps(unsigned char, Menu::arg const*) 0000010c t test_current(unsigned char, Menu::arg const*) @@ -595,13 +597,13 @@ 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() +0000042c T update_throttle_mode() 00000580 t __static_initialization_and_destruction_0(int, int) 000005d6 t init_ardupilot() +000006e6 t update_nav_wp() 000007ea b g -0000085a t process_next_command() -0000089c W Parameters::Parameters() +00000874 t process_next_command() +00000894 W Parameters::Parameters() 000014f2 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000014fa T loop +00001598 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.build.log index 29f29cc669..80169f5759 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.build.log @@ -9,9 +9,11 @@ In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: 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:406: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:412: 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:432: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:439: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_jump()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:652: warning: unused variable 'temp' 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 @@ -31,50 +33,49 @@ autogenerated:138: warning: 'void Log_Write_Control_Tuning()' declared 'static' /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:299: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:425: warning: 'bool verify_loiter_unlim()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: 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:211: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:213: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:236: 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:152: warning: 'int get_loiter_angle()' defined but not used -autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined -autogenerated:255: warning: 'long int cross_track_test()' declared 'static' but never defined -autogenerated:256: 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 +autogenerated:252: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used +autogenerated:256: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:257: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:258: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:273: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:294: 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:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:295: warning: 'int read_num_from_serial()' declared 'static' but never defined +autogenerated:270: warning: 'void readCommands()' declared 'static' but never defined +autogenerated:271: warning: 'void parseCommand(char*)' declared 'static' but never defined +autogenerated:272: warning: 'void ReadSCP1000()' declared 'static' but never defined +autogenerated:273: warning: 'void init_barometer()' declared 'static' but never defined +autogenerated:274: warning: 'long int read_baro_filtered()' declared 'static' but never defined +autogenerated:275: warning: 'long int read_barometer()' declared 'static' but never defined +autogenerated:276: warning: 'void read_airspeed()' declared 'static' but never defined +autogenerated:277: warning: 'void zero_airspeed()' declared 'static' but never defined +autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:296: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:297: 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:310: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:318: 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: 'new_location' defined but not used +autogenerated:312: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:320: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:1028: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:352: warning: 'old_altitude' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:370: warning: 'abs_pressure' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:371: warning: 'ground_pressure' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:372: warning: 'ground_temperature' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:377: warning: 'baro_alt' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:444: warning: 'undo_event' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:450: warning: 'condition_rate' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:464: warning: 'simple_WP' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: 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 +/root/apm/ardupilot-mega/ArduCopter/test.pde:26: warning: 'int8_t test_baro(uint8_t, const Menu::arg*)' declared 'static' but never defined %% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_PI/APM_PI.o %% libraries/APM_RC/APM_RC.o diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.size.txt index a4a31aa757..fb2b6e4c05 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.size.txt @@ -29,6 +29,7 @@ 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative +00000001 d jump 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode @@ -550,6 +551,7 @@ 000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() 000000f6 t Log_Read_Cmd() +000000fa t calc_nav_pitch_roll() 00000100 r test_menu_commands 0000010a t test_gps(unsigned char, Menu::arg const*) 0000010c t test_current(unsigned char, Menu::arg const*) @@ -595,13 +597,13 @@ 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() +0000042c T update_throttle_mode() 00000580 t __static_initialization_and_destruction_0(int, int) 000005d6 t init_ardupilot() +000006e6 t update_nav_wp() 000007ea b g -0000085a t process_next_command() -0000089c W Parameters::Parameters() +00000874 t process_next_command() +00000894 W Parameters::Parameters() 000014f2 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000014f8 T loop +00001596 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.build.log index 9d0e622000..1770ec7e63 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.build.log @@ -9,9 +9,11 @@ In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: 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:406: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:412: 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:432: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:439: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_jump()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:652: warning: unused variable 'temp' 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 @@ -28,40 +30,39 @@ autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' bu 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:299: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:425: warning: 'bool verify_loiter_unlim()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: 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:211: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:213: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:236: 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:152: warning: 'int get_loiter_angle()' defined but not used -autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined -autogenerated:255: warning: 'long int cross_track_test()' declared 'static' but never defined -autogenerated:256: 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 +autogenerated:252: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used +autogenerated:256: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:257: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:258: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:273: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:294: 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 readCommands()' declared 'static' but never defined +autogenerated:271: 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:274: 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:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:295: warning: 'int read_num_from_serial()' declared 'static' but never defined +autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:296: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:297: 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:310: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:318: 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: 'new_location' defined but not used +autogenerated:312: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:320: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:1028: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:444: warning: 'undo_event' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:450: warning: 'condition_rate' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:464: warning: 'simple_WP' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: 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 diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.size.txt index efd4079f1c..5a9429f61f 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.size.txt @@ -29,6 +29,7 @@ 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative +00000001 d jump 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode @@ -562,6 +563,7 @@ 000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() 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*) @@ -610,13 +612,13 @@ 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() +0000042c T update_throttle_mode() 000005ee t init_ardupilot() +000006e6 t update_nav_wp() 000007b0 t __static_initialization_and_destruction_0(int, int) 000007ea b g -0000085a t process_next_command() -0000089c W Parameters::Parameters() +00000874 t process_next_command() +00000894 W Parameters::Parameters() 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) -00001a70 T loop +00001b10 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.build.log index 9d0e622000..1770ec7e63 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.build.log @@ -9,9 +9,11 @@ In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: 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:406: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:412: 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:432: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:439: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_jump()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:652: warning: unused variable 'temp' 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 @@ -28,40 +30,39 @@ autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' bu 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:299: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:425: warning: 'bool verify_loiter_unlim()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: 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:211: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:213: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:236: 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:152: warning: 'int get_loiter_angle()' defined but not used -autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined -autogenerated:255: warning: 'long int cross_track_test()' declared 'static' but never defined -autogenerated:256: 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 +autogenerated:252: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used +autogenerated:256: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:257: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:258: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:273: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:294: 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 readCommands()' declared 'static' but never defined +autogenerated:271: 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:274: 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:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:295: warning: 'int read_num_from_serial()' declared 'static' but never defined +autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:296: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:297: 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:310: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:318: 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: 'new_location' defined but not used +autogenerated:312: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:320: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:1028: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:444: warning: 'undo_event' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:450: warning: 'condition_rate' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:464: warning: 'simple_WP' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: 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 diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.size.txt index 2115485ebe..7edd725dd7 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.size.txt @@ -29,6 +29,7 @@ 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative +00000001 d jump 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode @@ -562,6 +563,7 @@ 000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() 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*) @@ -610,13 +612,13 @@ 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() +0000042c T update_throttle_mode() 000005ee t init_ardupilot() +000006e6 t update_nav_wp() 000007b0 t __static_initialization_and_destruction_0(int, int) 000007ea b g -0000085a t process_next_command() -0000089c W Parameters::Parameters() +00000874 t process_next_command() +00000894 W Parameters::Parameters() 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) -00001a6e T loop +00001b0e T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.build.log index 9d0e622000..1770ec7e63 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.build.log @@ -9,9 +9,11 @@ In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: 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:406: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:412: 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:432: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:439: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_jump()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:652: warning: unused variable 'temp' 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 @@ -28,40 +30,39 @@ autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' bu 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:299: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:425: warning: 'bool verify_loiter_unlim()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: 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:211: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:213: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:236: 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:152: warning: 'int get_loiter_angle()' defined but not used -autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined -autogenerated:255: warning: 'long int cross_track_test()' declared 'static' but never defined -autogenerated:256: 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 +autogenerated:252: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used +autogenerated:256: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:257: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:258: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:273: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:294: 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 readCommands()' declared 'static' but never defined +autogenerated:271: 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:274: 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:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:295: warning: 'int read_num_from_serial()' declared 'static' but never defined +autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:296: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:297: 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:310: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:318: 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: 'new_location' defined but not used +autogenerated:312: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:320: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:1028: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:444: warning: 'undo_event' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:450: warning: 'condition_rate' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:464: warning: 'simple_WP' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: 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 diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.size.txt index 1ae3ebd9a2..213cd6dc1f 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.size.txt @@ -29,6 +29,7 @@ 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative +00000001 d jump 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode @@ -563,12 +564,13 @@ 000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() 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*) 0000010e t send_servo_out(mavlink_channel_t) -00000112 t send_extended_status1(mavlink_channel_t, unsigned int) +0000010e 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) @@ -610,13 +612,13 @@ 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() +0000042c T update_throttle_mode() 000005ee t init_ardupilot() +000006e6 t update_nav_wp() 000007b0 t __static_initialization_and_destruction_0(int, int) 000007ea b g -0000085a t process_next_command() -0000089c W Parameters::Parameters() +00000874 t process_next_command() +00000894 W Parameters::Parameters() 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000019d0 T loop +00001a70 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.build.log index 9d0e622000..1770ec7e63 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.build.log @@ -9,9 +9,11 @@ In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: 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:406: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:412: 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:432: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:439: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_jump()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:652: warning: unused variable 'temp' 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 @@ -28,40 +30,39 @@ autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' bu 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:299: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:425: warning: 'bool verify_loiter_unlim()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: 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:211: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:213: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:236: 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:152: warning: 'int get_loiter_angle()' defined but not used -autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined -autogenerated:255: warning: 'long int cross_track_test()' declared 'static' but never defined -autogenerated:256: 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 +autogenerated:252: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used +autogenerated:256: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:257: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:258: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:273: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:294: 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 readCommands()' declared 'static' but never defined +autogenerated:271: 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:274: 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:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:295: warning: 'int read_num_from_serial()' declared 'static' but never defined +autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:296: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:297: 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:310: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:318: 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: 'new_location' defined but not used +autogenerated:312: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:320: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:1028: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:444: warning: 'undo_event' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:450: warning: 'condition_rate' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:464: warning: 'simple_WP' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: 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 diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.size.txt index 0b17d5f871..0879f40bef 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.size.txt @@ -29,6 +29,7 @@ 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative +00000001 d jump 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode @@ -563,12 +564,13 @@ 000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() 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*) 0000010e t send_servo_out(mavlink_channel_t) -00000112 t send_extended_status1(mavlink_channel_t, unsigned int) +0000010e 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) @@ -610,13 +612,13 @@ 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() +0000042c T update_throttle_mode() 000005ee t init_ardupilot() +000006e6 t update_nav_wp() 000007b0 t __static_initialization_and_destruction_0(int, int) 000007ea b g -0000085a t process_next_command() -0000089c W Parameters::Parameters() +00000874 t process_next_command() +00000894 W Parameters::Parameters() 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) -000019ce T loop +00001a6e T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.build.log index 9d0e622000..1770ec7e63 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.build.log @@ -9,9 +9,11 @@ In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: 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:406: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:412: 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:432: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:439: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_jump()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:652: warning: unused variable 'temp' 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 @@ -28,40 +30,39 @@ autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' bu 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:299: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:425: warning: 'bool verify_loiter_unlim()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: 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:211: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:213: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:236: 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:152: warning: 'int get_loiter_angle()' defined but not used -autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined -autogenerated:255: warning: 'long int cross_track_test()' declared 'static' but never defined -autogenerated:256: 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 +autogenerated:252: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used +autogenerated:256: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:257: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:258: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:273: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:294: 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 readCommands()' declared 'static' but never defined +autogenerated:271: 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:274: 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:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:295: warning: 'int read_num_from_serial()' declared 'static' but never defined +autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:296: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:297: 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:310: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:318: 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: 'new_location' defined but not used +autogenerated:312: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:320: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:1028: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:444: warning: 'undo_event' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:450: warning: 'condition_rate' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:464: warning: 'simple_WP' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: 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 diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.size.txt index 02effbd8ae..838b5deae4 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.size.txt @@ -29,6 +29,7 @@ 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative +00000001 d jump 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode @@ -562,6 +563,7 @@ 000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() 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*) @@ -610,13 +612,13 @@ 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() +0000042c T update_throttle_mode() 000005ee t init_ardupilot() +000006e6 t update_nav_wp() 000007b0 t __static_initialization_and_destruction_0(int, int) 000007ea b g -0000085a t process_next_command() -0000089c W Parameters::Parameters() +00000874 t process_next_command() +00000894 W Parameters::Parameters() 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) -00001ab0 T loop +00001b50 T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.build.log b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.build.log index 9d0e622000..1770ec7e63 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.build.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.build.log @@ -9,9 +9,11 @@ In file included from /root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:76: /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_loiter_turns()': /root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:301: 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:406: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:412: 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:432: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:439: warning: comparison between signed and unsigned integer expressions +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde: In function 'void do_jump()': +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:652: warning: unused variable 'temp' 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 @@ -28,40 +30,39 @@ autogenerated:67: warning: 'long int convert_to_dec(float)' declared 'static' bu 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:299: warning: 'void do_loiter_turns()' defined but not used -/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:425: warning: 'bool verify_loiter_unlim()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/commands_logic.pde:431: 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:211: warning: 'void heli_init_swash()' declared 'static' but never defined autogenerated:212: warning: 'void heli_move_servos_to_mid()' declared 'static' but never defined autogenerated:213: warning: 'void heli_move_swash(int, int, int, int)' declared 'static' but never defined autogenerated:236: 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:152: warning: 'int get_loiter_angle()' defined but not used -autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined -autogenerated:255: warning: 'long int cross_track_test()' declared 'static' but never defined -autogenerated:256: 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 +autogenerated:252: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used +autogenerated:256: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined +autogenerated:257: warning: 'long int cross_track_test()' declared 'static' but never defined +autogenerated:258: warning: 'void reset_crosstrack()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:273: warning: 'long int get_altitude_above_home()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/navigation.pde:294: 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 readCommands()' declared 'static' but never defined +autogenerated:271: 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:274: 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:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined -autogenerated:295: warning: 'int read_num_from_serial()' declared 'static' but never defined +autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined +autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined +autogenerated:296: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined +autogenerated:297: 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:310: warning: 'void init_optflow()' declared 'static' but never defined -autogenerated:318: 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: 'new_location' defined but not used +autogenerated:312: warning: 'void init_optflow()' declared 'static' but never defined +autogenerated:320: warning: 'void fake_out_gps()' declared 'static' but never defined +/root/apm/ardupilot-mega/ArduCopter/test.pde:1028: warning: 'void print_motor_out()' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:444: warning: 'undo_event' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:450: warning: 'condition_rate' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:464: warning: 'simple_WP' defined but not used +/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:469: 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 diff --git a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.size.txt b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.size.txt index f80ef8f541..78828f4315 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.size.txt +++ b/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.size.txt @@ -29,6 +29,7 @@ 00000001 d ground_start_count 00000001 b medium_loopCounter 00000001 b command_yaw_relative +00000001 d jump 00000001 b event_id 00000001 b led_mode 00000001 b yaw_mode @@ -562,6 +563,7 @@ 000000ea t Log_Read_Control_Tuning() 000000ee t report_batt_monitor() 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*) @@ -610,13 +612,13 @@ 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() +0000042c T update_throttle_mode() 000005ee t init_ardupilot() +000006e6 t update_nav_wp() 000007b0 t __static_initialization_and_destruction_0(int, int) 000007ea b g -0000085a t process_next_command() -0000089c W Parameters::Parameters() +00000874 t process_next_command() +00000894 W Parameters::Parameters() 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) -00001aae T loop +00001b4e T loop diff --git a/Tools/ArdupilotMegaPlanner/Firmware/firmware2.xml b/Tools/ArdupilotMegaPlanner/Firmware/firmware2.xml index 51cc41fd09..2fafeaa560 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/firmware2.xml +++ b/Tools/ArdupilotMegaPlanner/Firmware/firmware2.xml @@ -58,7 +58,7 @@ 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 V2.0.44 Beta Quad + ArduCopter V2.0.45 Beta Quad #define FRAME_CONFIG QUAD_FRAME #define FRAME_ORIENTATION X_FRAME @@ -69,7 +69,7 @@ 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 V2.0.44 Beta Tri + ArduCopter V2.0.45 Beta Tri #define FRAME_CONFIG TRI_FRAME #define FRAME_ORIENTATION X_FRAME @@ -80,7 +80,7 @@ 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 V2.0.44 Beta Hexa + ArduCopter V2.0.45 Beta Hexa #define FRAME_CONFIG HEXA_FRAME #define FRAME_ORIENTATION X_FRAME @@ -91,7 +91,7 @@ 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 V2.0.44 Beta Y6 + ArduCopter V2.0.45 Beta Y6 #define FRAME_CONFIG Y6_FRAME #define FRAME_ORIENTATION X_FRAME @@ -148,7 +148,7 @@ 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 V2.0.44 Beta Quad Hil + ArduCopter V2.0.45 Beta Quad Hil #define FRAME_CONFIG QUAD_FRAME #define FRAME_ORIENTATION PLUS_FRAME diff --git a/Tools/ArdupilotMegaPlanner/Firmware/git.log b/Tools/ArdupilotMegaPlanner/Firmware/git.log index a1d880e98d..6e2816492f 100644 --- a/Tools/ArdupilotMegaPlanner/Firmware/git.log +++ b/Tools/ArdupilotMegaPlanner/Firmware/git.log @@ -1,12 +1,14 @@ From https://code.google.com/p/ardupilot-mega - 35e16dd..27704d4 APM_Camera -> origin/APM_Camera - 8b96023..787dacf master -> origin/master -Updating 8b96023..787dacf + 27704d4..61a4415 APM_Camera -> origin/APM_Camera + f7f1c0b..43c6a23 master -> origin/master +Updating f7f1c0b..43c6a23 Fast-forward - ArduCopter/Mavlink_Common.h | 17 ----------------- - ArduCopter/commands_logic.pde | 18 ++++++++++++------ - ArduCopter/config.h | 4 ++-- - ArduPlane/GCS_Mavlink.pde | 10 ---------- - libraries/GCS_MAVLink/GCS_MAVLink.cpp | 9 +++++++++ - libraries/GCS_MAVLink/GCS_MAVLink.h | 2 ++ - 6 files changed, 25 insertions(+), 35 deletions(-) + ArduCopter/APM_Config.h | 5 +++- + ArduCopter/ArduCopter.pde | 50 +++++++++++++++++++----------------- + ArduCopter/Attitude.pde | 2 +- + ArduCopter/commands_logic.pde | 44 ++++++++++++++++++++++++-------- + ArduCopter/config.h | 10 +++--- + ArduCopter/heli.pde | 7 ++++- + ArduCopter/navigation.pde | 56 +++++++++++++++++++++++++++++++++++++++++ + ArduCopter/test.pde | 36 ++++++++++++++++++++++++++ + 8 files changed, 167 insertions(+), 43 deletions(-)