Commit Graph

13724 Commits

Author SHA1 Message Date
Andrew Tridgell 39fadad7d6 HAL_Linux: fixed build warnings 2014-10-09 16:49:23 +11:00
Andrew Tridgell b3894e8b10 HAL_VRBRAIN: reduce the number of times we split up UART reads and writes 2014-10-09 12:29:25 +11:00
Andrew Tridgell 10b0ca7ea8 HAL_PX4: reduce the number of times we split up UART reads and writes 2014-10-09 12:29:25 +11:00
Andrew Tridgell c834589daa HAL_Linux: reduce the number of times we split up UART reads 2014-10-09 12:29:25 +11:00
Andrew Tridgell 076bb1294e HAL_Linux: improved UDP packetisation and add flow control reporting
report we have flow control on UDP and TCP
2014-10-09 12:29:25 +11:00
Randy Mackay 08f8fdfabd Rover: report gyro unhealthy if failed calibration 2014-10-09 10:00:19 +09:00
Randy Mackay 6d8e760582 Plane: report gyro unhealthy if failed calibration 2014-10-09 10:00:17 +09:00
Randy Mackay a8733ae8a8 Copter: support pre-flight calibration of gyro 2014-10-09 10:00:15 +09:00
Randy Mackay 9a0a83f404 Copter: report gyro unhealthy if failed calibration 2014-10-09 10:00:12 +09:00
Randy Mackay 128058362b Copter: pre-arm check that gyro cal succeeded 2014-10-09 10:00:09 +09:00
Randy Mackay 834f2bea07 INS: add gyro_calibrated_ok_all method
This returns true if the gyros have been calibrated successfully
2014-10-09 10:00:07 +09:00
Andrew Tridgell 70ca87c4e6 AP_RangeFinder: handle all I2C rangefinder types on PX4 in PX4Firmware 2014-10-09 11:06:16 +11:00
Andrew Tridgell 49fa887773 Rover: prepare 2.47beta1 2014-10-09 09:20:11 +11:00
Andrew Tridgell cebfef3ead HAL_Linux: don't accept less than 5 input channels 2014-10-09 09:19:35 +11:00
Andrew Tridgell 1721216019 Rover: fixed skid steering
the main issue was the use of the last throttle in the throttle slew
rate control, but manual skid steering was also broken
2014-10-09 08:59:26 +11:00
Randy Mackay 8eba55ed67 Copter: throttle zero debounce to separate function
Also initialise throttle_zero  to true on startup
Treat throttle less than zero as zero
2014-10-08 21:52:16 +09:00
Jonathan Challinger 8e3d163c3d Copter: Change all zero throttle checks that should be conservative to use ap.throttle_zero 2014-10-08 20:54:24 +09:00
Jonathan Challinger 96f50b7cd7 Copter: add throttle_zero state 2014-10-08 20:54:19 +09:00
Jonathan Challinger fa9d10e59b Copter: log CURR message at 10hz 2014-10-08 20:49:36 +09:00
Andrew Tridgell b0c9e97181 Linux_HAL_Essentials: P8.15 is an input pin 2014-10-08 12:50:50 +11:00
Andrew Tridgell a3fee16604 HAL_Linux: added DSM/Spektrum RCInput support
this decodes DSM using the RCIN pulses from the PRU
2014-10-08 12:50:50 +11:00
Andrew Tridgell 3e3f87188b HAL_Linux: enable DSM power pin 2014-10-08 12:50:50 +11:00
Andrew Tridgell 50e5ae6f7a HAL_Linux: added low level DSM decoder
based on dsm.c from PX4 project
2014-10-08 12:50:50 +11:00
Craig Elder adf741b959 Frame_params: Updated 3DR_X8-M_RTF.param 2014-10-07 15:00:57 -07:00
Randy Mackay 2f3f1a1d5e Copter: Rate Pitch IMAX default to 1000
Spotted by Jonathan Challinger, thanks!
2014-10-07 21:06:43 +09:00
Andrew Tridgell e0caee9500 Linux_HAL_Essentials: rebuilt rcinpru0 with 300 ring buffer entries
thanks to Sid for doing this
2014-10-07 14:57:35 +11:00
Andrew Tridgell 9b207d029d HAL_Linux: change ring buffer to 300 entries 2014-10-07 14:57:34 +11:00
Andrew Tridgell 994b2597fd Linux_HAL_Essentials: change ring buffer to 300 entries
this ensures full SBUS frames can be decoded
2014-10-07 14:57:34 +11:00
Andrew Tridgell b1845ed00d HAL_Linux: initial support for parallel SBUS and PPM-SUM decoding 2014-10-07 14:57:34 +11:00
Andrew Tridgell 42e9dc3c31 HAL_Linux: added SBUS decoder from PX4 project
thanks Lorenz!
2014-10-07 14:57:34 +11:00
Craig Elder 5b23f81e2b Frame_params: Updating 3DR_X8-M_RTF.param 2014-10-06 16:07:49 -07:00
Craig Elder 5d7ec98d7a Frame_params: Adding 3DR_X8-M_RTF.param 2014-10-06 15:44:35 -07:00
Andrew Tridgell 71d786187e Plane: make auto takeoff independent of compass
this solves a problem of poor initial yaw due to poor compass offsets
causing a takeoff to not be in the direction the plane is pointing. A
summed gyro is used until the GPS speed is above 5m/s for 2 seconds,
then the GPS heading corrected by the summed gyro error is used for L1
based navigation for the rest of the takeoff
2014-10-07 07:17:46 +11:00
Andrew Tridgell 809b6cc855 AP_AHRS: added get_yaw_rate_earth()
used to estimate course correction on takeoff
2014-10-07 07:17:46 +11:00
Craig Elder 41ce8c2abd Frame_params: 3DR_Iris+
Decreased ATC_RATE_RP_MAX to 18000
2014-10-06 12:17:52 -07:00
Craig Elder be352e9471 AP_GPS: Removed CFG-DAT message from 3DR-Ublox-NEO7
CFG-DAT is generated by U-Center but no longer used by the receiver.
2014-10-06 11:21:42 -07:00
Randy Mackay 5e91d49736 Tracker: constrain manual pass through 2014-10-06 19:41:04 +09:00
Randy Mackay 4f5f253656 Tracker: send RADIO_IN msg to GCS 2014-10-06 19:41:02 +09:00
Randy Mackay 1b7ca684ee Tracker: add read_radio 2014-10-06 19:41:01 +09:00
Randy Mackay f4d45c9b6d Tracker: limit yaw to YAW_RANGE 2014-10-06 19:40:59 +09:00
Randy Mackay e7e0dd3509 Tracker: remove outdated comments 2014-10-06 19:40:58 +09:00
Randy Mackay b6634bb416 Tracker: reorder servo functions
No functional change.
Flow runs from top to bottom with functions at top of file calling those
lower down.
2014-10-06 19:40:57 +09:00
Randy Mackay a43a8ccfa0 Tracker: remove servo debug 2014-10-06 19:40:55 +09:00
Randy Mackay 704a720412 Tracker: move servo init to servos.pde 2014-10-06 19:40:54 +09:00
Randy Mackay c69bfa2cb1 Tracker: limit pitch to PITCH_RANGE
Also set servo_limit flags for pitch
2014-10-06 19:40:53 +09:00
Randy Mackay f2dab17230 Tracker: add YAW_RANGE and PITCH_RANGE params
These capture the yaw and pitch range of movement in degrees
2014-10-06 19:40:51 +09:00
Randy Mackay 1786c36457 Tracker: move nav_status lower in AntennaTracker.pde
No functional change
2014-10-06 19:40:50 +09:00
Randy Mackay b9eaec8e97 Tracker: rename err variable to angle_err
No functional change
2014-10-06 19:40:48 +09:00
Randy Mackay bf4ba9ffc4 Tracker: auto move servos only with valid vehicle position 2014-10-06 19:40:47 +09:00
Randy Mackay 0d1fefc23d Tracker: vehicle state made global 2014-10-06 19:40:46 +09:00