No GPS Altitude update on arduplane 2.27a / apmplanner 1.1.13

Ran into some strangeness with the GPS altitude on the latest firmware.

On initial bootup, GPS gets a 3D fix, and the altitude is correct on apmplanner.

Taking off and flying, the altitude remains fixed at the same level (does not increase)

Trying to fly a flight plan, it will climb over any assigned altitudes at waypoints (because the ardupilot must think it's still at ground level, and keep trying to attain say 100m.

Was working OK earlier - but no idea what changed. - will revert back to older code to see if it changes things.

Any recommendations on where to start looking?

 

 

Views: 388

Reply to This

Replies to This Discussion

Just an update on this - still seeing the problems - have downgraded to 2.24, still there.

Looking through logs, GPS altitude on GPS looks to work OK.

but, baro sensor seems to be stuck on one altitude?? - and APM planner looks to be stuck?

What should typical values for the baro sensor be?

2/01/2012 5:35:41 PM 55 25 3 1 1 20 __mavlink_gps_raw_t usec=354173724 fix_type=2 lat=-27.46984 lon=153.1049 alt=239.02 eph=117 epv=0 v=11.78 hdg=141.66  Len:45
2/01/2012 5:35:41 PM 55 1A 4 1 1 3E __mavlink_nav_controller_output_t nav_roll=-0.2 nav_pitch=20.86 nav_bearing=283 target_bearing=283 wp_dist=108 alt_error=0 aspd_error=0 xtrack_error=0  Len:34
2/01/2012 5:35:41 PM 55 20 5 1 1 1E __mavlink_attitude_t usec=354219276 roll=0.007524882 pitch=0.2698854 yaw=1.851306 rollspeed=0.05523003 pitchspeed=0.08098236 yawspeed=-0.009920826  Len:40
2/01/2012 5:35:41 PM 55 14 6 1 1 4A __mavlink_vfr_hud_t airspeed=0 groundspeed=11.78 heading=106 throttle=75 alt=111.75 climb=0  Len:28
2/01/2012 5:35:41 PM 55 20 7 1 1 1E __mavlink_attitude_t usec=354318436 roll=0.0008842523 pitch=0.2713019 yaw=1.871359 rollspeed=-0.1472684 pitchspeed=0.05230728 yawspeed=-0.05996108  Len:40
2/01/2012 5:35:41 PM 55 14 8 1 1 4A __mavlink_vfr_hud_t airspeed=0 groundspeed=11.78 heading=107 throttle=75 alt=111.75 climb=0  Len:28
2/01/2012 5:35:41 PM 55 1A 9 1 1 1C __mavlink_raw_imu_t usec=354338384 xacc=93 yacc=-40 zacc=-1104 xgyro=-166 ygyro=49 zgyro=-71 xmag=70 ymag=-223 zmag=-602  Len:34
2/01/2012 5:35:41 PM 55 12 A 1 1 26 __mavlink_scaled_pressure_t usec=354339024 press_abs=3124.33 press_diff=0 temperature=19810  Len:26
2/01/2012 5:35:41 PM 55 2A B 1 1 96 __mavlink_sensor_offsets_t mag_ofs_x=5 mag_ofs_y=4 mag_ofs_z=59 mag_declination=0.1919862 raw_press=0 raw_temp=65535 gyro_cal_x=-108.1211 gyro_cal_y=-107.0341 gyro_cal_z=23.04689 accel_cal_x=61.23002 accel_cal_y=-24.11469 accel_cal_z=23.69904  Len:50
2/01/2012 5:35:41 PM 55 12 C 1 1 49 __mavlink_global_position_int_t lat=-274698430 lon=1531048700 alt=111750 vx=-339 vy=1083 vz=-314  Len:26
2/01/2012 5:35:41 PM 55 10 D 1 1 25 __mavlink_servo_output_raw_t servo1_raw=1555 servo2_raw=1558 servo3_raw=1738 servo4_raw=1511 servo5_raw=0 servo6_raw=0 servo7_raw=0 servo8_raw=0  Len:24
2/01/2012 5:35:41 PM 55 11 E 1 1 23 __mavlink_rc_channels_raw_t chan1_raw=1562 chan2_raw=1092 chan3_raw=1785 chan4_raw=1506 chan5_raw=1498 chan6_raw=1290 chan7_raw=981 chan8_raw=1275 rssi=1  Len:25
2/01/2012 5:35:41 PM 55 20 F 1 1 1E __mavlink_attitude_t usec=354418804 roll=-0.01843835 pitch=0.2699822 yaw=1.890704 rollspeed=-0.1472978 pitchspeed=0.02362477 yawspeed=0.01879971  Len:40
2/01/2012 5:35:41 PM 55 14 10 1 1 4A __mavlink_vfr_hud_t airspeed=0 groundspeed=10.47 heading=108 throttle=75 alt=111.75 climb=0  Len:28
2/01/2012 5:35:41 PM 55 20 11 1 1 1E __mavlink_attitude_t usec=354519228 roll=-0.02535147 pitch=0.2662543 yaw=1.910895 rollspeed=-0.04258461 pitchspeed=0.03787094 yawspeed=0.04746536  Len:40
2/01/2012 5:35:41 PM 55 14 12 1 1 4A __mavlink_vfr_hud_t airspeed=0 groundspeed=10.47 heading=109 throttle=75 alt=111.75 climb=0  Len:28
2/01/2012 5:35:41 PM 55 20 13 1 1 1E __mavlink_attitude_t usec=354618476 roll=-0.02449325 pitch=0.2648523 yaw=1.936745 rollspeed=-0.02161614 pitchspeed=0.009188261 yawspeed=0.1190672  Len:40
2/01/2012 5:35:41 PM 55 14 14 1 1 4A __mavlink_vfr_hud_t airspeed=0 groundspeed=9.55 heading=110 throttle=75 alt=111.75 climb=0  Len:28
2/01/2012 5:35:42 PM 55 3 F FF 1 0 __mavlink_heartbeat_t type=0 autopilot=3 mavlink_version=2  Len:11
2/01/2012 5:35:42 PM 55 1A 15 1 1 1C __mavlink_raw_imu_t usec=354638452 xacc=159 yacc=87 zacc=-960 xgyro=14 ygyro=42 zgyro=107 xmag=77 ymag=-212 zmag=-604  Len:34
2/01/2012 5:35:42 PM 55 12 16 1 1 26 __mavlink_scaled_pressure_t usec=354639196 press_abs=3124.33 press_diff=0 temperature=19810  Len:26
2/01/2012 5:35:42 PM 55 2A 17 1 1 96 __mavlink_sensor_offsets_t mag_ofs_x=5 mag_ofs_y=4 mag_ofs_z=59 mag_declination=0.1919862 raw_press=0 raw_temp=65535 gyro_cal_x=-108.1211 gyro_cal_y=-107.0341 gyro_cal_z=23.04689 accel_cal_x=61.23002 accel_cal_y=-24.11469 accel_cal_z=23.69904  Len:50
2/01/2012 5:35:42 PM 55 12 18 1 1 49 __mavlink_global_position_int_t lat=-274698810 lon=1531049010 alt=111750 vx=-334 vy=859 vz=-249  Len:26
2/01/2012 5:35:42 PM 55 10 19 1 1 25 __mavlink_servo_output_raw_t servo1_raw=1552 servo2_raw=1554 servo3_raw=1738 servo4_raw=1504 servo5_raw=0 servo6_raw=0 servo7_raw=0 servo8_raw=0  Len:24
2/01/2012 5:35:42 PM 55 11 1A 1 1 23 __mavlink_rc_channels_raw_t chan1_raw=1560 chan2_raw=1092 chan3_raw=1786 chan4_raw=1505 chan5_raw=1498 chan6_raw=1290 chan7_raw=981 chan8_raw=1276 rssi=1  Len:25
2/01/2012 5:35:42 PM 55 20 1B 1 1 1E __mavlink_attitude_t usec=354718820 roll=-0.02238078 pitch=0.2591285 yaw=1.9573 rollspeed=-0.07046185 pitchspeed=0.03059142 yawspeed=0.05470219  Len:40
2/01/2012 5:35:42 PM 55 14 1C 1 1 4A __mavlink_vfr_hud_t airspeed=0 groundspeed=9.55 heading=112 throttle=75 alt=111.75 climb=0  Len:28
2/01/2012 5:35:42 PM 55 20 1D 1 1 1E __mavlink_attitude_t usec=354819136 roll=-0.04305456 pitch=0.2554161 yaw=1.970426 rollspeed=-0.307824 pitchspeed=-0.01954465 yawspeed=-0.03114033  Len:40
2/01/2012 5:35:42 PM 55 14 1E 1 1 4A __mavlink_vfr_hud_t airspeed=0 groundspeed=9.55 heading=112 throttle=75 alt=111.75 climb=0  Len:28
2/01/2012 5:35:42 PM 55 20 1F 1 1 1E __mavlink_attitude_t usec=354918568 roll=-0.06950282 pitch=0.249654 yaw=1.977793 rollspeed=-0.2659182 pitchspeed=-0.005279254 yawspeed=-0.02396009  Len:40
2/01/2012 5:35:42 PM 55 14 20 1 1 4A __mavlink_vfr_hud_t airspeed=0 groundspeed=8.97 heading=113 throttle=75 alt=111.75 climb=0  Len:28
2/01/2012 5:35:42 PM 55 1A 21 1 1 1C __mavlink_raw_imu_t usec=354938464 xacc=204 yacc=77 zacc=-1055 xgyro=-250 ygyro=14 zgyro=-13 xmag=78 ymag=-201 zmag=-611  Len:34
2/01/2012 5:35:42 PM 55 12 22 1 1 26 __mavlink_scaled_pressure_t usec=354939108 press_abs=3124.33 press_diff=0 temperature=19810  Len:26
2/01/2012 5:35:42 PM 55 2A 23 1 1 96 __mavlink_sensor_offsets_t mag_ofs_x=5 mag_ofs_y=4 mag_ofs_z=59 mag_declination=0.1919862 raw_press=0 raw_temp=65535 gyro_cal_x=-108.1211 gyro_cal_y=-107.0341 gyro_cal_z=23.04689 accel_cal_x=61.23002 accel_cal_y=-24.11469 accel_cal_z=23.69904  Len:50
2/01/2012 5:35:42 PM 55 12 24 1 1 49 __mavlink_global_position_int_t lat=-274699000 lon=1531049130 alt=111750 vx=-345 vy=798 vz=-220  Len:26
2/01/2012 5:35:42 PM 55 10 25 1 1 25 __mavlink_servo_output_raw_t servo1_raw=1538 servo2_raw=1545 servo3_raw=1738 servo4_raw=1504 servo5_raw=0 servo6_raw=0 servo7_raw=0 servo8_raw=0  Len:24
2/01/2012 5:35:42 PM 55 11 26 1 1 23 __mavlink_rc_channels_raw_t chan1_raw=1555 chan2_raw=1092 chan3_raw=1785 chan4_raw=1510 chan5_raw=1498 chan6_raw=1290 chan7_raw=981 chan8_raw=1276 rssi=1  Len:25
2/01/2012 5:35:42 PM 55 20 27 1 1 1E __mavlink_attitude_t usec=355018696 roll=-0.08417498 pitch=0.2451998 yaw=1.984405 rollspeed=-0.07740789 pitchspeed=-0.02677841 yawspeed=0.01899184  Len:40
2/01/2012 5:35:42 PM 55 14 28 1 1 4A __mavlink_vfr_hud_t airspeed=0 groundspeed=8.97 heading=113 throttle=75 alt=111.75 climb=0  Len:28
2/01/2012 5:35:42 PM 55 20 29 1 1 1E __mavlink_attitude_t usec=355119076 roll=-0.07539019 pitch=0.2423371 yaw=1.996393 rollspeed=0.0413257 pitchspeed=0.008965306 yawspeed=0.09056927  Len:40
2/01/2012 5:35:42 PM 55 14 2A 1 1 4A __mavlink_vfr_hud_t airspeed=0 groundspeed=9.3 heading=114 throttle=75 alt=111.75 climb=0  Len:28
2/01/2012 5:35:42 PM 55 3 2B 1 1 0 __mavlink_heartbeat_t type=1 autopilot=3 mavlink_version=2  Len:11
2/01/2012 5:35:42 PM 55 B 2C 1 1 22 __mavlink_sys_status_t mode=6 nav_mode=1 status=4 load=450 vbat=13395 battery_remaining=1000 packet_drop=42473  Len:19
2/01/2012 5:35:42 PM 55 4 2D 1 1 98 __mavlink_meminfo_t brkval=6467 freemem=1421  Len:12
2/01/2012 5:35:42 PM 55 65 2E 1 1 1B __mavlink_gps_status_t satellites_visible=10 satellite_prn=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, satellite_used=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, satellite_elevation=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, satellite_azimuth=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, satellite_snr=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,  Len:109
2/01/2012 5:35:42 PM 55 2 2F 1 1 2A __mavlink_waypoint_current_t seq=0  Len:10
2/01/2012 5:35:42 PM 55 25 30 1 1 20 __mavlink_gps_raw_t usec=355173140 fix_type=2 lat=-27.46992 lon=153.1049 alt=243.62 eph=117 epv=0 v=9.3 hdg=155.91  Len:45

ok.. looks like my baro sensor is dead.. in testmode for airpressure, gives alt 0.0m, raw: 312433, Temp: 198.1

.. will look to disable it for now and replace it some time later.

Reply to Discussion

RSS

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service