mirkix
bf758098d7
AP_HAL_Linux: fix deallocation
2018-02-05 11:05:12 +11:00
LukeMike
3dcaf83eaa
VRBRAIN / DataFlash: some update for new VR Brain 5.2E (EEPROM version)
2018-02-05 08:26:49 +11:00
LukeMike
250bf53912
VRBRAIN / AP_HAL_VRBRAIN: some update for new VR Brain 5.2E (EEPROM version)
2018-02-05 08:26:49 +11:00
LukeMike
bfcece7edd
VRBRAIN / AP_HAL: some update for new VR Brain 5.2E (EEPROM version)
2018-02-05 08:26:49 +11:00
LukeMike
ccb316f3f3
VRBRAIN / AP_BoardConfig: some update for new VR Brain 5.2E (EEPROM version)
2018-02-05 08:26:49 +11:00
LukeMike
8b737c54b9
VRBRAIN / AP_BattMonitor: some update for new VR Brain 5.2E (EEPROM version)
2018-02-05 08:26:49 +11:00
LukeMike
bf6e57e7a4
VRBRAIN / DataFlash: added writebuf_chunk for VR Brain 5.4
2018-02-05 08:26:49 +11:00
LukeMike
721f55e93c
VRBRAIN / AP_RangeFinder: removed AP_RangeFinder_PX4_PWM for VR Brain boards
2018-02-05 08:26:49 +11:00
LukeMike
a319f6632f
VRBRAIN / AP_RPM: removed RPM_PX4_PWM for VR Brain 5.1 and VR Micro Brain 5.2 (they haven't this input pin)
2018-02-05 08:26:49 +11:00
LukeMike
502f19cbae
VRBRAIN / AP_InertialSensor: added inertial sensors init for VR Brain boards
2018-02-05 08:26:49 +11:00
LukeMike
432f6c2a4a
VRBRAIN / APCompass: added compass sensor init for VR Brain boards
2018-02-05 08:26:49 +11:00
LukeMike
d48f9397d0
VRBRAIN / AP_Baro: added barometer sensor init for VR Brain boards
2018-02-05 08:26:49 +11:00
LukeMike
dab8f93628
VRBRAIN / AP_HAL: changed vrbrain board configuration file
2018-02-05 08:26:49 +11:00
LukeMike
505497b555
VRBRAIN / AP_BoardConfig: added fmu_mode parameter for VR Brain boards
2018-02-05 08:26:49 +11:00
LukeMike
b7985f77b5
VRBRAIN / AP_BoardConfig: added VR Brain boards into board_setup_drivers and board_autodetect
2018-02-05 08:26:49 +11:00
LukeMike
6b820ac9e4
VRBRAIN / AP_BoardConfig: added VR Brain define into px4_board_type enum
2018-02-05 08:26:49 +11:00
LukeMike
97b29a333d
VRBRAIN / AP_HAL_VRBRAIN: updated AP_HAL
2018-02-05 08:26:49 +11:00
Michael du Breuil
200aacea43
AP_AdvancedFailsafe: Report MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION
2018-02-03 09:36:03 +09:00
Randy Mackay
f189ce5c68
AC_WPNav: minor formatting fix
...
non-functional change
2018-02-02 20:55:20 +09:00
Andrew Tridgell
2067e25523
AP_Compass: make length filter in MAG3110 optional
...
compile time for now, later can may become parameter
2018-02-02 21:07:40 +11:00
night-ghost
2065cc879c
AP_HAL: mAG3110 driver
2018-02-02 21:07:40 +11:00
night-ghost
b6bf90ab93
AP_Compass: mAG3110 driver
2018-02-02 21:07:40 +11:00
Andrew Tridgell
1513246040
AP_FlashStorage: fixed two bugs found by night-ghost
...
this fixes two issues found by night-ghost. The first occurs if a 16
bit flash write is not atomic and only the first byte is written. Then
we could end up declaring the data invalid on reboot and erasing.
The second is a race in switching sectors. If power off occurs at the
wrong time we would trigger en erase on reboot.
2018-02-02 14:19:12 +09:00
mirkix
8da1252959
AP_BattMonitor: add default pins and values for BeagleBone Blue
2018-02-02 10:01:34 +09:00
Peter Barker
adde7bc588
AP_Terrain: fix snprintf buffer length warning
...
Also includes fix from Tridge to use MIN() instead of MAX()
2018-02-02 09:59:06 +09:00
murata
8070c13963
AP_Soaring: delete \n from the log using gcs().send_text
2018-02-02 09:41:23 +09:00
murata
cdfca9d9ea
AP_HAL_PX4: delete \n from the log using gcs().send_text
2018-02-02 09:40:55 +09:00
murata
5b3a402d36
AP_Camera: delete \n from the log using gcs().send_text
2018-02-02 09:40:05 +09:00
murata
3ec733d4f8
AP_BattMonitor: Aggregate the commands defined in the SMBUS specification.
...
AP_BattMonitor: Aggregate the commands defined in the SMBUS specification.
2018-02-02 09:17:30 +09:00
Peter Barker
8e8b0dcc06
DataFlash: add ? and - to multiplier table
...
This allows a consumer to expect referential integrity for the
multipliers
2018-02-02 09:15:59 +09:00
Tatsuya Yamaguchi
aef9fa4a63
AP_NavEKF3: delete \n from the log using gcs().send_text
2018-02-02 09:13:54 +09:00
Lucas De Marchi
184b017b33
AP_HAL: fix warning from having undefined HAL_WITH_IO_MCU
...
In file included from ../../libraries/AP_IOMCU/AP_IOMCU.cpp:8:0:
../../libraries/AP_IOMCU/AP_IOMCU.h:10:5: warning: "HAL_WITH_IO_MCU" is not defined [-Wundef]
#if HAL_WITH_IO_MCU
^
../../libraries/AP_IOMCU/AP_IOMCU.cpp:10:5: warning: "HAL_WITH_IO_MCU" is not defined [-Wundef]
#if HAL_WITH_IO_MCU
^
And so on.
2018-02-02 09:11:46 +09:00
Randy Mackay
3badcdcfba
AC_PosControl: default gains for sub
2018-01-31 08:48:21 +09:00
Randy Mackay
61933c6f1c
AC_PosControl: shorten PSC_ACCELZ param to PSC_ACCZ
2018-01-31 08:48:21 +09:00
murata
6a87840c7a
AP_NavEKF3: Change the if statement to a switch statement.
2018-01-28 22:20:08 +00:00
Leonard Hall
692e6518cc
AC_AttitudeControl: update param desc values for large copters
2018-01-27 11:54:04 +09:00
Leonard Hall
691abab95e
AC_AttitudeControl: Update parameter ranges
2018-01-27 11:38:09 +09:00
David Ingraham
2547ca399a
AP_Airspeed: Fix ARSPD2_TYPE docs
2018-01-26 13:19:53 -08:00
Randy Mackay
ebf405e53d
AC_Avoid: reduce min and default DIST_MAX values
2018-01-25 11:16:01 +09:00
Andrew Tridgell
6558da2c4c
HAL_SITL: fixed valgrind error in ubx driver
...
this was causing a valgrind error on all runs with a virtual ublox GPS
2018-01-24 18:00:42 -07:00
night-ghost
3165d72647
AP_Motors: reduce unnecessary multiple call of get_compensation_gain()
2018-01-24 19:26:15 +09:00
Andrew Tridgell
c6c5603382
AP_Param: added back key dumping code
...
this is essential for working out conversion tables.
2018-01-24 18:23:59 +11:00
mirkix
c5eb52bf8d
AP_HAL_Linux: fix comment
2018-01-23 13:32:12 -08:00
bnsgeyer
7a9e424977
AP_Motors: added comments to indicate parameter indices previously used by RSC_PWM_MIN, RSC_PWM_MAX, and RSC_PWM_REV
2018-01-23 14:12:27 +09:00
Randy Mackay
04822152da
AC_PID: fixes after peer review of AC_PID_2D
2018-01-23 12:00:43 +09:00
Randy Mackay
efbd8eb386
AC_WPNav: remove unused definition
...
This has been moved to AC_PosControl library
2018-01-23 12:00:43 +09:00
Randy Mackay
368245017a
AC_WPNav: access pos-controller's horizontal p object
2018-01-23 12:00:43 +09:00
Randy Mackay
9c00eb3d5f
AC_PosControl_Sub: move pids to be local
2018-01-23 12:00:43 +09:00
Randy Mackay
c70d3e0ab8
AC_PosControl: move pids to be local
2018-01-23 12:00:43 +09:00
Randy Mackay
00037fd50e
AC_PosControl_Sub: replace velocity pi with local pid
2018-01-23 12:00:43 +09:00
Randy Mackay
3a73ff1e2e
AC_PosControl: replace velocity control with local 2-axis PID
2018-01-23 12:00:43 +09:00
Randy Mackay
398a0d89bf
AC_P: add const accessor
2018-01-23 12:00:43 +09:00
Randy Mackay
c1708db208
AC_PID: add const and use is_positive in AC_PI_2D
2018-01-23 12:00:43 +09:00
Leonard Hall
fd964a21d6
AC_PID: add AC_PID_2D
2018-01-23 12:00:43 +09:00
Randy Mackay
9ea16bec15
AP_InertialSensor: resolve compiler warning in example
2018-01-23 08:32:48 +09:00
Steven Josefs
e8debde4b7
AC_Fence: hide ALT_MAX parameter from Rover
2018-01-22 20:42:31 +09:00
Randy Mackay
a1bf9d66f0
AC_Avoid: default behaviour to stop for Rovers
2018-01-22 17:18:41 +09:00
Randy Mackay
ae4ded86a8
AC_Avoid: get_max_speed supports linear acceleration
...
Also get_stopping_distance supports linear deceleration
2018-01-22 17:18:41 +09:00
Randy Mackay
dfaabb543c
AC_Avoid: add adjust_speed
...
this method accepts a heading and speed instead of a velocity vector
2018-01-22 17:18:41 +09:00
Randy Mackay
9d74d82ff6
AC_Avoid: add stopping behaviour
2018-01-22 17:18:41 +09:00
Randy Mackay
c28cfcdc27
AP_Math: add Vector2f::circle_segment_intersection
2018-01-22 17:18:41 +09:00
Randy Mackay
a655c36159
AP_Math: add Vector2f::segment_intersection
2018-01-22 17:18:41 +09:00
Andrew Tridgell
2c73b374f5
AP_Motors: protect against writes to NULL servo_aux
...
if user changes parameter while setting up it could crash
2018-01-21 21:12:13 +11:00
Andrew Tridgell
bdb9f062ae
AP_Motors: removed unused pwm parameters for heli
2018-01-21 21:12:13 +11:00
bnsgeyer
ac2e933358
AP_Motors: Tradheli - Fixed Directdrive Variable Pitch Feature
2018-01-21 21:12:13 +11:00
Andrew Tridgell
7b251c9739
HAL_ChibiOS: lower FRAM CS speed to 2MHz
...
this matches old firmware
2018-01-20 17:40:07 +11:00
Andrew Tridgell
30fd2da108
HAL_ChibiOS: enable RTSCTS and SBUS_OUT
2018-01-20 17:40:07 +11:00
Andrew Tridgell
93a993c575
AP_HAL: setup RTSCTS and SBUS_OUT
2018-01-20 17:40:07 +11:00
Andrew Tridgell
f8a3b0e753
AP_BoardConfig: improved board config
...
use hwdef.dat to enable RTSCTS and SBUS_OUT
2018-01-20 17:40:07 +11:00
Andrew Tridgell
63671b06a8
HAL_ChibiOS: added HAL_I2C_MAX_CLOCK define
2018-01-20 17:40:07 +11:00
Andrew Tridgell
88f11f5a50
HAL_ChibiOS: added HAL_I2C_BUS_BASE
...
this allows fmuv4 to start at bus 1
2018-01-20 17:40:07 +11:00
bugobliterator
c60c0b8ab1
HAL_ChibiOS: fix undef line processing
2018-01-20 17:40:07 +11:00
Andrew Tridgell
8286486890
HAL_ChibiOS: drop default SPI priority to 179
2018-01-20 17:40:07 +11:00
Andrew Tridgell
ab748034a2
HAL_ChibiOS: removed RC inversion logic
...
not needed any more
2018-01-20 17:40:07 +11:00
Andrew Tridgell
d6b9ab7756
AP_RCProtocol: tidy up frontend/backend split
2018-01-20 17:40:07 +11:00
Andrew Tridgell
ff5e00da32
AP_RCProtocol: fixed DSM decoding
2018-01-20 17:40:07 +11:00
bugobliterator
7db19cfae0
HAL_ChibiOS: use separate parameter for detect timeout
2018-01-20 17:40:07 +11:00
Andrew Tridgell
613d7a47ba
HAL_ChibiOS: support RCIN on mindpx-v2
2018-01-20 17:40:07 +11:00
bugobliterator
02c7513f83
HAL_ChibiOS: add invert method and fix width measurement
2018-01-20 17:40:07 +11:00
bugobliterator
f7ac5aa079
HAL_ChibiOS: put rcin on a separate thread
2018-01-20 17:40:07 +11:00
Andrew Tridgell
f50f427a59
HAL_ChibiOS: added comment on beta fmuv4 board
2018-01-20 17:40:07 +11:00
Andrew Tridgell
743806116d
HAL_ChibiOS: removed unusued ppm driver
...
now uses AP_RCProtocol
2018-01-20 17:40:07 +11:00
Andrew Tridgell
ccb85c2707
HAL_ChibiOS: fixed fmuv3 build with no ICU
2018-01-20 17:40:07 +11:00
Andrew Tridgell
f87668c15c
AP_RCProtocol: lock onto a single protocol to reduce CPU cost
2018-01-20 17:40:07 +11:00
Andrew Tridgell
33c7cba9af
HAL_ChibiOS: use more efficient push mechanism in IRQ
...
and don't use push_force() as it is not safe to do reads from within
the producer
2018-01-20 17:40:07 +11:00
Andrew Tridgell
d030f2888b
AP_HAL: added multi-object push to RingBuffer
...
this is much more efficient than pushing them one at a time
2018-01-20 17:40:07 +11:00
Andrew Tridgell
7a4f429b85
HAL_ChibiOS: don't adjust buffer size for protocol
...
its all about IRQ latency, not IRQ rate
2018-01-20 17:40:07 +11:00
Andrew Tridgell
e2c8fe27ef
HAL_ChibiOS: fixed memory handling in SoftSigReader
2018-01-20 17:40:07 +11:00
Andrew Tridgell
8be59c73c7
AP_RCProtocol: fixed return value when no input
2018-01-20 17:40:07 +11:00
bugobliterator
bad9f2b4c9
AP_RCProtocol: add library to process RC signals
2018-01-20 17:40:07 +11:00
bugobliterator
eeea2c9961
HAL_ChibiOS: use software signal reader for RCInput if available
2018-01-20 17:40:07 +11:00
bugobliterator
6be4c710c3
HAL_ChibiOS: add Software Signal reader using timer and DMA
2018-01-20 17:40:07 +11:00
bugobliterator
1db1ff799e
HAL_ChibiOS: modify hwdef scripts to setup for generic RCIN
2018-01-20 17:40:07 +11:00
bugobliterator
1970d8a2c8
HAL_ChibiOS: use common RCIN pin for fmuv4
2018-01-20 17:40:07 +11:00
bugobliterator
445ba6ed39
HAL_ChibiOS: update ppm to use Extended ICU driver
2018-01-20 17:40:07 +11:00
Andrew Tridgell
7c23e33775
HAL_Chibios: set min output rate for oneshot to 100Hz
...
this will keep ESCs happy during gyro cal
2018-01-20 17:40:07 +11:00
Andrew Tridgell
b07c599bf2
Hal_Chibios: allow for faster INS sample times
...
we need higher priority on SPI and faster device loops
2018-01-20 17:40:07 +11:00
Andrew Tridgell
25f13ed518
HAL_Chibios: adjust MPU9250 clock speed down
...
this helps with fast sampling enabled
2018-01-20 17:40:07 +11:00
Andrew Tridgell
7e44b06440
HAL_ChibiOS: adjust SPI clock rates on FMUv4
...
this prevents some timing errors on the IMUs
2018-01-20 17:40:07 +11:00
Andrew Tridgell
dd59a5ff57
HAL_ChibiOS: adjust external bus clock for mpu9250
...
this fixes an issue with fast sampling on the PH2.1 cube
2018-01-20 17:40:07 +11:00