Merge remote-tracking branch 'origin/master'

This commit is contained in:
rmackay9 2011-09-25 16:55:52 +09:00
commit bd79e1f73c
25 changed files with 385 additions and 349 deletions

View File

@ -220,6 +220,6 @@ static int get_angle_boost()
{ {
float temp = cos_pitch_x * cos_roll_x; float temp = cos_pitch_x * cos_roll_x;
temp = 1.0 - constrain(temp, .5, 1.0); temp = 1.0 - constrain(temp, .5, 1.0);
return (int)(temp * 60.0); return (int)(temp * g.throttle_cruise);
} }

View File

@ -406,20 +406,20 @@
# define STABILIZE_ROLL_P 4.2 # define STABILIZE_ROLL_P 4.2
#endif #endif
#ifndef STABILIZE_ROLL_I #ifndef STABILIZE_ROLL_I
# define STABILIZE_ROLL_I 0.008 # define STABILIZE_ROLL_I 0.001
#endif #endif
#ifndef STABILIZE_ROLL_IMAX #ifndef STABILIZE_ROLL_IMAX
# define STABILIZE_ROLL_IMAX 3 // degrees # define STABILIZE_ROLL_IMAX 0 // degrees
#endif #endif
#ifndef STABILIZE_PITCH_P #ifndef STABILIZE_PITCH_P
# define STABILIZE_PITCH_P 4.2 # define STABILIZE_PITCH_P 4.2
#endif #endif
#ifndef STABILIZE_PITCH_I #ifndef STABILIZE_PITCH_I
# define STABILIZE_PITCH_I 0.008 # define STABILIZE_PITCH_I 0.001
#endif #endif
#ifndef STABILIZE_PITCH_IMAX #ifndef STABILIZE_PITCH_IMAX
# define STABILIZE_PITCH_IMAX 3 // degrees # define STABILIZE_PITCH_IMAX 0 // degrees
#endif #endif
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
@ -502,7 +502,7 @@
#endif #endif
#ifndef WAYPOINT_SPEED_MAX #ifndef WAYPOINT_SPEED_MAX
# define WAYPOINT_SPEED_MAX 450 // for 6m/s error = 13mph # define WAYPOINT_SPEED_MAX 400 // for 6m/s error = 13mph
#endif #endif

View File

@ -116,12 +116,16 @@ static void calc_nav_rate(int x_error, int y_error, int max_speed, int min_speed
nav_lon = constrain(g.pi_nav_lon.get_pi(x_rate_error, dTnav), -3500, 3500); nav_lon = constrain(g.pi_nav_lon.get_pi(x_rate_error, dTnav), -3500, 3500);
} }
#define NAV2_ERR_MAX 600.0
static void calc_nav_rate2(int max_speed) static void calc_nav_rate2(int max_speed)
{ {
float scaler = (float)wp_distance / NAV2_ERR_MAX; /*
scaler = constrain(scaler, 0.0, 1.0); 0 1 2 3 4 5 6 7 8
max_speed = (float)max_speed * scaler; ...|...|...|...|...|...|...|...|
100 200 300 400
+|+
*/
max_speed = min(max_speed, (wp_distance * 50));
// XXX target_angle should be the original desired target angle! // XXX target_angle should be the original desired target angle!
float temp = radians((original_target_bearing - g_gps->ground_course)/100.0); float temp = radians((original_target_bearing - g_gps->ground_course)/100.0);

View File

@ -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: 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: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: 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: 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: At global scope:
autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined
autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated: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:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined
autogenerated:146: warning: 'void decrement_WP_index()' 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.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:431: warning: 'bool verify_loiter_unlim()' 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/events.pde:46: warning: 'void low_battery_event()' 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: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: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: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:236: warning: 'void debug_motors()' declared 'static' but never defined
autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined autogenerated:252: 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 /root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used
autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:256: 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:257: warning: 'long int cross_track_test()' declared 'static' but never defined
autogenerated:256: warning: 'void reset_crosstrack()' declared 'static' but never defined autogenerated:258: 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:273: warning: 'long int get_altitude_above_home()' defined but not used
/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/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: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 /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:270: warning: 'void readCommands()' declared 'static' but never defined
autogenerated:269: warning: 'void parseCommand(char*)' 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 /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: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 /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:288: warning: 'void report_heli()' declared 'static' but never defined
autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined
autogenerated:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:296: 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: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 /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:312: warning: 'void init_optflow()' declared 'static' but never defined
autogenerated:318: warning: 'void fake_out_gps()' declared 'static' but never defined autogenerated:320: 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/test.pde:1028: 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:444: 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:450: 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:464: warning: 'simple_WP' defined but not used
/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' 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/control_modes.pde:48: warning: 'trim_flag' defined but not used
%% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_BMP085/APM_BMP085.o
%% libraries/APM_PI/APM_PI.o %% libraries/APM_PI/APM_PI.o

View File

@ -29,6 +29,7 @@
00000001 d ground_start_count 00000001 d ground_start_count
00000001 b medium_loopCounter 00000001 b medium_loopCounter
00000001 b command_yaw_relative 00000001 b command_yaw_relative
00000001 d jump
00000001 b event_id 00000001 b event_id
00000001 b led_mode 00000001 b led_mode
00000001 b yaw_mode 00000001 b yaw_mode
@ -562,6 +563,7 @@
000000ea t Log_Read_Control_Tuning() 000000ea t Log_Read_Control_Tuning()
000000ee t report_batt_monitor() 000000ee t report_batt_monitor()
000000f6 t Log_Read_Cmd() 000000f6 t Log_Read_Cmd()
000000fa t calc_nav_pitch_roll()
0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t send_raw_imu2(mavlink_channel_t)
0000010a t test_gps(unsigned char, Menu::arg const*) 0000010a t test_gps(unsigned char, Menu::arg const*)
0000010c t test_current(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) 00000354 t calc_nav_rate(int, int, int, int)
00000384 t print_log_menu() 00000384 t print_log_menu()
000003a0 t read_battery() 000003a0 t read_battery()
000003d2 T update_throttle_mode()
00000410 T update_yaw_mode() 00000410 T update_yaw_mode()
0000049a t update_nav_wp() 0000042c T update_throttle_mode()
000005ee t init_ardupilot() 000005ee t init_ardupilot()
000006e6 t update_nav_wp()
000007b0 t __static_initialization_and_destruction_0(int, int) 000007b0 t __static_initialization_and_destruction_0(int, int)
000007ea b g 000007ea b g
0000085a t process_next_command() 00000874 t process_next_command()
0000089c W Parameters::Parameters() 00000894 W Parameters::Parameters()
00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*)
00001ba2 T loop 00001c42 T loop

View File

@ -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: 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: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: 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: 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: At global scope:
autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined
autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated: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:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined
autogenerated:146: warning: 'void decrement_WP_index()' 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.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:431: warning: 'bool verify_loiter_unlim()' 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/events.pde:46: warning: 'void low_battery_event()' 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: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: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: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:236: warning: 'void debug_motors()' declared 'static' but never defined
autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined autogenerated:252: 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 /root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used
autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:256: 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:257: warning: 'long int cross_track_test()' declared 'static' but never defined
autogenerated:256: warning: 'void reset_crosstrack()' declared 'static' but never defined autogenerated:258: 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:273: warning: 'long int get_altitude_above_home()' defined but not used
/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/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: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 /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:270: warning: 'void readCommands()' declared 'static' but never defined
autogenerated:269: warning: 'void parseCommand(char*)' 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 /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: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 /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:288: warning: 'void report_heli()' declared 'static' but never defined
autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined
autogenerated:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:296: 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: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 /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:312: warning: 'void init_optflow()' declared 'static' but never defined
autogenerated:318: warning: 'void fake_out_gps()' declared 'static' but never defined autogenerated:320: 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/test.pde:1028: 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:444: 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:450: 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:464: warning: 'simple_WP' defined but not used
/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' 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/control_modes.pde:48: warning: 'trim_flag' defined but not used
%% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_BMP085/APM_BMP085.o
%% libraries/APM_PI/APM_PI.o %% libraries/APM_PI/APM_PI.o

View File

@ -29,6 +29,7 @@
00000001 d ground_start_count 00000001 d ground_start_count
00000001 b medium_loopCounter 00000001 b medium_loopCounter
00000001 b command_yaw_relative 00000001 b command_yaw_relative
00000001 d jump
00000001 b event_id 00000001 b event_id
00000001 b led_mode 00000001 b led_mode
00000001 b yaw_mode 00000001 b yaw_mode
@ -562,6 +563,7 @@
000000ea t Log_Read_Control_Tuning() 000000ea t Log_Read_Control_Tuning()
000000ee t report_batt_monitor() 000000ee t report_batt_monitor()
000000f6 t Log_Read_Cmd() 000000f6 t Log_Read_Cmd()
000000fa t calc_nav_pitch_roll()
0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t send_raw_imu2(mavlink_channel_t)
0000010a t test_gps(unsigned char, Menu::arg const*) 0000010a t test_gps(unsigned char, Menu::arg const*)
0000010c t test_current(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) 00000354 t calc_nav_rate(int, int, int, int)
00000382 t print_log_menu() 00000382 t print_log_menu()
000003a0 t read_battery() 000003a0 t read_battery()
000003d2 T update_throttle_mode()
00000410 T update_yaw_mode() 00000410 T update_yaw_mode()
0000049a t update_nav_wp() 0000042c T update_throttle_mode()
000005ee t init_ardupilot() 000005ee t init_ardupilot()
000006e6 t update_nav_wp()
000007b0 t __static_initialization_and_destruction_0(int, int) 000007b0 t __static_initialization_and_destruction_0(int, int)
000007ea b g 000007ea b g
0000085a t process_next_command() 00000874 t process_next_command()
0000089c W Parameters::Parameters() 00000894 W Parameters::Parameters()
00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*)
00001ba0 T loop 00001c40 T loop

View File

@ -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: 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: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: 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: 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: At global scope:
autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined
autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated: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 /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 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.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:431: warning: 'bool verify_loiter_unlim()' 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/events.pde:46: warning: 'void low_battery_event()' 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: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: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: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:236: warning: 'void debug_motors()' declared 'static' but never defined
autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined autogenerated:252: 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 /root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used
autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:256: 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:257: warning: 'long int cross_track_test()' declared 'static' but never defined
autogenerated:256: warning: 'void reset_crosstrack()' declared 'static' but never defined autogenerated:258: 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:273: warning: 'long int get_altitude_above_home()' defined but not used
/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/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: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 /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:270: warning: 'void readCommands()' declared 'static' but never defined
autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined autogenerated:271: warning: 'void parseCommand(char*)' declared 'static' but never defined
autogenerated:270: warning: 'void ReadSCP1000()' declared 'static' but never defined autogenerated:272: warning: 'void ReadSCP1000()' declared 'static' but never defined
autogenerated:271: warning: 'void init_barometer()' declared 'static' but never defined autogenerated:273: warning: 'void init_barometer()' declared 'static' but never defined
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
autogenerated:273: warning: 'long int read_barometer()' declared 'static' but never defined autogenerated:275: warning: 'long int read_barometer()' declared 'static' but never defined
autogenerated:274: warning: 'void read_airspeed()' declared 'static' but never defined autogenerated:276: warning: 'void read_airspeed()' declared 'static' but never defined
autogenerated:275: warning: 'void zero_airspeed()' declared 'static' but never defined autogenerated:277: warning: 'void zero_airspeed()' declared 'static' but never defined
autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined
autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined
autogenerated:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:296: 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: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 /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:312: warning: 'void init_optflow()' declared 'static' but never defined
autogenerated:318: warning: 'void fake_out_gps()' declared 'static' but never defined autogenerated:320: 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/test.pde:1028: 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:352: 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: '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_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:372: 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:377: 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:444: 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:450: 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:464: warning: 'simple_WP' defined but not used
/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' 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/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: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_BMP085/APM_BMP085.o
%% libraries/APM_PI/APM_PI.o %% libraries/APM_PI/APM_PI.o
%% libraries/APM_RC/APM_RC.o %% libraries/APM_RC/APM_RC.o

View File

@ -29,6 +29,7 @@
00000001 d ground_start_count 00000001 d ground_start_count
00000001 b medium_loopCounter 00000001 b medium_loopCounter
00000001 b command_yaw_relative 00000001 b command_yaw_relative
00000001 d jump
00000001 b event_id 00000001 b event_id
00000001 b led_mode 00000001 b led_mode
00000001 b yaw_mode 00000001 b yaw_mode
@ -550,6 +551,7 @@
000000ea t Log_Read_Control_Tuning() 000000ea t Log_Read_Control_Tuning()
000000ee t report_batt_monitor() 000000ee t report_batt_monitor()
000000f6 t Log_Read_Cmd() 000000f6 t Log_Read_Cmd()
000000fa t calc_nav_pitch_roll()
00000100 r test_menu_commands 00000100 r test_menu_commands
0000010a t test_gps(unsigned char, Menu::arg const*) 0000010a t test_gps(unsigned char, Menu::arg const*)
0000010c t test_current(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) 00000354 t calc_nav_rate(int, int, int, int)
00000384 t print_log_menu() 00000384 t print_log_menu()
000003a0 t read_battery() 000003a0 t read_battery()
000003d2 T update_throttle_mode()
00000410 T update_yaw_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) 00000580 t __static_initialization_and_destruction_0(int, int)
000005d6 t init_ardupilot() 000005d6 t init_ardupilot()
000006e6 t update_nav_wp()
000007ea b g 000007ea b g
0000085a t process_next_command() 00000874 t process_next_command()
0000089c W Parameters::Parameters() 00000894 W Parameters::Parameters()
000014f2 T GCS_MAVLINK::handleMessage(__mavlink_message*) 000014f2 T GCS_MAVLINK::handleMessage(__mavlink_message*)
000014fa T loop 00001598 T loop

View File

@ -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: 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: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: 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: 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: At global scope:
autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined
autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated: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 /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 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.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:431: warning: 'bool verify_loiter_unlim()' 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/events.pde:46: warning: 'void low_battery_event()' 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: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: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: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:236: warning: 'void debug_motors()' declared 'static' but never defined
autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined autogenerated:252: 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 /root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used
autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:256: 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:257: warning: 'long int cross_track_test()' declared 'static' but never defined
autogenerated:256: warning: 'void reset_crosstrack()' declared 'static' but never defined autogenerated:258: 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:273: warning: 'long int get_altitude_above_home()' defined but not used
/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/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: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 /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:270: warning: 'void readCommands()' declared 'static' but never defined
autogenerated:269: warning: 'void parseCommand(char*)' declared 'static' but never defined autogenerated:271: warning: 'void parseCommand(char*)' declared 'static' but never defined
autogenerated:270: warning: 'void ReadSCP1000()' declared 'static' but never defined autogenerated:272: warning: 'void ReadSCP1000()' declared 'static' but never defined
autogenerated:271: warning: 'void init_barometer()' declared 'static' but never defined autogenerated:273: warning: 'void init_barometer()' declared 'static' but never defined
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
autogenerated:273: warning: 'long int read_barometer()' declared 'static' but never defined autogenerated:275: warning: 'long int read_barometer()' declared 'static' but never defined
autogenerated:274: warning: 'void read_airspeed()' declared 'static' but never defined autogenerated:276: warning: 'void read_airspeed()' declared 'static' but never defined
autogenerated:275: warning: 'void zero_airspeed()' declared 'static' but never defined autogenerated:277: warning: 'void zero_airspeed()' declared 'static' but never defined
autogenerated:286: warning: 'void report_heli()' declared 'static' but never defined autogenerated:288: warning: 'void report_heli()' declared 'static' but never defined
autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined
autogenerated:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:296: 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: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 /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:312: warning: 'void init_optflow()' declared 'static' but never defined
autogenerated:318: warning: 'void fake_out_gps()' declared 'static' but never defined autogenerated:320: 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/test.pde:1028: 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:352: 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: '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_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:372: 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:377: 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:444: 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:450: 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:464: warning: 'simple_WP' defined but not used
/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' 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/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: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_BMP085/APM_BMP085.o
%% libraries/APM_PI/APM_PI.o %% libraries/APM_PI/APM_PI.o
%% libraries/APM_RC/APM_RC.o %% libraries/APM_RC/APM_RC.o

View File

@ -29,6 +29,7 @@
00000001 d ground_start_count 00000001 d ground_start_count
00000001 b medium_loopCounter 00000001 b medium_loopCounter
00000001 b command_yaw_relative 00000001 b command_yaw_relative
00000001 d jump
00000001 b event_id 00000001 b event_id
00000001 b led_mode 00000001 b led_mode
00000001 b yaw_mode 00000001 b yaw_mode
@ -550,6 +551,7 @@
000000ea t Log_Read_Control_Tuning() 000000ea t Log_Read_Control_Tuning()
000000ee t report_batt_monitor() 000000ee t report_batt_monitor()
000000f6 t Log_Read_Cmd() 000000f6 t Log_Read_Cmd()
000000fa t calc_nav_pitch_roll()
00000100 r test_menu_commands 00000100 r test_menu_commands
0000010a t test_gps(unsigned char, Menu::arg const*) 0000010a t test_gps(unsigned char, Menu::arg const*)
0000010c t test_current(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) 00000354 t calc_nav_rate(int, int, int, int)
00000382 t print_log_menu() 00000382 t print_log_menu()
000003a0 t read_battery() 000003a0 t read_battery()
000003d2 T update_throttle_mode()
00000410 T update_yaw_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) 00000580 t __static_initialization_and_destruction_0(int, int)
000005d6 t init_ardupilot() 000005d6 t init_ardupilot()
000006e6 t update_nav_wp()
000007ea b g 000007ea b g
0000085a t process_next_command() 00000874 t process_next_command()
0000089c W Parameters::Parameters() 00000894 W Parameters::Parameters()
000014f2 T GCS_MAVLINK::handleMessage(__mavlink_message*) 000014f2 T GCS_MAVLINK::handleMessage(__mavlink_message*)
000014f8 T loop 00001596 T loop

View File

@ -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: 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: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: 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: 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: At global scope:
autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined
autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated: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:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined
autogenerated:146: warning: 'void decrement_WP_index()' 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.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:431: warning: 'bool verify_loiter_unlim()' 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/events.pde:46: warning: 'void low_battery_event()' 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: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: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: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:236: warning: 'void debug_motors()' declared 'static' but never defined
autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined autogenerated:252: 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 /root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used
autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:256: 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:257: warning: 'long int cross_track_test()' declared 'static' but never defined
autogenerated:256: warning: 'void reset_crosstrack()' declared 'static' but never defined autogenerated:258: 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:273: warning: 'long int get_altitude_above_home()' defined but not used
/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/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: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 /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:270: warning: 'void readCommands()' declared 'static' but never defined
autogenerated:269: warning: 'void parseCommand(char*)' 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 /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: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 /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:288: warning: 'void report_heli()' declared 'static' but never defined
autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined
autogenerated:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:296: 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: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 /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:312: warning: 'void init_optflow()' declared 'static' but never defined
autogenerated:318: warning: 'void fake_out_gps()' declared 'static' but never defined autogenerated:320: 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/test.pde:1028: 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:444: 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:450: 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:464: warning: 'simple_WP' defined but not used
/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' 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/control_modes.pde:48: warning: 'trim_flag' defined but not used
%% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_BMP085/APM_BMP085.o
%% libraries/APM_PI/APM_PI.o %% libraries/APM_PI/APM_PI.o

View File

@ -29,6 +29,7 @@
00000001 d ground_start_count 00000001 d ground_start_count
00000001 b medium_loopCounter 00000001 b medium_loopCounter
00000001 b command_yaw_relative 00000001 b command_yaw_relative
00000001 d jump
00000001 b event_id 00000001 b event_id
00000001 b led_mode 00000001 b led_mode
00000001 b yaw_mode 00000001 b yaw_mode
@ -562,6 +563,7 @@
000000ea t Log_Read_Control_Tuning() 000000ea t Log_Read_Control_Tuning()
000000ee t report_batt_monitor() 000000ee t report_batt_monitor()
000000f6 t Log_Read_Cmd() 000000f6 t Log_Read_Cmd()
000000fa t calc_nav_pitch_roll()
0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t send_raw_imu2(mavlink_channel_t)
0000010a t test_gps(unsigned char, Menu::arg const*) 0000010a t test_gps(unsigned char, Menu::arg const*)
0000010c t test_current(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) 00000354 t calc_nav_rate(int, int, int, int)
00000384 t print_log_menu() 00000384 t print_log_menu()
000003a0 t read_battery() 000003a0 t read_battery()
000003d2 T update_throttle_mode()
00000410 T update_yaw_mode() 00000410 T update_yaw_mode()
0000049a t update_nav_wp() 0000042c T update_throttle_mode()
000005ee t init_ardupilot() 000005ee t init_ardupilot()
000006e6 t update_nav_wp()
000007b0 t __static_initialization_and_destruction_0(int, int) 000007b0 t __static_initialization_and_destruction_0(int, int)
000007ea b g 000007ea b g
0000085a t process_next_command() 00000874 t process_next_command()
0000089c W Parameters::Parameters() 00000894 W Parameters::Parameters()
00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*)
00001a70 T loop 00001b10 T loop

View File

@ -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: 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: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: 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: 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: At global scope:
autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined
autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated: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:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined
autogenerated:146: warning: 'void decrement_WP_index()' 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.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:431: warning: 'bool verify_loiter_unlim()' 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/events.pde:46: warning: 'void low_battery_event()' 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: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: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: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:236: warning: 'void debug_motors()' declared 'static' but never defined
autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined autogenerated:252: 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 /root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used
autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:256: 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:257: warning: 'long int cross_track_test()' declared 'static' but never defined
autogenerated:256: warning: 'void reset_crosstrack()' declared 'static' but never defined autogenerated:258: 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:273: warning: 'long int get_altitude_above_home()' defined but not used
/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/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: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 /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:270: warning: 'void readCommands()' declared 'static' but never defined
autogenerated:269: warning: 'void parseCommand(char*)' 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 /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: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 /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:288: warning: 'void report_heli()' declared 'static' but never defined
autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined
autogenerated:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:296: 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: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 /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:312: warning: 'void init_optflow()' declared 'static' but never defined
autogenerated:318: warning: 'void fake_out_gps()' declared 'static' but never defined autogenerated:320: 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/test.pde:1028: 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:444: 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:450: 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:464: warning: 'simple_WP' defined but not used
/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' 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/control_modes.pde:48: warning: 'trim_flag' defined but not used
%% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_BMP085/APM_BMP085.o
%% libraries/APM_PI/APM_PI.o %% libraries/APM_PI/APM_PI.o

View File

@ -29,6 +29,7 @@
00000001 d ground_start_count 00000001 d ground_start_count
00000001 b medium_loopCounter 00000001 b medium_loopCounter
00000001 b command_yaw_relative 00000001 b command_yaw_relative
00000001 d jump
00000001 b event_id 00000001 b event_id
00000001 b led_mode 00000001 b led_mode
00000001 b yaw_mode 00000001 b yaw_mode
@ -562,6 +563,7 @@
000000ea t Log_Read_Control_Tuning() 000000ea t Log_Read_Control_Tuning()
000000ee t report_batt_monitor() 000000ee t report_batt_monitor()
000000f6 t Log_Read_Cmd() 000000f6 t Log_Read_Cmd()
000000fa t calc_nav_pitch_roll()
0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t send_raw_imu2(mavlink_channel_t)
0000010a t test_gps(unsigned char, Menu::arg const*) 0000010a t test_gps(unsigned char, Menu::arg const*)
0000010c t test_current(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) 00000354 t calc_nav_rate(int, int, int, int)
00000382 t print_log_menu() 00000382 t print_log_menu()
000003a0 t read_battery() 000003a0 t read_battery()
000003d2 T update_throttle_mode()
00000410 T update_yaw_mode() 00000410 T update_yaw_mode()
0000049a t update_nav_wp() 0000042c T update_throttle_mode()
000005ee t init_ardupilot() 000005ee t init_ardupilot()
000006e6 t update_nav_wp()
000007b0 t __static_initialization_and_destruction_0(int, int) 000007b0 t __static_initialization_and_destruction_0(int, int)
000007ea b g 000007ea b g
0000085a t process_next_command() 00000874 t process_next_command()
0000089c W Parameters::Parameters() 00000894 W Parameters::Parameters()
00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*)
00001a6e T loop 00001b0e T loop

View File

@ -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: 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: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: 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: 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: At global scope:
autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined
autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated: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:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined
autogenerated:146: warning: 'void decrement_WP_index()' 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.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:431: warning: 'bool verify_loiter_unlim()' 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/events.pde:46: warning: 'void low_battery_event()' 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: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: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: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:236: warning: 'void debug_motors()' declared 'static' but never defined
autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined autogenerated:252: 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 /root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used
autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:256: 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:257: warning: 'long int cross_track_test()' declared 'static' but never defined
autogenerated:256: warning: 'void reset_crosstrack()' declared 'static' but never defined autogenerated:258: 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:273: warning: 'long int get_altitude_above_home()' defined but not used
/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/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: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 /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:270: warning: 'void readCommands()' declared 'static' but never defined
autogenerated:269: warning: 'void parseCommand(char*)' 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 /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: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 /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:288: warning: 'void report_heli()' declared 'static' but never defined
autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined
autogenerated:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:296: 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: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 /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:312: warning: 'void init_optflow()' declared 'static' but never defined
autogenerated:318: warning: 'void fake_out_gps()' declared 'static' but never defined autogenerated:320: 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/test.pde:1028: 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:444: 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:450: 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:464: warning: 'simple_WP' defined but not used
/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' 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/control_modes.pde:48: warning: 'trim_flag' defined but not used
%% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_BMP085/APM_BMP085.o
%% libraries/APM_PI/APM_PI.o %% libraries/APM_PI/APM_PI.o

View File

@ -29,6 +29,7 @@
00000001 d ground_start_count 00000001 d ground_start_count
00000001 b medium_loopCounter 00000001 b medium_loopCounter
00000001 b command_yaw_relative 00000001 b command_yaw_relative
00000001 d jump
00000001 b event_id 00000001 b event_id
00000001 b led_mode 00000001 b led_mode
00000001 b yaw_mode 00000001 b yaw_mode
@ -563,12 +564,13 @@
000000ea t Log_Read_Control_Tuning() 000000ea t Log_Read_Control_Tuning()
000000ee t report_batt_monitor() 000000ee t report_batt_monitor()
000000f6 t Log_Read_Cmd() 000000f6 t Log_Read_Cmd()
000000fa t calc_nav_pitch_roll()
0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t send_raw_imu2(mavlink_channel_t)
0000010a t test_gps(unsigned char, Menu::arg const*) 0000010a t test_gps(unsigned char, Menu::arg const*)
0000010c t test_current(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*) 0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*)
0000010e t send_servo_out(mavlink_channel_t) 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)
00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int)
00000118 t set_command_with_index(Location, int) 00000118 t set_command_with_index(Location, int)
@ -610,13 +612,13 @@
00000354 t calc_nav_rate(int, int, int, int) 00000354 t calc_nav_rate(int, int, int, int)
00000384 t print_log_menu() 00000384 t print_log_menu()
000003a0 t read_battery() 000003a0 t read_battery()
000003d2 T update_throttle_mode()
00000410 T update_yaw_mode() 00000410 T update_yaw_mode()
0000049a t update_nav_wp() 0000042c T update_throttle_mode()
000005ee t init_ardupilot() 000005ee t init_ardupilot()
000006e6 t update_nav_wp()
000007b0 t __static_initialization_and_destruction_0(int, int) 000007b0 t __static_initialization_and_destruction_0(int, int)
000007ea b g 000007ea b g
0000085a t process_next_command() 00000874 t process_next_command()
0000089c W Parameters::Parameters() 00000894 W Parameters::Parameters()
00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*)
000019d0 T loop 00001a70 T loop

View File

@ -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: 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: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: 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: 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: At global scope:
autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined
autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated: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:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined
autogenerated:146: warning: 'void decrement_WP_index()' 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.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:431: warning: 'bool verify_loiter_unlim()' 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/events.pde:46: warning: 'void low_battery_event()' 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: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: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: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:236: warning: 'void debug_motors()' declared 'static' but never defined
autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined autogenerated:252: 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 /root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used
autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:256: 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:257: warning: 'long int cross_track_test()' declared 'static' but never defined
autogenerated:256: warning: 'void reset_crosstrack()' declared 'static' but never defined autogenerated:258: 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:273: warning: 'long int get_altitude_above_home()' defined but not used
/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/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: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 /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:270: warning: 'void readCommands()' declared 'static' but never defined
autogenerated:269: warning: 'void parseCommand(char*)' 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 /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: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 /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:288: warning: 'void report_heli()' declared 'static' but never defined
autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined
autogenerated:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:296: 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: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 /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:312: warning: 'void init_optflow()' declared 'static' but never defined
autogenerated:318: warning: 'void fake_out_gps()' declared 'static' but never defined autogenerated:320: 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/test.pde:1028: 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:444: 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:450: 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:464: warning: 'simple_WP' defined but not used
/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' 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/control_modes.pde:48: warning: 'trim_flag' defined but not used
%% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_BMP085/APM_BMP085.o
%% libraries/APM_PI/APM_PI.o %% libraries/APM_PI/APM_PI.o

View File

@ -29,6 +29,7 @@
00000001 d ground_start_count 00000001 d ground_start_count
00000001 b medium_loopCounter 00000001 b medium_loopCounter
00000001 b command_yaw_relative 00000001 b command_yaw_relative
00000001 d jump
00000001 b event_id 00000001 b event_id
00000001 b led_mode 00000001 b led_mode
00000001 b yaw_mode 00000001 b yaw_mode
@ -563,12 +564,13 @@
000000ea t Log_Read_Control_Tuning() 000000ea t Log_Read_Control_Tuning()
000000ee t report_batt_monitor() 000000ee t report_batt_monitor()
000000f6 t Log_Read_Cmd() 000000f6 t Log_Read_Cmd()
000000fa t calc_nav_pitch_roll()
0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t send_raw_imu2(mavlink_channel_t)
0000010a t test_gps(unsigned char, Menu::arg const*) 0000010a t test_gps(unsigned char, Menu::arg const*)
0000010c t test_current(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*) 0000010c W RC_Channel::RC_Channel(unsigned int, prog_char_t const*)
0000010e t send_servo_out(mavlink_channel_t) 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)
00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int) 00000112 T GCS_MAVLINK::GCS_MAVLINK(unsigned int)
00000118 t set_command_with_index(Location, int) 00000118 t set_command_with_index(Location, int)
@ -610,13 +612,13 @@
00000354 t calc_nav_rate(int, int, int, int) 00000354 t calc_nav_rate(int, int, int, int)
00000382 t print_log_menu() 00000382 t print_log_menu()
000003a0 t read_battery() 000003a0 t read_battery()
000003d2 T update_throttle_mode()
00000410 T update_yaw_mode() 00000410 T update_yaw_mode()
0000049a t update_nav_wp() 0000042c T update_throttle_mode()
000005ee t init_ardupilot() 000005ee t init_ardupilot()
000006e6 t update_nav_wp()
000007b0 t __static_initialization_and_destruction_0(int, int) 000007b0 t __static_initialization_and_destruction_0(int, int)
000007ea b g 000007ea b g
0000085a t process_next_command() 00000874 t process_next_command()
0000089c W Parameters::Parameters() 00000894 W Parameters::Parameters()
00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*)
000019ce T loop 00001a6e T loop

View File

@ -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: 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: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: 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: 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: At global scope:
autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined
autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated: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:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined
autogenerated:146: warning: 'void decrement_WP_index()' 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.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:431: warning: 'bool verify_loiter_unlim()' 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/events.pde:46: warning: 'void low_battery_event()' 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: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: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: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:236: warning: 'void debug_motors()' declared 'static' but never defined
autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined autogenerated:252: 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 /root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used
autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:256: 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:257: warning: 'long int cross_track_test()' declared 'static' but never defined
autogenerated:256: warning: 'void reset_crosstrack()' declared 'static' but never defined autogenerated:258: 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:273: warning: 'long int get_altitude_above_home()' defined but not used
/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/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: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 /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:270: warning: 'void readCommands()' declared 'static' but never defined
autogenerated:269: warning: 'void parseCommand(char*)' 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 /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: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 /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:288: warning: 'void report_heli()' declared 'static' but never defined
autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined
autogenerated:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:296: 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: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 /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:312: warning: 'void init_optflow()' declared 'static' but never defined
autogenerated:318: warning: 'void fake_out_gps()' declared 'static' but never defined autogenerated:320: 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/test.pde:1028: 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:444: 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:450: 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:464: warning: 'simple_WP' defined but not used
/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' 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/control_modes.pde:48: warning: 'trim_flag' defined but not used
%% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_BMP085/APM_BMP085.o
%% libraries/APM_PI/APM_PI.o %% libraries/APM_PI/APM_PI.o

View File

@ -29,6 +29,7 @@
00000001 d ground_start_count 00000001 d ground_start_count
00000001 b medium_loopCounter 00000001 b medium_loopCounter
00000001 b command_yaw_relative 00000001 b command_yaw_relative
00000001 d jump
00000001 b event_id 00000001 b event_id
00000001 b led_mode 00000001 b led_mode
00000001 b yaw_mode 00000001 b yaw_mode
@ -562,6 +563,7 @@
000000ea t Log_Read_Control_Tuning() 000000ea t Log_Read_Control_Tuning()
000000ee t report_batt_monitor() 000000ee t report_batt_monitor()
000000f6 t Log_Read_Cmd() 000000f6 t Log_Read_Cmd()
000000fa t calc_nav_pitch_roll()
0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t send_raw_imu2(mavlink_channel_t)
0000010a t test_gps(unsigned char, Menu::arg const*) 0000010a t test_gps(unsigned char, Menu::arg const*)
0000010c t test_current(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) 00000354 t calc_nav_rate(int, int, int, int)
00000384 t print_log_menu() 00000384 t print_log_menu()
000003a0 t read_battery() 000003a0 t read_battery()
000003d2 T update_throttle_mode()
00000410 T update_yaw_mode() 00000410 T update_yaw_mode()
0000049a t update_nav_wp() 0000042c T update_throttle_mode()
000005ee t init_ardupilot() 000005ee t init_ardupilot()
000006e6 t update_nav_wp()
000007b0 t __static_initialization_and_destruction_0(int, int) 000007b0 t __static_initialization_and_destruction_0(int, int)
000007ea b g 000007ea b g
0000085a t process_next_command() 00000874 t process_next_command()
0000089c W Parameters::Parameters() 00000894 W Parameters::Parameters()
00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*)
00001ab0 T loop 00001b50 T loop

View File

@ -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: 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: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: 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: 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: At global scope:
autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined autogenerated:31: warning: 'int alt_hold_velocity()' declared 'static' but never defined
autogenerated:83: warning: 'void acknowledge(byte, byte, byte)' declared 'static' but never defined autogenerated: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:136: warning: 'void Log_Write_Optflow()' declared 'static' but never defined
autogenerated:146: warning: 'void decrement_WP_index()' 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.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:431: warning: 'bool verify_loiter_unlim()' 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/events.pde:46: warning: 'void low_battery_event()' 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: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: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: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:236: warning: 'void debug_motors()' declared 'static' but never defined
autogenerated:250: warning: 'void calc_altitude_smoothing_error()' declared 'static' but never defined autogenerated:252: 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 /root/apm/ardupilot-mega/ArduCopter/navigation.pde:208: warning: 'int get_loiter_angle()' defined but not used
autogenerated:254: warning: 'long int get_crosstrack_correction()' declared 'static' but never defined autogenerated:256: 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:257: warning: 'long int cross_track_test()' declared 'static' but never defined
autogenerated:256: warning: 'void reset_crosstrack()' declared 'static' but never defined autogenerated:258: 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:273: warning: 'long int get_altitude_above_home()' defined but not used
/root/apm/ardupilot-mega/ArduCopter/navigation.pde:238: warning: 'long int get_alt_distance(Location*, Location*)' defined but not used /root/apm/ardupilot-mega/ArduCopter/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: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 /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:270: warning: 'void readCommands()' declared 'static' but never defined
autogenerated:269: warning: 'void parseCommand(char*)' 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 /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: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 /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:288: warning: 'void report_heli()' declared 'static' but never defined
autogenerated:287: warning: 'void report_gyro()' declared 'static' but never defined autogenerated:289: warning: 'void report_gyro()' declared 'static' but never defined
autogenerated:294: warning: 'RC_Channel* heli_get_servo(int)' declared 'static' but never defined autogenerated:296: 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: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 /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:312: warning: 'void init_optflow()' declared 'static' but never defined
autogenerated:318: warning: 'void fake_out_gps()' declared 'static' but never defined autogenerated:320: 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/test.pde:1028: 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:444: 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:450: 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:464: warning: 'simple_WP' defined but not used
/root/apm/ardupilot-mega/ArduCopter/ArduCopter.pde:468: warning: 'new_location' 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/control_modes.pde:48: warning: 'trim_flag' defined but not used
%% libraries/APM_BMP085/APM_BMP085.o %% libraries/APM_BMP085/APM_BMP085.o
%% libraries/APM_PI/APM_PI.o %% libraries/APM_PI/APM_PI.o

View File

@ -29,6 +29,7 @@
00000001 d ground_start_count 00000001 d ground_start_count
00000001 b medium_loopCounter 00000001 b medium_loopCounter
00000001 b command_yaw_relative 00000001 b command_yaw_relative
00000001 d jump
00000001 b event_id 00000001 b event_id
00000001 b led_mode 00000001 b led_mode
00000001 b yaw_mode 00000001 b yaw_mode
@ -562,6 +563,7 @@
000000ea t Log_Read_Control_Tuning() 000000ea t Log_Read_Control_Tuning()
000000ee t report_batt_monitor() 000000ee t report_batt_monitor()
000000f6 t Log_Read_Cmd() 000000f6 t Log_Read_Cmd()
000000fa t calc_nav_pitch_roll()
0000010a t send_raw_imu2(mavlink_channel_t) 0000010a t send_raw_imu2(mavlink_channel_t)
0000010a t test_gps(unsigned char, Menu::arg const*) 0000010a t test_gps(unsigned char, Menu::arg const*)
0000010c t test_current(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) 00000354 t calc_nav_rate(int, int, int, int)
00000382 t print_log_menu() 00000382 t print_log_menu()
000003a0 t read_battery() 000003a0 t read_battery()
000003d2 T update_throttle_mode()
00000410 T update_yaw_mode() 00000410 T update_yaw_mode()
0000049a t update_nav_wp() 0000042c T update_throttle_mode()
000005ee t init_ardupilot() 000005ee t init_ardupilot()
000006e6 t update_nav_wp()
000007b0 t __static_initialization_and_destruction_0(int, int) 000007b0 t __static_initialization_and_destruction_0(int, int)
000007ea b g 000007ea b g
0000085a t process_next_command() 00000874 t process_next_command()
0000089c W Parameters::Parameters() 00000894 W Parameters::Parameters()
00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*) 00001228 T GCS_MAVLINK::handleMessage(__mavlink_message*)
00001aae T loop 00001b4e T loop

View File

@ -58,7 +58,7 @@
<Firmware> <Firmware>
<url>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.hex</url> <url>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-1280.hex</url>
<url2560>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.hex</url2560> <url2560>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Quad-2560.hex</url2560>
<name>ArduCopter V2.0.44 Beta Quad</name> <name>ArduCopter V2.0.45 Beta Quad</name>
<desc> <desc>
#define FRAME_CONFIG QUAD_FRAME #define FRAME_CONFIG QUAD_FRAME
#define FRAME_ORIENTATION X_FRAME #define FRAME_ORIENTATION X_FRAME
@ -69,7 +69,7 @@
<Firmware> <Firmware>
<url>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.hex</url> <url>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-1280.hex</url>
<url2560>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.hex</url2560> <url2560>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Tri-2560.hex</url2560>
<name>ArduCopter V2.0.44 Beta Tri</name> <name>ArduCopter V2.0.45 Beta Tri</name>
<desc> <desc>
#define FRAME_CONFIG TRI_FRAME #define FRAME_CONFIG TRI_FRAME
#define FRAME_ORIENTATION X_FRAME #define FRAME_ORIENTATION X_FRAME
@ -80,7 +80,7 @@
<Firmware> <Firmware>
<url>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.hex</url> <url>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-1280.hex</url>
<url2560>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.hex</url2560> <url2560>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Hexa-2560.hex</url2560>
<name>ArduCopter V2.0.44 Beta Hexa</name> <name>ArduCopter V2.0.45 Beta Hexa</name>
<desc> <desc>
#define FRAME_CONFIG HEXA_FRAME #define FRAME_CONFIG HEXA_FRAME
#define FRAME_ORIENTATION X_FRAME #define FRAME_ORIENTATION X_FRAME
@ -91,7 +91,7 @@
<Firmware> <Firmware>
<url>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.hex</url> <url>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-1280.hex</url>
<url2560>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.hex</url2560> <url2560>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-Y6-2560.hex</url2560>
<name>ArduCopter V2.0.44 Beta Y6</name> <name>ArduCopter V2.0.45 Beta Y6</name>
<desc> <desc>
#define FRAME_CONFIG Y6_FRAME #define FRAME_CONFIG Y6_FRAME
#define FRAME_ORIENTATION X_FRAME #define FRAME_ORIENTATION X_FRAME
@ -148,7 +148,7 @@
<Firmware> <Firmware>
<url>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.hex</url> <url>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-1280.hex</url>
<url2560>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.hex</url2560> <url2560>http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/Firmware/AC2-QUADHIL-2560.hex</url2560>
<name>ArduCopter V2.0.44 Beta Quad Hil</name> <name>ArduCopter V2.0.45 Beta Quad Hil</name>
<desc> <desc>
#define FRAME_CONFIG QUAD_FRAME #define FRAME_CONFIG QUAD_FRAME
#define FRAME_ORIENTATION PLUS_FRAME #define FRAME_ORIENTATION PLUS_FRAME

View File

@ -1,12 +1,14 @@
From https://code.google.com/p/ardupilot-mega From https://code.google.com/p/ardupilot-mega
35e16dd..27704d4 APM_Camera -> origin/APM_Camera 27704d4..61a4415 APM_Camera -> origin/APM_Camera
8b96023..787dacf master -> origin/master f7f1c0b..43c6a23 master -> origin/master
Updating 8b96023..787dacf Updating f7f1c0b..43c6a23
Fast-forward Fast-forward
ArduCopter/Mavlink_Common.h | 17 ----------------- ArduCopter/APM_Config.h | 5 +++-
ArduCopter/commands_logic.pde | 18 ++++++++++++------ ArduCopter/ArduCopter.pde | 50 +++++++++++++++++++-----------------
ArduCopter/config.h | 4 ++-- ArduCopter/Attitude.pde | 2 +-
ArduPlane/GCS_Mavlink.pde | 10 ---------- ArduCopter/commands_logic.pde | 44 ++++++++++++++++++++++++--------
libraries/GCS_MAVLink/GCS_MAVLink.cpp | 9 +++++++++ ArduCopter/config.h | 10 +++---
libraries/GCS_MAVLink/GCS_MAVLink.h | 2 ++ ArduCopter/heli.pde | 7 ++++-
6 files changed, 25 insertions(+), 35 deletions(-) ArduCopter/navigation.pde | 56 +++++++++++++++++++++++++++++++++++++++++
ArduCopter/test.pde | 36 ++++++++++++++++++++++++++
8 files changed, 167 insertions(+), 43 deletions(-)