Commit Graph

19526 Commits

Author SHA1 Message Date
Lucas De Marchi 04f601d42f AP_HAL_Linux: PWM_Sysfs: minor changes to Bebop/mainline integration
- Make error path in constructor shorter and earlier. It's calling
    panic() so there's no reason to do anything else

  - We don't need to check variable for NULL when calling free()

  - Change set/get_polarity to use a virtual function; this allows us
    not to fail silently if _polarity_path is NULL for PWM_Sysfs.
    PWM_Sysfs_Bebop just overrides this method and implement an empty
    version.
2015-12-01 07:07:25 +11:00
Julien BERAUD 8733f34ce1 AP_HAL_Linux: PWM_Sysfs for bebop
Modify existing class to create a PWM_Sysfs_Base class and derive it for
Bebop and Pwm_Sysfs (mainline kernel)

use asprintf for path allocation since it doesn't cost so much and is done
only at startup
Note that the constructor of the 2 classes : PWM_Sysfs and PWM_Sysfs_Bebop
allocate the paths and the constructor and desctuctor of class PWM_Sysfs_Base
frees them.
only keep in memory the paths that are needed later, i.e free _export_path,
_duty_path. The remaining path are freed in the destructor
2015-12-01 07:07:25 +11:00
Tom Pittenger 4c1a70eb66 Plane: print start of land approach 2015-12-01 07:05:07 +11:00
mirkix ef56d952cd Linux_HAL_Essentials: Add HC-SR04 README.md 2015-12-01 07:04:10 +11:00
mirkix fe442d35df Linux_HAL_Essentials: Add AioPRU README.md 2015-12-01 07:03:28 +11:00
Andrew Tridgell 52f2fce1d5 RC_Channel: prevent float exception with bad RCn_MIN/MAX/TRIM
thanks to Michael for finding this
2015-11-30 21:53:54 +11:00
Leonard Hall 6eca767db0 Copter: reduce autotune min D param default to 0.001 2015-11-30 11:21:54 +09:00
Hamish Willee 7bbe73b233 Tools: fix up URL in readme to SITL via Vagrant doc 2015-11-30 09:55:07 +09:00
Andrew Tridgell dfa107c7bb autotest: added Dalby OBC2016 mission and geofence 2015-11-30 07:46:40 +11:00
Andrew Tridgell a6ed3e5e80 autotest: added Dalby location
location of OBC2016
2015-11-30 07:46:18 +11:00
Andrew Tridgell 6fdc6074d6 autotest: fixed "Reached command" string 2015-11-29 21:46:31 +11:00
Andrew Tridgell ffa316c1f3 autotest: fixed copter for new strings for arm/disarm 2015-11-29 18:39:32 +11:00
Andrew Tridgell 1768e806bb PX4Firmware: submodule update
SBUS support for FMUv4
2015-11-29 16:56:46 +11:00
Andrew Tridgell 672fc86d44 Travis: added px4-v4 to the travis build 2015-11-27 19:23:29 +11:00
Andrew Tridgell af82ca3c43 PX4: removed old Images in clean 2015-11-27 18:54:31 +11:00
Andrew Tridgell 412bba0192 PX4: use Makefile.make
preparing for cmake build
2015-11-27 18:54:31 +11:00
Andrew Tridgell 1aa43b23f4 PX4: clean generated uORB topic headers in px4-clean 2015-11-27 18:54:31 +11:00
Andrew Tridgell 00276273cf PX4Firmware: submodule update (major update from upstream) 2015-11-27 18:54:31 +11:00
Andrew Tridgell 335e621932 HAL_PX4: cope with PX4 header changes 2015-11-27 18:54:31 +11:00
Andrew Tridgell 1f9ed423c4 PX4Firmware: submodule update (fix ppmsum) 2015-11-27 18:54:31 +11:00
Andrew Tridgell 9781e46e7f PX4Firmware: submodule update 2015-11-27 18:54:31 +11:00
Andrew Tridgell ea38448372 AP_Relay: don't default to using two PWMs as relays on FMUv4 2015-11-27 18:54:31 +11:00
Andrew Tridgell 155e82c1b3 HAL_PX4: fixed PWM output for FMUv4 2015-11-27 18:54:31 +11:00
Andrew Tridgell 344cd926a8 PX4Firmware: submodule update 2015-11-27 18:54:30 +11:00
Andrew Tridgell 5105650304 PX4: added FMUv4 support in startup nsh script 2015-11-27 18:54:30 +11:00
Andrew Tridgell 015c110114 PX4: disable px4flow and oreoled on FMUv4
flow is dying on startup (needs fixing)

oreoled is PH2 specific
2015-11-27 18:54:30 +11:00
Andrew Tridgell c34100f6a2 GCS_MAVLink: support FMUv4 2015-11-27 18:54:30 +11:00
Andrew Tridgell 774e257a88 AP_InertialSensor: support FMUv4 2015-11-27 18:54:30 +11:00
Andrew Tridgell 9835043dd5 HAL_PX4: support FMUv4 2015-11-27 18:54:30 +11:00
Andrew Tridgell 8739c55d27 AP_Common: added ID for FMUv4 2015-11-27 18:54:30 +11:00
Andrew Tridgell 6dd45998f4 AP_BattMonitor: support FMUv4 2015-11-27 18:54:30 +11:00
Andrew Tridgell 09276ce068 build: added px4fmu-v4 support (for XRacer) 2015-11-27 18:54:30 +11:00
Luis Vale Gonçalves 4722a388b9 Plane: Text revisions
text revisions
2015-11-27 18:54:30 +11:00
Julien BERAUD d7ff90326b mk: Fix build with removed header files
-MP "instructs CPP to add a phony target for each dependency other than the
main file, causing each to depend on nothing. These dummy rules work around
errors make gives if you remove header files without updating the Makefile to
match."
2015-11-27 16:25:08 +09:00
Randy Mackay 19f5c8f209 Copter: remove debug comments 2015-11-27 16:17:00 +09:00
Luis Vale Gonçalves 3199829d45 Copter: revisions to text strings sent to GCS 2015-11-27 16:16:58 +09:00
Andrew Tridgell f5d73a9d10 Copter: fixed deadzone for acro with extgyro and no flybar 2015-11-27 15:24:43 +09:00
Andrew Tridgell d8ee9feaac AC_AttitudeControl: fixed external tail gyro with no flybar
this sets up the tail pass-through for acro mode
2015-11-27 15:24:41 +09:00
Randy Mackay 06880e8b04 Copter: fix input_manager init order to resolve compiler warning 2015-11-27 15:18:17 +09:00
Andrew Tridgell 47b9f6598a AP_Motors: allow change to heli rotor speed controls while armed
this helps a lot with tuning for gas helis
2015-11-27 15:12:03 +09:00
Randy Mackay 4eafd90864 Copter: remove old comment 2015-11-27 15:02:24 +09:00
Randy Mackay 9e74222a3a ADSB: minor update to parameter descriptions
Also minor format fixes
2015-11-27 15:02:22 +09:00
Randy Mackay e6f8d812d3 Copter: adsb handling simply logs error to dataflash 2015-11-27 15:02:20 +09:00
Randy Mackay 4ef53427f2 Copter: allow ADSB to be disabled 2015-11-27 15:02:17 +09:00
Tom Pittenger 34d6d985e9 Copter: Add support for ADS-B 2015-11-27 15:02:15 +09:00
Andrew Tridgell 084b607862 autotest: updated string for "Flight plan received" 2015-11-26 12:52:19 +11:00
Andrew Tridgell e80ca592c4 AP_ADSB: update for new message format 2015-11-26 10:25:33 +11:00
Andrew Tridgell 2804434596 SITL: update ADSB for new format 2015-11-26 10:25:18 +11:00
Andrew Tridgell 76209de08e GCS_MAVLink: regenerate headers 2015-11-26 10:25:08 +11:00
Andrew Tridgell 2c7bfc7984 GCS_MAVLink: update ADSB_VEHICLE message 2015-11-26 10:24:56 +11:00