Tom Pittenger
e5bd23e34a
Revert "AP_TECS: Convert references to AP_Airspeed."
...
This reverts commit 09d53eaeca
.
9 years ago
Tom Pittenger
44037c13a1
Revert "AP_Vehicle: Removed unused airspeed_min and airspeed_max as now part of AP_Airspeed."
...
This reverts commit bf7ab052c1
.
9 years ago
Tom Pittenger
8dad05d12e
Revert "Airspeed: store reference in libraries and populate it"
...
This reverts commit c090ba2257
.
9 years ago
LukeMike
5987cc273f
AP_HAL_VRBRAIN: added some new modules for I2C wrapper
9 years ago
LukeMike
7ee8898948
AP_BoardConfig: updated defines for VRBRAIN
9 years ago
LukeMike
95ae69eb1c
VRBRAIN /AP_BoardConfig: changed definition of PWM_SERVO_MODE_12PWM only for VRBRAIN
9 years ago
LukeMike
024d3311b3
VRBRAIN / AP_BoardConfig: enabled PWM configuration and safety management for all VirtualRobotix boards
9 years ago
LukeMike
9f8b66758c
VRBRAIN / AP_OpticalFlow: enabled OpticalFlow_PX4 for all VirtualRobotix boards
9 years ago
LukeMike
6748bdb1a4
AP_Notify/ExternalLED: added HIGH and LOW definition
9 years ago
LukeMike
858c22ae21
VRBRAIN /AP_Notify: enabled tone_alarm for all VirtualRobotix boards
9 years ago
LukeMike
13e3150023
VRBRAIN / AP_HAL_Boards: definition of new board VR Brain 5.4 and VR Core 1.0
9 years ago
LukeMike
b5cf0308cd
VRBRAIN / AP_BattMonitor_Analog: definition of default value for battery monitor for all VirtualRobotix boards
9 years ago
LukeMike
4d8e7f1783
VRBRAIN / AP_Airspeed: defined ARSPD_DEFAULT_PIN for VR Brain 5.4 and VR Core 1.0
9 years ago
LukeMike
d8cc2668cb
VRBRAIN / AP_AHRS_NavEKF: set AP_AHRS_WITH_EKF1 to 1 only for VR Brain 5.4
9 years ago
LukeMike
998033286d
AP_HAL_PX4 / Semaphores: removed AP_HAL_VRBRAIN (for now it's better to have different AP_HAL for PX4 and VRBRAIN)
9 years ago
LukeMike
fde5992b6d
VRBRAIN: updated AP_HAL_VRBRAIN
9 years ago
Leonard Hall
34055944cd
AC_PosControl: fix relax_alt_hold_controllers
9 years ago
Randy Mackay
24044e5611
AC_AttControl: get_throttle_avg_max always returns value in 0 to 1 range
...
throttle_avg_max is the total average throttle level (expressed as a number from 0 to 1) that the motors can safely be raised to in order to maintain attitude control. This level can be higher than the pilot's or autopilot provided throttle level.
Previously passing in a negative throttle_in could result in a negative throttle_avg_max being returned.
9 years ago
Leonard Hall
ac04fcd836
AC_AttControl: fix set_yaw_target_to_current_heading
9 years ago
Leonard Hall
011bc0a350
AC_AttControl: add reset_rate_controller_I_terms()
9 years ago
Tom Pittenger
e63e7a5336
AP_NavEKF: comment that param "Enable" index is moved to top
9 years ago
Tom Pittenger
9b33280795
APM_OBC: set param "Enable" to be FLAG_ENABLE and move to top
9 years ago
Tom Pittenger
28648665b9
AP_Terrain: set param "Enable" to be FLAG_ENABLE
9 years ago
Tom Pittenger
ebe829614d
AP_Parachute: set param "Enable" to be FLAG_ENABLE
9 years ago
Tom Pittenger
b1ef848de6
AP_EPM: set param "Enable" to be FLAG_ENABLE
9 years ago
Tom Pittenger
0d14941eea
AP_Avoidance: set param "Enable" to be FLAG_ENABLE
9 years ago
Tom Pittenger
c07b85f9bb
AP_Airspeed: set param "Enable" to be FLAG_ENABLE
9 years ago
Tom Pittenger
dd5ed7e2e0
AC_Sprayer: set param "Enable" to be FLAG_ENABLE
9 years ago
Tom Pittenger
ccb0151816
AC_PrecLand: set param "Enable" to be FLAG_ENABLE
9 years ago
Tom Pittenger
5e811b8463
AC_Fence: set param "Enable" to be FLAG_ENABLE
9 years ago
Tom Pittenger
c090ba2257
Airspeed: store reference in libraries and populate it
...
- also had to move the initial definition in plane.h so it happened before the others.
9 years ago
AndersonRayner
bf7ab052c1
AP_Vehicle: Removed unused airspeed_min and airspeed_max as now part of AP_Airspeed.
9 years ago
AndersonRayner
09d53eaeca
AP_TECS: Convert references to AP_Airspeed.
9 years ago
AndersonRayner
cc5a2417a6
APM_Control: Convert references to AP_Airspeed.
9 years ago
AndersonRayner
5439257236
AP_Airspeed: Converted library to be stand-alone from APM:Plane.
...
Additional changes:
ARSPD_FBW_MIN and ARSPD_FBW_MAX renamed to ARSPD_MIN and ARSPD_MAX
ARSPD_MIN and ARSPD_MAX changed to floats
9 years ago
Andrew Tridgell
66c4995c9d
AP_Motors: added get_desired_spool_state()
9 years ago
murata
b6c27b58a8
AC_Fence: magic number 4 changed to size of uint32_t
9 years ago
Pavel Kirienko
9b786559d4
Fixed missing definition error UAVCAN_IOCS_HARDPOINT_SET
9 years ago
Pavel Kirienko
fccdcf50c1
EPM: fixed build
9 years ago
Pavel Kirienko
8af6af004d
EPM: fixed parameter comments
9 years ago
Pavel Kirienko
accf118e38
UAVCAN hardpoint control
9 years ago
Murilo Belluzzo
077e03678f
Global: Adapt Stream class to be used with Ringbuffer
9 years ago
Murilo Belluzzo
b856d26087
RingBuffer: ::set_size now returns true or false
9 years ago
Murilo Belluzzo
f7f203efa9
RingBuffer: Add ::clear() method to discard the buffer content
...
The same could be achieved with ::set_size(::get_size()), but was not
obvious and hurts code readability.
9 years ago
Murilo Belluzzo
75a1b102fb
RingBuffer: Handle zero sized better
...
Sometimes (like in DataFlash) the size of the ring buffer will be
determined in run time and the object can have size zero until proper
initialization. When this was the case, an underflow in ::get_size would
mess with the initializing algorithm.
Another issue was that the 'new' operator could fail what was not being
handled. Now, we only set the size member after we are sure 'new'
successfully allocated memory.
9 years ago
Murilo Belluzzo
fe48901db0
AP_ADC_ADS1115: Remove resource leak.
...
Constructor allocate '_samples' but there was no destructor to
deallocate it. Also, initializes '_gain' to silence CID 9144 although
'_gain' wasn't being used uninitialized because of ::init().
CID 91424
9 years ago
Murilo Belluzzo
36bdd7f1f1
AP_InertialSensor: MPU6000: Add missing read() check
9 years ago
Lucas De Marchi
0d4caa3ccc
AP_Math: remove declaration of not implemented functions
9 years ago
Murilo Belluzzo
70942472d3
AP_Math: Matrix: Change deallocator to match allocator used
9 years ago
Murilo Belluzzo
e17fdb2aa9
DataFlash: Avoid null pointer dereference
...
Confirms that the loop successfully found a log structure before using it.
Should fix CID 126742
9 years ago