most functionality to splashdwon, find neutral and start mission. short timeouts still in code for testing, will adjust to go directly to sit_idle after splashdown

Dependencies:   mbed MODSERIAL FATFileSystem

Committer:
joel_ssc
Date:
Mon May 13 19:25:26 2019 +0000
Revision:
92:52a91656458a
Parent:
78:17abcd1f08bf
version for first flight test, timeouts not yet set correctly

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tnhnrl 76:c802e1da4179 1 1) INCORRECT ZERO OFFSET IN FILE
tnhnrl 76:c802e1da4179 2 had to change config to save zerooffset as an integer
tnhnrl 76:c802e1da4179 3
tnhnrl 76:c802e1da4179 4 // saveBCEData (int change)
tnhnrl 76:c802e1da4179 5 // saveBATTData (int change)
tnhnrl 76:c802e1da4179 6 //save pitch all floats
tnhnrl 76:c802e1da4179 7 //save depth all floats
tnhnrl 76:c802e1da4179 8
tnhnrl 76:c802e1da4179 9 bce P: 0.01, I: 0.00, D: 0.00, zero offset: 846, limit 320.0 mm, slope 0.12176, deadband: 0.5
tnhnrl 76:c802e1da4179 10 batt P: -0.10, I: 0.00, D: 0.00, zero offset: 490, limit 60.0 mm, slope 0.12176, deadband: 0.5
tnhnrl 76:c802e1da4179 11 rudder min_pwm:2240.0, center_pwm:1640.0, max_pwm:1040.0 (min_deg: -45.0 max_deg: 45.0)
tnhnrl 76:c802e1da4179 12 depth P:-20.00, I: 0.00, D: 0.00, output offset: 151.0 mm, filter_freq: 6.0, deadband: 0.5
tnhnrl 76:c802e1da4179 13 pitch P: 0.50, I: 0.00, D: -0.25, output offset: 21.5 mm, filter_freq: 6.0, deadband: 0.5
tnhnrl 76:c802e1da4179 14 heading P: 1.50, I: 0.00, D: 0.00, output offset: 0.0 mm, filter_freq: 6.0, deadband: 5.0
tnhnrl 76:c802e1da4179 15
tnhnrl 76:c802e1da4179 16
tnhnrl 76:c802e1da4179 17
tnhnrl 76:c802e1da4179 18
tnhnrl 76:c802e1da4179 19 bce P: 0.01, I: 0.00, D: 0.00, zero offset: 250, limit 320.0 mm, slope 0.12176, deadband: 0.5
tnhnrl 76:c802e1da4179 20 batt P: -0.10, I: 0.00, D: 0.00, zero offset: 490, limit 60.0 mm, slope 0.12176, deadband: 0.5
tnhnrl 76:c802e1da4179 21 rudder min_pwm:2240.0, center_pwm:1640.0, max_pwm:1040.0 (min_deg: -45.0 max_deg: 45.0)
tnhnrl 76:c802e1da4179 22 depth P:-20.00, I: 0.00, D: 0.00, output offset: 151.0 mm, filter_freq: 6.0, deadband: 0.5
tnhnrl 76:c802e1da4179 23 pitch P: 0.50, I: 0.00, D: -0.25, output offset: 21.5 mm, filter_freq: 6.0, deadband: 0.5
tnhnrl 76:c802e1da4179 24 heading P: 1.50, I: 0.00, D: 0.00, output offset: 0.0 mm, filter_freq: 6.0, deadband: 5.0
tnhnrl 76:c802e1da4179 25
tnhnrl 76:c802e1da4179 26
tnhnrl 76:c802e1da4179 27 bce P: 0.10, I: 0.20, D: 0.30, zero offset: 250, limit 320.0 mm, slope 0.12176, deadband: 1.1
tnhnrl 76:c802e1da4179 28 batt P: -0.10, I: 0.00, D: 0.00, zero offset: 490, limit 60.0 mm, slope 0.12176, deadband: 0.5
tnhnrl 76:c802e1da4179 29 rudder min_pwm:2240.0, center_pwm:1640.0, max_pwm:1040.0 (min_deg: -45.0 max_deg: 45.0)
tnhnrl 76:c802e1da4179 30 depth P:-20.00, I: 0.00, D: 0.00, output offset: 151.0 mm, filter_freq: 6.0, deadband: 0.5
tnhnrl 76:c802e1da4179 31 pitch P: 0.50, I: 0.00, D: -0.25, output offset: 21.5 mm, filter_freq: 6.0, deadband: 0.5
tnhnrl 76:c802e1da4179 32 heading P: 1.50, I: 0.00, D: 0.00, output offset: 0.0 mm, filter_freq: 6.0, deadband: 5.0
tnhnrl 76:c802e1da4179 33
tnhnrl 78:17abcd1f08bf 34 FIXED!
tnhnrl 76:c802e1da4179 35
tnhnrl 78:17abcd1f08bf 36 2) Check log files for correct spacing. FIXED!