Andrew Tridgell
0ee8a8d93c
HAL_ChibiOS: switched fmuv5 firmware to ChibiOS IO fw
...
so users installing fmuv5 on a Pixhawk4 get the SBUS fixes
2018-12-31 08:10:19 +11:00
Andrew Tridgell
f303e5b659
HAL_ChibiOS: fixed safety switch and LEDs on PH4-mini
...
fixes #10127
2018-12-31 08:06:43 +11:00
Randy Mackay
6a0b56ee77
AP_Mount: fix extreme gimbal movements before TX is turned on
2018-12-20 09:02:02 +09:00
bnsgeyer
9ac8e98161
AP_Motors: Dualheli- fix bug for scaling second swashplate
2018-12-18 09:15:28 +09:00
Andrew Tridgell
2c75272019
HAL_ChibiOS: setup PH4 for right voltage scaling
2018-12-18 11:02:18 +11:00
Randy Mackay
a9982be6fc
AP_OpticalFlow: remove unnecessary init from CSOF and add comments
...
also replace greater-than-zero with is_positive
2018-12-17 09:08:27 +09:00
Randy Mackay
c3407ab598
AP_OpticalFlow: driver for Cheerson CX-OF
2018-12-17 09:07:07 +09:00
Randy Mackay
4efd434357
AP_SerialManager: add optical flow to list of protocols
2018-12-17 09:05:35 +09:00
Randy Mackay
123128deac
GCS_Common: optical flow comp fields should include flow
2018-12-17 09:05:27 +09:00
Andrew Tridgell
1b19d09653
AP_InertialSensor: fixed orientation of 2nd OmnibusF7V2 IMU
2018-12-17 09:01:07 +09:00
Randy Mackay
5d8b2002f1
AP_Follow: add get bearing and distance accessors
...
used for reporting purposes
2018-12-17 08:59:22 +09:00
Randy Mackay
0107600c69
AP_Follow: move enabled accessor to top of definition file
2018-12-17 08:59:18 +09:00
Randy Mackay
2aeac20772
AP_Follow: remove send-text to GCS
2018-12-17 08:59:13 +09:00
Andrew Tridgell
02d05d2e76
AP_Follow: fixed handling of FOLL_SYSID parameter
...
removed separate variable and use parameter only
2018-12-17 08:56:15 +09:00
Andrew Tridgell
258f472028
HAL_ChibiOS: detect stuck I2C bus and clear with SCL
...
This detects the I2C bus becoming stuck with SDA low after a timeout
and clears the bus by toggling SCL. Many thanks to @jhw84 for the
suggestion
2018-12-14 15:49:11 +11:00
Andrew Tridgell
3ffee081a4
HAL_ChibiOS: added palReadLineMode() function
...
used to change and restore line modes
2018-12-14 15:49:08 +11:00
Andrew Tridgell
22ed074030
AP_OSD: fixed fonts for new font system
2018-11-29 15:35:50 +11:00
Andrew Tridgell
5e162cb0e1
HAL_ChibiOS: use ChibiOS IO firmware for Pixhawk4
2018-11-28 09:12:19 +11:00
Andrew Tridgell
352a7667a7
HAL_ChibiOS: allow ROMFS to override a file
...
this allows a hwdef.dat with an include to change an embedded file
specified in the include
2018-11-28 09:10:10 +11:00
Matt
d3edb53fcd
AP_BattMonitor: Increase solo's power off button delay time
...
The Solo battery's power button needs to be held to power off. The
debounce time before it plays the power off tone is too low.
Occasionally it causes the user to not hold the button long enough.
This corrects the delay before playing the power off tone.
2018-11-24 11:13:25 +09:00
Randy Mackay
af220a2118
AP_RangeFinder: benewake tfmini always provide cm distances
...
a misunderstanding of the datasheet led to the mistaken idea that while in short-range-mode the distances were returned in millimeters
2018-11-22 08:58:14 +09:00
Randy Mackay
ed3ed7270c
RangeFinder: benewake buffer uses uint8_t
2018-11-19 11:46:28 +09:00
Andrew Tridgell
dbae45e868
AP_RCProtocol: fixed DSM parser for 8 channels
...
this ensures we remember channels from the previous frame, avoiding a
bug with more than 7 channels
2018-11-19 11:37:40 +09:00
Andrew Tridgell
4f82f574e9
AP_RPM: set pin to input before attaching interrupt
...
this fixes input on AUX6 on CubeBlack
2018-11-15 12:38:22 +11:00
Randy Mackay
4de971b879
AP_RangeFinder: fix benewake checksum check
2018-11-15 09:49:18 +09:00
Randy Mackay
8fdb67d955
DataFlash: log rangefinder status in RFND msg
2018-11-15 09:49:14 +09:00
Randy Mackay
54494a71e6
AP_RangeFinder: benewake returns at least 12m or 22m when out-of-range
...
value logged and shown to the user will be at least 12m for TFmini or 22m for TF02 which ensure the user won't see the range drop even if they have configured a very short useable distance
2018-11-15 09:49:11 +09:00
Randy Mackay
bb61b7e5e9
AP_RangeFinder: benewake logic reordering
...
this should be a non-functional change
2018-11-15 09:47:57 +09:00
Randy Mackay
54717c4f53
AP_RangeFinder: benewake lidar returns max range + 1m when out-of-range
...
also returns out-of-range when signal is weak
2018-11-15 09:47:30 +09:00
Randy Mackay
b579a36d8d
AP_RangeFinder: Benewake driver discards distances over 327m
2018-11-06 12:32:11 +09:00
Peter Barker
46b035419e
DataFlash: add sanity checks around EraseAll
2018-11-06 12:31:02 +09:00
Peter Barker
85b46ea103
GCS_MAVLink: allow vehicles to override VFR_HUD.alt
2018-11-06 12:19:28 +09:00
Andrew Tridgell
0717dddc46
HAL_ChibiOS: bring copter stable up to date with hwdef.dat
...
this fixes GPIO numbering, fixes terrain on some boards and adds some
new boards
2018-11-05 19:36:40 +11:00
Andrew Tridgell
d8fd590a3f
AP_IOMCU: fixed a race in event trigger on startup
...
this fixes the issue with initial safety option state, and with
initial safety mask
2018-11-05 17:26:28 +09:00
Andrew Tridgell
b55df3a8ee
HAL_ChibiOS: ensure RC in channels are bounded
2018-11-05 17:24:19 +09:00
Andrew Tridgell
e4a4828203
HAL_ChibiOS: fixed LED mapping for fmuv4
2018-10-29 14:07:30 +11:00
Nghia Nguyen
f0a7df7cf9
AP_Rangefinder: Add support for Garmin LidarLite-V3HP
2018-10-27 11:18:00 +01:00
Randy Mackay
4eee1fc06a
AC_Fence: get_polygon_points does not include return point
2018-10-26 15:21:24 +09:00
Randy Mackay
5082d43b0c
AC_Avoid: constify a few local variables
2018-10-26 15:21:22 +09:00
Randy Mackay
55dff47d75
AC_Avoid: stop includes margin for intersection calc
...
the simpler stop feature (as opposed to slide) was not including the margin when looking for intersections with the boundary meaning it could slow too late
2018-10-26 15:21:18 +09:00
Randy Mackay
0e0472054a
AP_Proximity: increase MAV driver timeout to 500ms
...
this comes after testing with ROS/mavros and discovering the update rate is only 4hz
2018-10-26 15:21:14 +09:00
Randy Mackay
d9ed07919c
AP_RangeFinder: check I2C dev during detect
2018-10-26 15:20:54 +09:00
JIMWAR
bd353db8ab
AC_Avoid: fix adjust_velocity_polygon
...
adjust_velocity_polygon function ignoring boundary[0]
2018-10-26 15:19:57 +09:00
Andrew Tridgell
f4c4f061b8
AP_Notify: fixed PixracerLED on NuttX
...
led_dim must be a positive number, and is not related to the led off
value
2018-10-26 15:18:53 +09:00
Andrew Tridgell
114318a9e3
AP_HAL: fixed PX4 LED polarity
2018-10-26 15:18:53 +09:00
Andrew Tridgell
6df32d6851
AP_Notify: init gpio state for LEDs
2018-10-26 15:18:53 +09:00
Andrew Tridgell
694543e8b2
AP_Notify: fixed px4-v4 to use pixracer LED driver
2018-10-26 15:18:53 +09:00
Randy Mackay
6e8e3cdbb2
AP_HAL_ChibiOS: update kakutef7 hwdef
...
This makes the kakutef7 the same as master commit bb99165
2018-10-26 16:16:36 +10:00
Randy Mackay
e8e82e99d3
AP_HAL_ChibiOS: fix safety switch option handling
2018-10-05 10:25:11 +09:00
Andrew Tridgell
4a1348a432
HAL_ChibiOS: fixed a race in DShot code
...
this fixes a problem found by Daniel Met with the copter 3.6 beta
release
2018-10-05 10:24:59 +09:00
Michael du Breuil
62f997d73c
AP_AHRS: Internalize EKF getLLH altitude management
2018-10-05 10:23:53 +09:00
Michael du Breuil
294737abc8
AP_NavEKF3: Fix roundoff, and missing offset handling of getLLH
2018-10-05 10:23:50 +09:00
Michael du Breuil
85e3aea8b7
AP_NavEKF2: Fix roundoff, and missing offset handling of getLLH
2018-10-05 10:23:48 +09:00
Andrew Tridgell
1fd5017fab
AP_Compass: use rotation_equal() from AP_Compass
2018-10-01 14:29:08 +09:00
Andrew Tridgell
e90e89b687
AP_Math: added rotation_equal()
2018-10-01 14:29:05 +09:00
Andrew Tridgell
2ad2bb43f8
AP_Compass: fixed handling of duplication rotations
...
we have some rotations that are duplicated, such as ROLL_180_YAW_90
and PITCH_180_YAW_270. This copes with those in the auto-orientation
code
2018-10-01 14:29:02 +09:00
Randy Mackay
d78c7631d4
Compass: fix compile warning in calibrator output
2018-10-01 14:28:55 +09:00
Andrew Tridgell
2f637225f2
HAL_ChibiOS: fixed RSSI voltage from IOMCU
2018-10-01 11:54:43 +09:00
Leonard Hall
4679afdf31
AC_AttitudeControl: Add missing variable initalisations
2018-09-15 10:16:25 +09:00
Leonard Hall
dfa20484fa
AC_PID: Fix D term initialisation
2018-09-15 10:16:04 +09:00
Michael du Breuil
a3a8783e28
AC_AttitudeControl: Use reset_rate_controller_I_terms() helper
2018-09-15 10:16:02 +09:00
Randy Mackay
5904393170
AP_Arming: rename rudder_arming to get_rudder_arming_type
2018-09-15 10:12:44 +09:00
Randy Mackay
0baf808c5a
AP_Arming: minor format fix
2018-09-15 10:12:27 +09:00
Randy Mackay
fec32e4e0c
AP_Arming: add RUDDER parameter
2018-09-15 10:12:23 +09:00
Leonard Hall
4afb6a5d2c
AC_PosControl: Fix divide by zero check in limit_vector_length
2018-09-15 10:11:02 +09:00
Leonard Hall
aa0d8cb386
AC_AttitudeControl: Add minimum angle limit for get_althold_lean_angle_max
2018-09-15 10:11:00 +09:00
Andrew Tridgell
313baec2fd
HAL_ChibiOS: fixed ADC bug
...
this caused bad analog readings when the number of channels being read
was more than the number of hw channels
thanks to @vierfuffzig for reporting!
2018-09-15 10:06:39 +09:00
Andrew Tridgell
f79404457f
AP_Compass: default COMPASS_AUTO_ROT to 2 for all boards
...
we're confident of this code now
2018-09-14 15:17:05 +10:00
Andrew Tridgell
a4d19e1f34
AP_Notify: fixed remote play tune
2018-09-08 09:54:32 +09:00
Andrew Tridgell
cfe0fb61e1
AP_Notify: fixed oled probe on first bus
...
Thanks to Erwin Quilloy for helping to track this down
2018-09-08 09:54:31 +09:00
Andrew Tridgell
986a1eb72f
AP_IOMCU: cope with IOMCU reset in flight
...
this copes with IOMCU reset when we have safety forced off
2018-09-08 09:21:49 +09:00
Leonard Hall
74a1afd5f3
AC_Loiter: reduce twitch on init
2018-09-08 09:21:11 +09:00
Leonard Hall
e70548bacf
AC_PosControl: reduce glitch on init
2018-09-08 09:21:08 +09:00
Leonard Hall
1098890155
AC_PID_2D: add reset for filter and D term
2018-09-08 09:21:04 +09:00
Matt
6fda807e49
AP_LandingGear: Remove deploy_lock state
2018-09-03 16:50:13 +09:00
pierre-louis.k
ffe854063b
AP_RangeFinder: Remove range enforcement on out of range
2018-08-27 12:34:16 +09:00
pierre-louis.k
ec21de5ed9
AP_RangeFinder: Rework function structure in TeraRanger driver
2018-08-27 12:34:13 +09:00
pierre-louis.k
5069540ad0
AP_RangeFinder: Rename function in TeraRanger driver
2018-08-27 12:34:11 +09:00
pierre-louis.k
b9af00e7dd
AP_RangeFinder: Give back semaphore on whoami error
2018-08-27 12:34:09 +09:00
pierre-louis.k
b0acac0f55
AP_RangeFinder: Clean TeraRanger driver
2018-08-27 12:34:07 +09:00
pierre-louis.k
d1937a6334
AP_RangeFinder: Add error codes rejection for TeraRanger sensors
2018-08-27 12:34:04 +09:00
pierre-louis.k
5a5fdf9c79
AP_Proximity: Change min and max range to support both 60m and 600Hz
2018-08-27 12:33:57 +09:00
Mateusz Sadowski
f6dc6edc04
AP_Proximity: Fix sensor order on TeraRanger Tower Evo
2018-08-27 12:33:54 +09:00
Mateusz Sadowski
88a2a123a3
AP_Proximity: Correctly handle TeraRanger Tower Evo initialization
2018-08-27 12:33:51 +09:00
Mateusz Sadowski
0c6d689a3b
AP_Proximity: Change TeraRanger Tower Evo sequence mode to Tower
2018-08-27 12:33:48 +09:00
Mateusz Sadowski
39ea8b835e
AP_Proximity: Add support for TeraRanger Tower Evo
2018-08-27 12:33:46 +09:00
Randy Mackay
681645e324
AP_Motors: include boost_throttle in get_motor_mask
2018-08-27 12:32:27 +09:00
Randy Mackay
22d3ab344c
AP_Motors: add override keyword to get_motor_mask
2018-08-27 12:32:24 +09:00
Peter Barker
be19f6520c
AP_Mission: starts_with_takeoff_cmd skips past mav_cmd_nav_delay
2018-08-27 12:31:02 +09:00
Peter Barker
5cc4015144
AP_Mission: remove pointless else clauses
2018-08-27 12:30:59 +09:00
Andrew Tridgell
f635bc1d81
AP_Notify: new LED drivers
...
update to current master
2018-08-08 12:02:24 +10:00
Andrew Tridgell
87459d520a
AP_ROMFS: fixed error handling in tinflate
...
coverity CID308327
2018-08-07 13:27:47 +10:00
Andrew Tridgell
2b3054c8f6
AP_RCProtocol: Fix out of bounds write, CID 308323 and 308333
2018-08-07 13:27:45 +10:00
Peter Barker
7fbcaaae11
RC_Channels: zero all channels before populating
...
Fix for CID 308365
2018-08-07 09:42:49 +10:00
Andrew Tridgell
f59288ce83
AP_Stats: use set_and_save_ifchanged()
...
if the board has no GPS then the values usually don't change
2018-08-06 21:46:42 +10:00
Andrew Tridgell
2fb84b22c6
HAL_ChibiOS: updated F745 and OmnibusNanoV6
2018-08-06 19:27:19 +10:00
Andrew Tridgell
c249e26a03
HAL_ChibiOS: added a DMA reserve heap
...
this ensures we keep some DMA-capable memory aside for when it is
needed
2018-08-06 15:58:51 +10:00
Andrew Tridgell
d1c271cd13
HAL_ChibiOS: raise timer thread priority
...
needs to be above main for guaranteed DShot and oneshot output periods
2018-08-06 11:40:38 +10:00
Andrew Tridgell
bc2b5661c8
HAL_ChibiOS: fixed build
2018-08-06 11:40:03 +10:00
Andrew Tridgell
65df9ace57
AP_BLHeli: pass motor mask to serial_setup_output()
2018-08-06 11:17:33 +10:00
Andrew Tridgell
126333c3b5
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-06 11:17:30 +10:00
Andrew Tridgell
e4c9257e6f
HAL_ChibiOS: fixed dshot bad frames
...
adding a pre-bit on the DMAR, and ensuring that all groups are setup
for DMA together fixes the remaining bad frames reports in BLHeli32
2018-08-06 11:17:15 +10:00
Andrew Tridgell
660985db8e
HAL_ChibiOS: set min dshot separation to 100usec
...
this fixes a problem with BLHeli32 not recognising dshot
2018-08-06 11:17:11 +10:00
Andrew Tridgell
4db2c4a380
HAL_ChibiOS: fixed timeout of serial read bytes
...
this allows for fast timeout of serial read bytes in BLHeli pass-thru
2018-08-06 11:17:05 +10:00
Andrew Tridgell
c41ef82b57
AP_HAL: added chanmask to serial_setup_output()
2018-08-06 11:15:59 +10:00
Randy Mackay
bc4a5d0367
AP_Follow: fixup offset initialisation
2018-08-02 12:39:05 +09:00
hoangthien94
376fdc5cf1
AP_Follow: Initialize offsets based on offset type
2018-08-02 12:39:04 +09:00
Randy Mackay
242e0a7c0a
AP_Follow: fix initialisation of offsets
2018-08-02 12:39:03 +09:00
Randy Mackay
30f369c3b4
AP_Follow: update FOLL log column names
...
VelN is easier to understand than VelX
Also minor formatting fix
2018-08-02 12:39:03 +09:00
Randy Mackay
31c2c86e71
AP_Follow: fix reporting to GCS
2018-08-02 12:39:02 +09:00
Andrew Tridgell
1bc1f33cad
HAL_ChibiOS: updates to hwdef.dat from plane3.9.0
2018-08-02 12:39:01 +09:00
Andrew Tridgell
83b39445e1
HAL_PX4: updated to new tonealarm system
2018-08-02 12:39:00 +09:00
Andrew Tridgell
addbe3cbd5
HAL_Linux: updated to new tonealarm system
2018-08-02 12:38:59 +09:00
Andrew Tridgell
b1b6061ad4
HAL_ChibiOS: updated to new tonealarm system
2018-08-02 12:38:58 +09:00
Andrew Tridgell
ac7d3e0366
AP_HAL: updated to new tonealarm system
2018-08-02 12:38:56 +09:00
Andrew Tridgell
66d1d11aec
AP_Notify: updated to new tonealarm system
2018-08-02 12:38:56 +09:00
Andrew Tridgell
6df5295299
AP_Mount: removed ADC.h include
2018-08-02 12:38:52 +09:00
Andrew Tridgell
9dfa51c3ee
AP_Motors: removed ADC.h include
2018-08-02 12:38:51 +09:00
Andrew Tridgell
985912fff7
AP_Module: removed ADC.h include
2018-08-02 12:38:50 +09:00
Andrew Tridgell
aff6ae2d9e
AP_Airspeed: removed ADC.h include
2018-08-02 12:38:49 +09:00
Andrew Tridgell
50b9e19f5a
SITL: match plane3.9.0
2018-08-02 12:38:48 +09:00
Andrew Tridgell
f729bdcb28
AP_Airspeed: removed ADC.h include
2018-08-02 12:38:45 +09:00
Andrew Tridgell
aa8c62ad16
AP_SerialManager: make console do mavlink2 by default
...
this is low impact as it doesn't affect radios that may not do mavlink2
2018-08-02 12:38:45 +09:00
Andrew Tridgell
fc87d59a04
AP_BattMonitor: removed ADC.h include
2018-08-02 12:38:44 +09:00
Andrew Tridgell
98ddab501c
AP_BoardConfig: match plane3.9.0
2018-08-02 12:38:43 +09:00
Andrew Tridgell
b9f67e1766
AP_Camera: match plane3.9.0
2018-08-02 12:38:42 +09:00
Andrew Tridgell
4898a10b0c
AP_GPS: removed ADC.h include
2018-08-02 12:38:41 +09:00
Andrew Tridgell
ff3322a526
HAL_Empty: match plane 3.9.0
2018-08-02 12:38:41 +09:00
Andrew Tridgell
388cbf5cbd
HAL_VRBrain: match plane 3.9.0
2018-08-02 12:38:40 +09:00
Andrew Tridgell
b378446472
AP_InertialSensor: update SITL to have device IDs
2018-08-02 12:38:39 +09:00
Andrew Tridgell
8bac95209b
AP_OSD: update to match plane3.9.0
2018-08-02 12:38:38 +09:00
Andrew Tridgell
6b05ce15c5
AP_ADC: update to match plane3.9.0
2018-08-02 12:38:37 +09:00
Andrew Tridgell
b959e353e2
AP_Compass: added COMPASS_AUTO_ROT support
...
this is set to "check but don't fix" by default. This matches the
behaviour for plane3.9.0
2018-08-02 12:38:37 +09:00
Andrew Tridgell
a403254c81
AP_AHRS: added get_DCM_rotation_body_to_ned()
...
this specifically asks for the DCM attitude, which will be used for
the comass calibration to help determine compass orientation
2018-08-02 12:38:36 +09:00
Andrew Tridgell
0bf8b84be0
AP_AHRS: don't do yaw correction in DCM while calibrating compass
...
this avoids applying bad compass yaw, and helps the compass
calibration code
2018-08-02 12:38:35 +09:00
Michael du Breuil
40d3226cd9
AP_AHRS: Remove unused ADC include
2018-08-02 12:38:34 +09:00
Andrew Tridgell
6f22faa71b
HAL_SITL: update to plane3.9.0beta6
2018-08-02 12:38:32 +09:00
Andrew Tridgell
b2f4cccd52
HAL_ChibiOS: update to plane3.9.0beta6
2018-08-02 12:38:31 +09:00
Andrew Tridgell
faa937e41d
HAL_Linux: update to match plane 3.9.0beta6
2018-08-02 12:38:31 +09:00
Andrew Tridgell
524dfdf217
AP_HAL: update to match plane3.9.0beta6
2018-08-02 12:38:30 +09:00
Andrew Tridgell
252ab82c97
HAL_PX4: update to match plane3.9.0beta6
2018-08-02 12:38:29 +09:00
Andrew Tridgell
d1a16a0e2f
HAL_SITL: update to match plane3.9.0beta6
2018-08-02 12:38:28 +09:00
Andrew Tridgell
bb3b5ed869
AP_IOMCU: update to match plane3.9.0beta6
2018-08-02 12:38:28 +09:00
Andrew Tridgell
97dae1a03d
HAL_ChibiOS: update to match plane 3.9.0beta6
2018-08-02 12:38:27 +09:00
Andrew Tridgell
9384bc9b03
AP_IOMCU: use compressed interface for IO fw upload
2018-08-02 12:38:26 +09:00
Andrew Tridgell
230e1f681b
AP_IOMCU: use thread_create() API
2018-08-02 12:38:25 +09:00
Andrew Tridgell
2de747a71e
AP_ROMFS: added support for compressed files in ROMFS
2018-08-02 12:38:20 +09:00
Andrew Tridgell
195550998d
HAL_PX4: backup storage to microSD if possible
...
very useful for diagnostics
2018-08-02 12:38:20 +09:00
Randy Mackay
cbd225ae38
AP_BattMonitor: add BLHeli ESC to MONITOR param desc
2018-08-01 15:11:41 +09:00
Randy Mackay
d98d1764df
AP_RSSI: const get_gpio and fix includes
2018-08-01 15:10:44 +09:00
Randy Mackay
3ffd516cae
AP_RSSI: support pwm input on gpio pin
2018-08-01 15:10:29 +09:00
Randy Mackay
9deb0d7d12
AP_RSSI: minor format fix
2018-08-01 15:10:26 +09:00
Randy Mackay
08ef942907
AP_RSSI: clarify PIN_LOW/HIGH parameter description
2018-08-01 15:10:24 +09:00
Raouf
cb8210599e
AC_Fence: add always land option
2018-08-01 15:09:07 +09:00
bnsgeyer
7e8c2a3e83
AP_Motors: Tradheli-corrected get_motor_mask method
2018-08-01 15:03:54 +09:00
bnsgeyer
abdb1e07c5
AP_Motors: convert heli code to use SRV_Channels
...
this converts the heli code to use the SRV_Channels output
functions. It does not change behaviour, but removes the last vehicle
type that did its own servo output calculations. This change also
fixed servo initialization conflicts.
Note that this also allows helis to be setup with more than one
channel for a particular output (eg. two separate channels for tail
servo if they are wanted). This isn't likely to be used much, but does
make heli consistent with other vehicle types
2018-08-01 15:03:51 +09:00
bnsgeyer
b728e781a7
SRV_Channel: fixes channel numbering for channel already assigned message
2018-08-01 15:03:46 +09:00
bnsgeyer
7c498b8978
SRV_Channel: modified set_output_pwm_trimmed for reverse property
...
Modified function to account for servo reverse property
2018-08-01 15:03:43 +09:00
Andrew Tridgell
28e66c95bc
SRV_Channel: added function based set_output_min_max
...
this is for a conversion of AP_Motors heli code to servo functions
2018-08-01 15:03:40 +09:00
Andrew Tridgell
b4bd0adfad
HAL_ChibiOS: account for I2C base in compass masks
2018-07-31 14:26:56 +10:00
Andrew Tridgell
630dc96d0b
HAL_ChibiOS: fixed internal i2c mask for Pixracer
2018-07-31 14:26:49 +10:00
Michael du Breuil
e1b69a7534
RC_Channel: Allow a RC_OVERRIDE_TIMEOUT of -1 to use the overrides
...
forever
2018-07-31 14:26:29 +10:00
Jonathan Challinger
83ed210869
AP_IOMCU: fix radio failsafe handling
2018-07-31 14:26:11 +10:00
Andrew Tridgell
26a8c75a84
AP_Compass: clear DEV_ID for undetected compasses
...
this prevents user confusion with the number of compasses detected
2018-07-31 14:25:40 +10:00
Timothy Knab
0dad18f014
HAL_ChibiOS: Updated OMNIBUSF7V2
...
Compasses on the I2C bus are now detected properly and GPS on UART3 works.
2018-07-31 14:24:39 +10:00
Andrew Tridgell
6d3ff416cf
AP_IOMCU: fixed setting of rate masks
...
this affects layouts which set a subset of channels on a timer
2018-07-31 14:24:30 +10:00
Andrew Tridgell
fa4d125727
HAL_ChibiOS: only set freq on valid IO channels
2018-07-31 14:24:27 +10:00
Andrew Tridgell
a8302911b5
HAL_ChibiOS: added Pixhawk1 build target
...
this is more obvious to users than fmuv3
2018-07-31 14:24:17 +10:00
Andrew Tridgell
24338199ac
AP_RangeFinder: fixed VL53L0X semaphore usage
2018-07-31 14:24:14 +10:00
Alexander Malishev
95d3dae64a
HAL_ChibiOS: fix DTCM size in stm32f745 mcu
2018-07-31 14:24:11 +10:00
Andrew Tridgell
ab71cec7ef
AP_Arming: only check trim on valid channel count
2018-07-31 14:24:08 +10:00
Andrew Tridgell
34fd3a9bcf
HAL_ChibiOS: changed uart order for KakuteF4
...
thanks to feedback from Arther
2018-07-12 11:50:30 +10:00
Andrew Tridgell
5bf48fad43
HAL_ChibiOS: added specific builds for the Pixracer and mRoX21 boards
2018-07-12 11:44:32 +10:00
Andrew Tridgell
465c6c5a68
AP_BoardConfig: allow hwdef.dat override of BRD_TYPE
2018-07-12 11:44:30 +10:00
Andrew Tridgell
8a23a21383
HAL_ChibiOS: fixed mRoX21 IMU setup
2018-07-12 11:44:27 +10:00
fnoop
35a5166038
HAL_ChibiOS: MatekF405-Wing UART reorder
2018-07-12 11:43:23 +10:00
Andrew Tridgell
cd6d585591
HAL_VRBrain: don't clear buffers on no baud change
2018-07-12 11:43:23 +10:00
Andrew Tridgell
e661b1266f
HAL_Linux: don't clear buffers on no baud change
2018-07-12 11:43:23 +10:00
Andrew Tridgell
84a6c18c43
HAL_PX4: don't clear buffers if no baudrate change
2018-07-12 11:43:23 +10:00
Andrew Tridgell
84624fbbf6
HAL_ChibiOS: don't clear buffers if no baudrate change
2018-07-12 11:43:23 +10:00
Andrew Tridgell
4f78d7200f
AP_FlashStorage: fixed build of example on small memory boards
2018-07-11 15:32:35 +09:00
fnoop
abdf56d6dd
HAL_ChibiOS: Fix MatekF405-Wing default compass rotation
2018-07-11 14:20:53 +09:00
Andrew Tridgell
d9ba148083
AP_Compass: fixed compass orientations on PH4
2018-07-11 14:20:34 +09:00
Andrew Tridgell
260ac21e13
AP_HAL: make linux internal i2c be 0xffff
...
based on feedback from Lucas
2018-07-11 14:20:26 +09:00
Andrew Tridgell
59a3deba3e
HAL_Linux: allow for 16 I2C buses on Linux
2018-07-11 14:20:21 +09:00
Andrew Tridgell
16bd8ae852
AP_Compass: use I2C bus masks
...
this allows for external compasses on all external I2C ports, while
retaining existing device ordering
2018-07-11 14:20:18 +09:00
Andrew Tridgell
d324c967de
AP_Notify: use I2C bus masks
2018-07-11 14:20:15 +09:00
Andrew Tridgell
ac3886e27e
HAL_PX4: implement I2C bus masks
2018-07-11 14:20:13 +09:00
Andrew Tridgell
15ff760601
HAL_Linux: implement I2C bus masks
2018-07-11 14:20:11 +09:00
Andrew Tridgell
98f241c7e4
HAL_ChibiOS: implement I2C bus masks
2018-07-11 14:20:08 +09:00
Andrew Tridgell
44685bbb7b
AP_HAL: added I2C bus mask functions and macros
2018-07-11 14:20:05 +09:00
Andrew Tridgell
05c0885d04
AP_SerialManager: fixed find_baudrate to return mapped baudrate
2018-07-11 14:14:14 +09:00
Peter Barker
969827d8f5
AP_SerialManager: remove set_console_baud, factor out find_protocol_instance
2018-07-11 14:14:04 +09:00
Andrew Tridgell
f02e944857
HAL_PX4: fixed link on aerofc-v1
...
it does not have bl_update
2018-07-11 14:11:21 +09:00
liang.tang
1a12b958fc
AC_WPNav: check validity of kP
2018-07-11 14:07:43 +09:00
Randy Mackay
734e61e80d
AP_HAL_ChibiOS: reduce default BRD_PWM_COUNT to 4 for fmv3
...
also default relay pins to use aux out 5 and 6
2018-07-11 14:02:55 +09:00
Andrew Tridgell
5b056ff8d5
HAL_ChibiOS: fixed omnibusf4pro I2C
...
many thanks to Kelly-Foster and @sh83
2018-07-11 14:02:43 +09:00
Andrew Tridgell
61b8cbc3c6
HAL_ChibiOS: added separate builds for Pixhawk4 and CUAVv5
...
this makes it easier to distinguish boards in logs, plus makes life
easier when the user is selecting the right firmware.
It also gives us the flexibility to make parameter changes as needed
2018-07-11 14:02:15 +09:00
Andrew Tridgell
a75447c8bd
HAL_ChibiOS: changed which I2C bus is internal on fmuv5
...
match PH4 arrangement
2018-07-11 14:00:28 +09:00
Andrew Tridgell
ac49b3aad4
HAL_ChibiOS: support for PH4-mini board
2018-07-11 14:00:18 +09:00