Commit Graph

40242 Commits

Author SHA1 Message Date
Andrew Tridgell fa2a9d5f30 Tools: updated bootloaders for new USB IDs 2020-02-23 07:43:53 +11:00
Andrew Tridgell e7ad32288f Tools: add USBID to generated apj file 2020-02-23 07:43:04 +11:00
Andrew Tridgell 81cd2b9d97 HAL_ChibiOS: switched to new USB VID for dual-CDC boards 2020-02-23 07:43:01 +11:00
Andrew Tridgell 53b5564466 HAL_ChibiOS: produce more accurate clocks for DShot and PWM 2020-02-23 07:42:09 +11:00
Andrew Tridgell b7672cde69 ChibiOS: relaxed restrictions on PWM clocks 2020-02-23 07:42:04 +11:00
Andrew Tridgell 54a41cf8ab HAL_ChibiOS: raised timer clocks to 200MHz
this gives more flexibility in setting up timers for DShot
2020-02-23 07:42:02 +11:00
Andrew Tridgell e0b849594d GCS_MAVLink: don't send statustext from other than main thread
This fixes high stack usage in the RCIN thread when it notifies the
GCS of a new RCIN protocol. The problem is severe when signing is
enabled, as signing adds over 500 bytes to stack cost of sending a
mavlink msg

fixes issue #13615
2020-02-23 07:41:59 +11:00
Randy Mackay fd57c8af96 AP_ServoRelayEvents: do-set-servo affects sprayer and gripper 2020-02-23 07:41:55 +11:00
bnsgeyer 80792ad19f AP_Motors: tradheli - fix quad heli collective structure 2020-02-23 07:41:52 +11:00
Randy Mackay c1915cd889 Copter: zigzag supports arming, takeoff and landing 2020-02-23 07:41:47 +11:00
Andrew Tridgell 126c6e589b HAL_ChibiOS: fixed output string for non-DMA capable chan
this fixes a problem where the user requests DShot (which rquired DMA)
on an output channel which cannot allocate a DMA channel. We end up
sending normal PWM, so the string representation of the output modes
should reflect that
2020-02-23 07:41:44 +11:00
Randy Mackay 7114402d27 GCS_MAVLink: send rc output mode banner to GCS 2020-02-23 07:41:39 +11:00
Randy Mackay 92408e0c52 AP_HAL: add RCOutput::get_output_mode_banner 2020-02-23 07:41:36 +11:00
Randy Mackay d6811cc534 AC_AttitudeControl_Heli: fix VFF and ILMI param descriptions 2020-02-23 07:41:30 +11:00
Randy Mackay 890ac7e4b3 AC_PosControl: add missing ACCZ param descriptions 2020-02-23 07:41:27 +11:00
Andrew Tridgell c9d8edda4b Plane: prepare for 4.0.4 release 2020-02-16 17:02:47 +11:00
Andrew Tridgell 38b507e361 Plane: updated release notes for 4.0.4 2020-02-16 17:02:34 +11:00
Andrew Tridgell c3fe7792cc GCS_MAVLink: raise ftp stack size to 3072 from 1024
this prevents memory corruption on directory listing
2020-02-11 13:32:37 +11:00
Andrew Tridgell 8a63c8b255 HAL_ChibiOS: fixed default fast sampling on CubeOrange and Durandal 2020-02-05 12:49:10 +11:00
Andrew Tridgell ead4a271d1 Plane: updated release notes for 4.0.4 2020-02-05 12:10:31 +11:00
Andrew Tridgell 8b7f10c15c Plane: prepare for 4.0.4beta1 release 2020-02-05 10:51:31 +11:00
Andrew Tridgell 767e9d6112 Tools: align bootloaders with Copter-4.0 2020-02-05 10:51:31 +11:00
Andrew Tridgell 536a156e11 AP_NMEA_Output: rebase fixup 2020-02-05 10:51:31 +11:00
Andrew Tridgell 9908d52ade mavlink: align with Copter-4.0 2020-02-05 10:51:31 +11:00
Andrew Tridgell f3066c978d HAL_ChibiOS: fixed spektrum RC input on Pixracer
RCININT is inverted compared to RCIN, so need to enable SBUS_INV pin
2020-02-05 10:51:31 +11:00
Andrew Tridgell d0cdaf17e4 Plane: update release notes for 4.0.4beta1 2020-02-05 10:51:31 +11:00
Andrew Tridgell c7a39648d4 AP_NavEKF3: don't use WMM tables unless we have a compass scale factor set 2020-02-05 10:51:31 +11:00
Andy Piper eefa16887b AP_Logger: fix locking issues, uninitialized read and status message length
account for erased partial sectors when looking at wrapped logs
2020-02-05 10:51:31 +11:00
Jaaaky fd98e6c6e9 AP_Logger: fix 'last_file' may be used uninitialized with debug build 2020-02-05 10:51:31 +11:00
Andy Piper 3d8bd9315c AP_Logger: mavlink backend needs to be the last backend
be really careful to catch aborted erases
take care to protect shared structures in io thread
if flash corruption is detected try and recover whole files
overwrite format in erase to make sure erase happens
output useful messages at critical times
a block is 64k a sector is 4k, rename internal variables appropriately
cope with log wrapping when sending log listings over mavlink
2020-02-05 10:51:31 +11:00
Matt Lawrence 8e24cf4948 Copter: Fix circle radius pitch stick control
Pitch stick up will reduce the radius, as in moving forward.  Pitch stick back will increase the radius, as in moving backwards.
2020-02-05 10:51:31 +11:00
Randy Mackay fa76276040 AP_RangeFinder: fix offset param for PWM driver 2020-02-05 10:51:31 +11:00
Andrew Tridgell f5aa9d5e58 HAL_ChibiOS: fixed skyviper-v2450 build 2020-02-05 10:51:31 +11:00
Randy Mackay d3230c8a6a Copter: version to 4.0.2-rc3 2020-02-05 10:51:31 +11:00
Randy Mackay cabcf145f4 Copter: 4.0.2-rc3 release notes 2020-02-05 10:51:31 +11:00
Leonard Hall 8d08a5d4bd AC_AutoTune: fix restoring of original gains
current_gain_type was not being set when load_gains was called meaning subsequent calls to load_gains would fail if gain_type was GAIN_ORIGINAL
2020-02-05 10:51:31 +11:00
Randy Mackay 6f76b2eacb Copter: version to 4.0.2-rc1 2020-02-05 10:51:31 +11:00
Randy Mackay fc6e37e29e Copter: 4.0.2-rc1 release notes 2020-02-05 10:51:31 +11:00
Andrew Tridgell fbf68c860b HAL_SITL: fixed bitmask error on storage erase 2020-02-05 10:51:31 +11:00
Andrew Tridgell e89750bb41 HAL_Linux: fixed bitmask error on storage erase 2020-02-05 10:51:31 +11:00
Andrew Tridgell 08f00d6a40 HAL_ChibiOS: fixed bitmask error on storage erase 2020-02-05 10:51:31 +11:00
Rob Ratcliff 4edab03651 RC_Channel: fix handling of rc_override_time of -1 2020-02-05 10:51:31 +11:00
Randy Mackay f8361a6aae AP_RangeFinder: update OFFSET param description to clarify only for analog and pwm 2020-02-05 10:51:31 +11:00
Randy Mackay db3f1cb3b3 AP_RangeFinder: PWM driver adds offset param value 2020-02-05 10:51:31 +11:00
Matt Lawrence dfd1e4c839 Copter: Reverse circle radius stick input
Change the circle mode radius control so that pitch stuck up (forward) reduces the radius. Pulling the pitch stick back (reverse), increases the radius.
2020-02-05 10:51:31 +11:00
Randy Mackay 5428bf8cbc AC_AutoTune: fix backup of yaw acceleration 2020-02-05 10:51:31 +11:00
Bill Geyer 98c334598f AC_AttitudeControl: tradheli-Remove Param descriptions
This remove the old filter param description from AC 3.6 and adds the new filter param descriptions.
2020-02-05 10:51:30 +11:00
Matt Lawrence 24da1c168b AP_Notify: Remove pixhawk from Oreo LED comments
Removes specific reference to pixhawk from comments since not all flight controllers are pixhawks.
2020-02-05 10:51:30 +11:00
Matt Lawrence 3e91a468d1 Copter: Add GCS failsafe pre-arm check 2020-02-05 10:51:30 +11:00
Matt Lawrence c1a070371e Copter: Update AP_Notify of GCS failsafe 2020-02-05 10:51:30 +11:00