Skip to content

Commit

Permalink
Fix bug in 7.1.1895 preventing gimbal roll/pitch reversing; fix port …
Browse files Browse the repository at this point in the history
…parameter minimums.
  • Loading branch information
mpaperno committed Apr 13, 2016
1 parent fd55f60 commit 4fb47db
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
11 changes: 8 additions & 3 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ This file describes changes in the firmware, typically since the previous minor
! : important change, possible danger, change of default behavior, etc.


##### 7.1.1897 - Apr. 13, 2016

`*` Fix bug in 7.1.1895 preventing gimbal roll/pitch reversing.
`*` Fix altitude in local position Mavlink message & mission programming response codes.

##### 7.1.1895 - Mar. 18, 2016

`+` Add ability to adjust some parameter values live using RC, e.g. attitude/nav PIDs, all Quatos settings, live gimbal tuning, default nav speed limits, control factors, etc.
Expand Down Expand Up @@ -71,7 +76,7 @@ This file describes changes in the firmware, typically since the previous minor

`+` Add signaling events for waypoint reached, WP recorded, and WPs cleared.

#### 7.1.1858 Apr. 16, 2015 - CURRENT MASTER BRANCH
#### 7.1.1858 -€“ Apr. 16, 2015 - CURRENT MASTER BRANCH

**!!! Due to new control configuration scheme, the Flight Mode and Home Set/RTH switch channels will be reset to defaults. !!!**
Also note that these changes are NOT directly compatible with AQ QGC 1.6.3 and lower. It will still mostly work, but any changes to the new parameters in this version will need to be done directly in the Onboard Configuration window. An updated QGC with a proper setup GUI for the new features is underway.
Expand All @@ -88,12 +93,12 @@ Also note that these changes are NOT directly compatible with AQ QGC 1.6.3 and l
`*` Fix Mavlink nav_controller_output message values for Heading, Course, and Distance to waypoint (were off by factor of 100).
`~` Change version number format reported via text message. This may also break some features of QGC 1.6.3 and lower.

##### 7.1.1853 EXPR Apr. 9, 2015
##### 7.1.1853 - EXPR Apr. 9, 2015

`~` Change how battery voltage compensation is handled on M4 with onboard brushed motors and Quatos.
`*` Fix precision of parameters saved to onboard SD card and to DIMU EEPROM (issue originally introduced in r204/b1352).

##### 7.1.1852 EXPR Feb. 17, 2015
##### 7.1.1852 -€“ EXPR – Feb. 17, 2015

`~` New version numbering format now excludes the SVN revision (“r”) number. New format is Major.Minor.Build – Label.
`+` Add ESC32 CAN telemetry over MAVLink. Use with AQ QGC 1.6.3 and up.
Expand Down
2 changes: 1 addition & 1 deletion src/buildnum.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILDNUMBER 1896
#define BUILDNUMBER 1897
20 changes: 10 additions & 10 deletions src/config_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,29 +304,29 @@ const paramRecordMeta_t configParamMeta[] = {
{IMU_MAG_INCL, "IMU_MAG_INCL", 117, AQ_TYPE_FLT, 0, -FLT_MAX, FLT_MAX, DEFAULT_IMU_MAG_INCL},
{IMU_MAG_DECL, "IMU_MAG_DECL", 117, AQ_TYPE_FLT, 0, -FLT_MAX, FLT_MAX, DEFAULT_IMU_MAG_DECL},
{IMU_PRESS_SENSE, "IMU_PRESS_SENSE", 117, AQ_TYPE_U8, 0, 0, 2, DEFAULT_IMU_PRESS_SENSE},
{GMBL_PITCH_PORT, "GMBL_PITCH_PORT", 117, AQ_TYPE_S8, 0, -PWM_NUM_PORTS, PWM_NUM_PORTS, DEFAULT_GMBL_PITCH_PORT},
{GMBL_ROLL_PORT, "GMBL_ROLL_PORT", 117, AQ_TYPE_S8, 0, -PWM_NUM_PORTS, PWM_NUM_PORTS, DEFAULT_GMBL_ROLL_PORT},
{GMBL_PITCH_PORT, "GMBL_PITCH_PORT", 117, AQ_TYPE_S8, 0, 0, PWM_NUM_PORTS, DEFAULT_GMBL_PITCH_PORT},
{GMBL_ROLL_PORT, "GMBL_ROLL_PORT", 117, AQ_TYPE_S8, 0, 0, PWM_NUM_PORTS, DEFAULT_GMBL_ROLL_PORT},
{GMBL_PWM_MAX_RL, "GMBL_PWM_MAX_RL", 117, AQ_TYPE_FLT, 0, 750.0f, 2500.0f, DEFAULT_GMBL_PWM_MAX_RL},
{GMBL_PWM_MIN_RL, "GMBL_PWM_MIN_RL", 117, AQ_TYPE_FLT, 0, 750.0f, 2500.0f, DEFAULT_GMBL_PWM_MIN_RL},
{GMBL_PWM_MAX_PT, "GMBL_PWM_MAX_PT", 117, AQ_TYPE_FLT, 0, 750.0f, 2500.0f, DEFAULT_GMBL_PWM_MAX_PT},
{GMBL_PWM_MIN_PT, "GMBL_PWM_MIN_PT", 117, AQ_TYPE_FLT, 0, 750.0f, 2500.0f, DEFAULT_GMBL_PWM_MIN_PT},
{GMBL_PWM_FREQ, "GMBL_PWM_FREQ", 117, AQ_TYPE_U16, 0, 0, UINT16_MAX, DEFAULT_GMBL_PWM_FREQ},
{GMBL_NTRL_PITCH, "GMBL_NTRL_PITCH", 117, AQ_TYPE_FLT, 1, 750.0f, 2500.0f, DEFAULT_GMBL_NTRL_PITCH},
{GMBL_NTRL_ROLL, "GMBL_NTRL_ROLL", 117, AQ_TYPE_FLT, 1, 750.0f, 2500.0f, DEFAULT_GMBL_NTRL_ROLL},
{GMBL_SCAL_PITCH, "GMBL_SCAL_PITCH", 117, AQ_TYPE_FLT, 1, 0, FLT_MAX, DEFAULT_GMBL_SCAL_PITCH},
{GMBL_SCAL_ROLL, "GMBL_SCAL_ROLL", 117, AQ_TYPE_FLT, 1, 0, FLT_MAX, DEFAULT_GMBL_SCAL_ROLL},
{GMBL_SCAL_PITCH, "GMBL_SCAL_PITCH", 117, AQ_TYPE_FLT, 1, -FLT_MAX, FLT_MAX, DEFAULT_GMBL_SCAL_PITCH},
{GMBL_SCAL_ROLL, "GMBL_SCAL_ROLL", 117, AQ_TYPE_FLT, 1, -FLT_MAX, FLT_MAX, DEFAULT_GMBL_SCAL_ROLL},
{GMBL_SLEW_RATE, "GMBL_SLEW_RATE", 117, AQ_TYPE_FLT, 1, 0, FLT_MAX, DEFAULT_GMBL_SLEW_RATE},
{GMBL_ROLL_EXPO, "GMBL_ROLL_EXPO", 117, AQ_TYPE_FLT, 1, 0, FLT_MAX, DEFAULT_GMBL_ROLL_EXPO},
{GMBL_CTRL_TILT, "GMBL_CTRL_TILT", 129, AQ_TYPE_U32, 0, 0, 0xFFFFFF, DEFAULT_GMBL_CTRL_TILT},
{GMBL_TILT_PORT, "GMBL_TILT_PORT", 117, AQ_TYPE_S8, 0, -PWM_NUM_PORTS, PWM_NUM_PORTS, DEFAULT_GMBL_TILT_PORT},
{GMBL_TRIG_PORT, "GMBL_TRIG_PORT", 117, AQ_TYPE_S8, 0, -PWM_NUM_PORTS, PWM_NUM_PORTS, DEFAULT_GMBL_TRIG_PORT},
{GMBL_TILT_PORT, "GMBL_TILT_PORT", 117, AQ_TYPE_S8, 0, 0, PWM_NUM_PORTS, DEFAULT_GMBL_TILT_PORT},
{GMBL_TRIG_PORT, "GMBL_TRIG_PORT", 117, AQ_TYPE_S8, 0, 0, PWM_NUM_PORTS, DEFAULT_GMBL_TRIG_PORT},
{GMBL_CTRL_TRG_ON, "GMBL_CTRL_TRG_ON", 129, AQ_TYPE_U32, 0, 0, 0xFFFFFF, DEFAULT_GMBL_CTRL_TRG_ON},
{GMBL_TRIG_ON_PWM, "GMBL_TRIG_ON_PWM", 117, AQ_TYPE_FLT, 0, 750.0f, 2500.0f, DEFAULT_GMBL_TRIG_ON_PWM},
{GMBL_TRIG_ON_TIM, "GMBL_TRIG_ON_TIM", 117, AQ_TYPE_U32, 0, 0, UINT32_MAX, DEFAULT_GMBL_TRIG_ON_TIM},
{GMBL_TRIG_DIST, "GMBL_TRIG_DIST", 117, AQ_TYPE_U32, 0, 0, UINT32_MAX, DEFAULT_GMBL_TRIG_DIST},
{GMBL_TRIG_TIME, "GMBL_TRIG_TIME", 117, AQ_TYPE_U32, 0, 0, UINT32_MAX, DEFAULT_GMBL_TRIG_TIME},
{GMBL_PSTHR_CHAN, "GMBL_PSTHR_CHAN", 117, AQ_TYPE_U32, 0, 0, UINT32_MAX, DEFAULT_GMBL_PSTHR_CHAN},
{GMBL_PSTHR_PORT, "GMBL_PSTHR_PORT", 117, AQ_TYPE_S8, 0, -PWM_NUM_PORTS, PWM_NUM_PORTS, DEFAULT_GMBL_PSTHR_PORT},
{GMBL_PSTHR_PORT, "GMBL_PSTHR_PORT", 117, AQ_TYPE_S8, 0, 0, PWM_NUM_PORTS, DEFAULT_GMBL_PSTHR_PORT},
{SPVR_LOW_BAT1, "SPVR_LOW_BAT1", 117, AQ_TYPE_FLT, 0, 0, FLT_MAX, DEFAULT_SPVR_LOW_BAT1},
{SPVR_LOW_BAT2, "SPVR_LOW_BAT2", 117, AQ_TYPE_FLT, 0, 0, FLT_MAX, DEFAULT_SPVR_LOW_BAT2},
{SPVR_FS_RAD_ST1, "SPVR_FS_RAD_ST1", 117, AQ_TYPE_U8, 0, 0, 0, DEFAULT_SPVR_FS_RAD_ST1},
Expand Down Expand Up @@ -396,10 +396,10 @@ const paramRecordMeta_t configParamMeta[] = {
{QUATOS_MM_P16, "QUATOS_MM_P16", 117, AQ_TYPE_FLT, 0, -FLT_MAX, FLT_MAX, DEFAULT_QUATOS_MM_P16},
{QUATOS_MM_Y16, "QUATOS_MM_Y16", 117, AQ_TYPE_FLT, 0, -FLT_MAX, FLT_MAX, DEFAULT_QUATOS_MM_Y16},
#endif
{SIG_LED_1_PRT, "SIG_LED_1_PRT", 117, AQ_TYPE_S8, 0, -PWM_NUM_PORTS, PWM_NUM_PORTS, DEFAULT_SIG_LED_1_PRT},
{SIG_LED_2_PRT, "SIG_LED_2_PRT", 117, AQ_TYPE_S8, 0, -PWM_NUM_PORTS, PWM_NUM_PORTS, DEFAULT_SIG_LED_2_PRT},
{SIG_LED_1_PRT, "SIG_LED_1_PRT", 117, AQ_TYPE_S8, 0, 0, PWM_NUM_PORTS, DEFAULT_SIG_LED_1_PRT},
{SIG_LED_2_PRT, "SIG_LED_2_PRT", 117, AQ_TYPE_S8, 0, 0, PWM_NUM_PORTS, DEFAULT_SIG_LED_2_PRT},
{SIG_BEEP_PRT, "SIG_BEEP_PRT", 117, AQ_TYPE_S8, 0, -PWM_NUM_PORTS, PWM_NUM_PORTS, DEFAULT_SIG_BEEP_PRT},
{SIG_PWM_PRT, "SIG_PWM_PRT", 117, AQ_TYPE_S8, 0, -PWM_NUM_PORTS, PWM_NUM_PORTS, DEFAULT_SIG_PWM_PRT},
{SIG_PWM_PRT, "SIG_PWM_PRT", 117, AQ_TYPE_S8, 0, 0, PWM_NUM_PORTS, DEFAULT_SIG_PWM_PRT},
{LIC_KEY1, "LIC_KEY1", 117, AQ_TYPE_U32, 0, 0, UINT32_MAX, DEFAULT_LIC_KEY1},
{LIC_KEY2, "LIC_KEY2", 117, AQ_TYPE_U32, 0, 0, UINT32_MAX, DEFAULT_LIC_KEY2},
{LIC_KEY3, "LIC_KEY3", 117, AQ_TYPE_U32, 0, 0, UINT32_MAX, DEFAULT_LIC_KEY3},
Expand Down

0 comments on commit 4fb47db

Please sign in to comment.