Commit Graph

47 Commits

Author SHA1 Message Date
Peter Hall 2c5b0ffa29 AP_BlHeli: always report test results and report band channel once 2020-02-04 10:38:20 +11:00
Peter Hall d5843ff03a AP_BLHeli: stop motors if conection lost in motor test 2020-02-04 10:38:20 +11:00
Peter Hall 38f68c4eba AP_Blheli: allow connection with mixed reversible and normal 2020-02-04 10:38:20 +11:00
Peter Hall 956c3f29a3 AP_BLHeli: allow connection with reversable ESCs 2019-12-24 10:50:16 +11:00
Randy Mackay 1b79f102b6 AP_BLHeli: log motor temp as zero 2019-11-26 11:56:33 +11:00
Andrew Tridgell 3750ed2925 AP_BLHeli: fixed critical errors caused by BLHeli code 2019-11-01 08:44:54 +11:00
Randy Mackay 5b8d7a35e7 AP_BLHeli: minor style fix for get_average_moto_frequency_hz 2019-10-31 12:20:41 +09:00
Andy Piper b242c5071b AP_BLHeli: add get_average_motor_frequency_hz() for dynamic filtering
correctly calculate rpm from erpm
2019-10-31 11:18:40 +08:00
vierfuffzig c97f785443 AP_BLHeli: fix eRPM conversion 2019-10-28 21:09:22 +11:00
Henry Wurzburg 880285dad4 AP_BLHeli: Change descriptions in SERVO_BLH_PORT param to actual AP port 2019-10-05 16:35:59 +10:00
vierfuffzig b89c60d5b0 AP_BLHeli: fix watchdog resets with telemetry active from non-multirotor motors 2019-10-02 21:06:22 +10:00
Michael du Breuil a1fda8bc76 AP_BLHeli: Update to support newer targets and protocols 2019-05-25 09:37:56 +10:00
Tom Pittenger cc88e65fc3 AP_BLHeli: rename dataflash to logger 2019-03-28 16:40:57 +11:00
Randy Mackay 9eaef98321 AP_BLHeli: use AP_Logger::Write_ESC 2019-02-18 20:55:47 +09:00
Tom Pittenger 0f311ba04f AP_BLHeli: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Andrew Tridgell 8cca632b67 AP_BLHeli: adjust for new UART locking API 2018-12-29 15:58:22 +11:00
Randy Mackay b306e08455 AP_BLHeli: default TRATE to 10hz
This only takes effect if BLHeli is enabled with SERVO_BLH_MASK <> 0 or SERVO_BLH_AUTO = 1
2018-12-18 11:21:24 +09:00
Randy Mackay b1c2229430 AP_BLHeli: add BLHeli to parameter descriptions 2018-12-17 19:01:46 +09:00
Randy Mackay 4bceabb333 AP_BLHeli: minor formatting fixes 2018-12-17 19:01:46 +09:00
Andrew Tridgell 1910f266a6 AP_BLHeli: added SERVO_BLH_REMASK for reversible motors
this allows the user to specify which motors are configured as
reversible (3D)
2018-11-16 08:33:35 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 6b2ad734b6 AP_BLHeli: correct SERVO_BLH_POLES parameter value range metadata 2018-11-02 20:44:15 +09:00
vierfuffzig 83f4f5c347 AP_BLHeli: add motor pole parameter 2018-10-20 10:15:34 +11:00
Andrew Tridgell 53fbdc3750 AP_BLHeli: pass motor mask to serial_setup_output() 2018-08-04 19:29:13 +10:00
Andrew Tridgell 476a40c906 AP_BLHeli: improved reliability of pass-thru support
this uses a connection cache to prevent re-connecting to an ESC when
not needed, and allows for pass-thru comms on any port, using
SERVO_BLH_PORT parameter
2018-08-04 19:29:13 +10:00
Andrew Tridgell 05a8a5c173 AP_BLHeli: changes from PR review 2018-06-19 09:36:03 +10:00
Andrew Tridgell 34bbd29f25 AP_BLHeli: send ESC telem packets over MAVLink 2018-06-19 09:36:03 +10:00
Andrew Tridgell c0e8114f9a AP_BLHeli: removed extra UDID_START define 2018-06-06 07:15:41 +10:00
Andrew Tridgell a2351bf99f AP_BLHeli: log bad telem CRCs 2018-04-09 15:32:04 +10:00
Andrew Tridgell 0f2a7108d3 AP_BLHeli: added SERVO_BLH_OTYPE
this allows use of BLHeli telemetry on rover, sub and on quadplane fwd
motors
2018-04-09 15:32:04 +10:00
Andrew Tridgell 84d76cf915 AP_BLHeli: removed special handling of oneshot125 2018-04-07 09:10:29 +10:00
Andrew Tridgell fff143d83e AP_BLHeli: default protocol timeout to 0
this gives best compatibility with BLHeliSuite
2018-04-07 09:10:29 +10:00
Andrew Tridgell b77ba8fbd1 AP_BLHeli: improved debug output
allow debug on any MAVLink port
also fixed handling of passthru for oneshot125
2018-04-07 09:10:29 +10:00
Andrew Tridgell 61d513e91b AP_BLHeli: use get_esc_scaling() for motor range
this fixes an issue with blhelisuite init when min is not 1000
2018-04-07 09:10:29 +10:00
Andrew Tridgell c17338473d AP_BLHeli: unlock uart on InterfaceExit 2018-04-07 09:10:29 +10:00
Andrew Tridgell 6f704b3818 AP_BLHeli: fixed use of SERVO_BLH_AUTO 2018-04-07 09:10:29 +10:00
Andrew Tridgell 7c678bd707 AP_BLHeli: use UART locking
this gains exclusive access to the UART while MSP protocol is active to
prevent protocol corruption due to other drivers writing to hal.console
2018-04-07 09:10:29 +10:00
Andrew Tridgell b7bcee69a3 AP_BLHeli: added telemetry logging support
allow telemetry feedback from BLHeli_32 ESCs
2018-04-07 09:10:29 +10:00
Andrew Tridgell fde092a246 AP_BLHeli: check for rcout serial support
don't build AP_BLHeli on HALs that can't support serial output to ESCs
2018-04-07 09:10:29 +10:00
Andrew Tridgell 1fc0047fd9 AP_BLHeli: raise timout to 60s 2018-04-07 09:10:29 +10:00
Andrew Tridgell 3daf27db64 AP_BLHeli: expanded test code 2018-04-07 09:10:29 +10:00
Andrew Tridgell ee94d73e77 AP_BLHeli: added SERVO_BLH_TMOUT parameter 2018-04-07 09:10:29 +10:00
Andrew Tridgell 9aa5a97f26 AP_BLHeli: added test interface
and added delay on serial init
2018-04-07 09:10:29 +10:00
Andrew Tridgell b0442d1c5c AP_BLHeli: fixed build for rover
only plane and copter have AP_Motors for motors mask
2018-04-07 09:10:29 +10:00
Andrew Tridgell 54185af8ef AP_BLHeli: removed test code
not needed any more, and no longer compiles
2018-04-07 09:10:29 +10:00
Andrew Tridgell 9ba3992d9e AP_BLHeli: added SERVO_BLHI_AUTO option
makes choosing motor mask much easier for multicopters
2018-04-07 09:10:29 +10:00
Andrew Tridgell a1a83ab768 AP_BLHeli: added ESC serial protocol implementation
this implements the MSP and BLHeli protocols for passthru control of
BLHeli ESCs
2018-04-07 09:10:29 +10:00