Commit Graph

26941 Commits

Author SHA1 Message Date
Lucas De Marchi
3eb16fd881 build: PX4: install rc.<board-name> as init script 2017-03-24 12:06:19 +11:00
Lucas De Marchi
b1b07f4e70 build: make bootloader path relative to ROMFS
Differentiating if the path should be relative to the build dir or the
ROMFS dir based purely on the type of the item is not a good approach.
This prepares the way to have more files on ROMFS with different names
on src and dst.
2017-03-24 12:06:19 +11:00
Lucas De Marchi
7d8bed8a55 ROMFS: standardize board-override script
Standardize on the following sequence for allowing different startup
sequences:

    board-specific file
    etc/rc on microSD card
    etc/rc.txt on microSD card

Also remove comment about MODE variable that is not used by ArduPilot
2017-03-24 12:06:19 +11:00
Lucas De Marchi
8db111e0a0 build: do not add sercon for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi
2349909033 AP_BoardConfig: start mtd driver 2017-03-24 12:06:19 +11:00
Lucas De Marchi
da68612f4b AP_BoardConfig: make error function public and static
So it can be used by other parts of the code calling px4_start_driver().
2017-03-24 12:06:19 +11:00
Tom Pittenger
fb24a03faf AP_Baro: don't compile drivers for devices that don't use them 2017-03-24 12:06:19 +11:00
Lucas De Marchi
156efd6fec AP_Compass: use IST8310 for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi
fad583b259 AP_HAL_PX4: RCOoutput_Tap: map to [ RPMSTOPPED, RPMMAX ] range
When it's not armed we get _esc_pwm_min from the AP_Motors library,
which would cause motors to start spinning.  Map it to start from
RPMSTOPPED so it doesn't spin when it's not armed.
2017-03-24 12:06:19 +11:00
Lucas De Marchi
5e26940070 AP_HAL_PX4: disable safety switch for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi
a682bb837a AP_SerialManager: uartA with 460800 baud for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi
b1a6b03cbf PX4Firmware: add upload tool to aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi
d3df9c8d39 build: use dummy tone_alarm on aerofc
This allows us to use tone_alarm in the init script besides the calls
from ArduPilot code.
2017-03-24 12:06:19 +11:00
Lucas De Marchi
721e85c151 PX4Firmware: add dummy tone_alarm
For boards that don't have a tone_alarm.
2017-03-24 12:06:19 +11:00
Lucas De Marchi
20c5e9ec08 Add support for external mag on aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi
327de91b5c AP_HAL_Px4: use RCOutput_Tap for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi
75977cd890 AP_HAL_PX4: implement motor output for aerofc
This uses tap ESCs, as found on the PX4 project, translated to our
internal APIs. It doesn't have the feedback from ESCs yet.
2017-03-24 12:06:19 +11:00
Lucas De Marchi
ce9013b8ee AP_HAL_PX4: add RCOutput skeleton for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi
87846fe049 AP_InertialSensor: use MPU6500 on aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi
b4d0569339 AP_HAL_PX4: Use empty RCOutput driver for aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi
00c2949dfb Add support for baro on aerofc 2017-03-24 12:06:19 +11:00
Lucas De Marchi
b17acfee12 Add aerofc support
Flight Controller board that comes on Intel Aero RTF Drone.
2017-03-24 12:06:19 +11:00
Lucas De Marchi
d2aef41b08 build: add aerofc-v1 bootloader 2017-03-24 12:06:19 +11:00
Lucas De Marchi
197d99f38d PX4Firmware: update submodule
Add support to aerofc
2017-03-24 12:06:19 +11:00
Michael du Breuil
649ef0fc16 Plane: Only consider a takeoff as begun if the safety switch has been pressed 2017-03-23 16:55:47 -07:00
Andre Kjellstrup
bc8a212b68 one SITL location corrected 2017-03-23 14:24:43 -07:00
Jacob Walser
bb2215bb9f Sub: Move failsafe functions into failsafe.cpp 2017-03-23 15:06:46 -04:00
Jacob Walser
0c4e426ddb Sub: Remove unused #defines from config.h 2017-03-23 14:59:17 -04:00
Jacob Walser
0b080c78d8 Sub: Remove unused gps_hdop_good parameter 2017-03-23 14:16:41 -04:00
Jacob Walser
65ad8ff7f1 Sub: Remove unused defines from old experiments 2017-03-23 14:16:40 -04:00
Jacob Walser
3934281b43 Sub: Remove esc calibration 2017-03-23 11:59:30 -04:00
Jacob Walser
b0e5a93099 Sub: Remove VELHOLD mode
Obsolete since GUIDED implemented
2017-03-23 01:36:17 -04:00
Jacob Walser
5b4ec88f11 Sub: Remove one layer of abstraction for ServoRelayEvents.update_events
call
2017-03-23 01:36:17 -04:00
Jacob Walser
cb38c66479 Sub: Move Notify update to ArduSub.cpp
No need for a separate file
2017-03-23 01:36:17 -04:00
Jacob Walser
2fa9d31787 Sub: Remove auto-trim
Sub vehicles usually have some static stability
2017-03-23 01:36:17 -04:00
Jacob Walser
15a117dfb4 Sub: Remove ch6 tuning 2017-03-23 01:36:17 -04:00
Jacob Walser
6886952438 Sub: Remove simple mode 2017-03-22 23:39:37 -04:00
Andrew Tridgell
2d603c1cba SRV_Channel: fixed reversing on servo gimbals 2017-03-23 11:02:07 +09:00
Jacob Walser
353202e03c Copter: Fix parameter metadata 2017-03-22 16:16:26 -07:00
Jacob Walser
1b00dfb642 AP_GPS: Fix parameter metadata 2017-03-22 16:16:26 -07:00
Jacob Walser
a9a8521383 AP_OpticalFlow: Fix parameter metadata 2017-03-22 16:16:26 -07:00
Jacob Walser
646d68c76d AP_NavEKF2: Fix parameter metadata 2017-03-22 16:16:26 -07:00
Jacob Walser
84e5e088de AP_BoardConfig: Fix parameter metadata 2017-03-22 16:16:26 -07:00
Jacob Walser
ea8b870067 Sub: Increase timeout for MANUAL_CONTROL failsafe 2017-03-22 16:02:16 -04:00
Jacob Walser
0ea0f0c941 Sub: Update POSHOLD mode 2017-03-22 16:02:00 -04:00
Jacob Walser
4233ebd005 Sub: Improve depth hold behavior 2017-03-22 15:53:38 -04:00
Jacob Walser
fae6c084ac Sub: Add camera slew rate parameter 2017-03-22 15:53:38 -04:00
Jacob Walser
0966dcb665 Sub: Implement MAV_CMD_NAV_RETURN_TO_LAUNCH 2017-03-22 15:53:38 -04:00
Vedarth Sharma
e23bb6702d Add my name to GIT_Success.txt 2017-03-22 20:31:42 +09:00
Andrew Tridgell
af97a3974b Plane: initialise target height correctly on quadplane transition
this fixes a bug where a plane in QSTABILIZE would drop suddenly if
switched to FBWA when the target altitude had not been initialised
2017-03-22 21:34:40 +11:00