Andrew Tridgell
bea0a46410
AP_HAL: added servorail_voltage and power_status_flags() API on AnalogIn
2014-02-15 05:00:09 +11:00
Andrew Tridgell
ce43e674fe
DataFlash: added power status logging
2014-02-15 05:00:09 +11:00
Andrew Tridgell
87355127ca
GCS_MAVLink: added send_power_status()
2014-02-15 05:00:09 +11:00
Andrew Tridgell
8797f38038
GCS_MAVLink: regenerate MAVLink headers
2014-02-15 05:00:08 +11:00
Andrew Tridgell
0cbd5a2ef0
GCS_MAVLink: added POWER_STATUS message
2014-02-15 05:00:08 +11:00
Andrew Tridgell
63910bf8cd
DataFlash: work around a NuttX bug
...
the seek offset of files can get badly mucked up when it crosses
cluster boundaries. We need to fix this in NuttX, but meanwhile this
works around the bug. It seems that doing a lseek(fd, 0, SEEK_CUR)
fixes the seek offset in the file.
The bug seems to first happen at an offset of 315392. It also
doesn't happen every time - it is more likely to happen on the first
log download after booting
2014-02-15 05:00:08 +11:00
Andrew Tridgell
0aebc18b3f
GCS_MAVLink: return early from log send if no log data to send
2014-02-14 21:51:00 +11:00
Andrew Tridgell
1497c33178
GCS_MAVLink: run a bit faster on serial ports with flow control
...
with flow control we can afford to push the radio a bit harder
2014-02-14 21:51:00 +11:00
Andrew Tridgell
7c1b9b344f
AP_HAL: added get_flow_control() API
2014-02-14 21:51:00 +11:00
Andrew Tridgell
dfa95b3464
Plane: moved the always log flag to 1<<16
...
this prevent problems with transferring the bitmask as a float
2014-02-14 21:51:00 +11:00
Andrew Tridgell
81c5edbdb5
GCS_MAVLink: fixed a log download bug for repeated downloads
...
we were not resetting the offset to 0 correctly
2014-02-14 21:50:59 +11:00
Andrew Tridgell
dcd7f9d26d
AP_Airspeed: use raw (signed) airspeed
...
this allows us to detect when the user has the ports the wrong way
around, and mark the sensor unhealthy
2014-02-14 21:50:59 +11:00
Andrew Tridgell
0a3476bbf1
Copter: change to new board_voltage() API
2014-02-14 21:50:59 +11:00
Andrew Tridgell
4e2dbb4a4b
Rover: change to new board_voltage() API
2014-02-14 21:50:59 +11:00
Andrew Tridgell
043c80dbe6
Plane: use new board_voltage() method
2014-02-14 21:50:59 +11:00
Andrew Tridgell
1849db7074
AP_HAL: added board_voltage AnalogIn method
...
this makes it easier to get the board voltage from any library,
without having to allocate another analog channel object
2014-02-14 21:25:38 +11:00
Craig Elder
aa5a098adb
Iris:parameter adjustments
2014-02-13 14:11:55 -08:00
Randy Mackay
bd0cb83263
Copter: release notes for AC3.1.2
2014-02-13 21:21:56 +09:00
Craig Elder
f2a318e057
Iris: Updated Parameter file
2014-02-12 21:16:00 -08:00
Craig Elder
e334e92e27
Iris:Updated Parameters
2014-02-12 19:46:00 -08:00
Randy Mackay
78b31f4b16
Copter: readme file renamed and directs to wiki
2014-02-12 21:03:45 +09:00
Randy Mackay
a5e98c11ad
Copter: Release notes for AC3.1.2-rc2
2014-02-12 20:20:10 +09:00
Randy Mackay
2219f21744
Copter: add RC_FEEL_RP parameter
...
Values from 0 ~ 100 control amount of filtering on roll and pitch input.
100 = no filter so crisp feel, 0 = a lot of filtering so very sluggish
response
2014-02-12 16:28:41 +09:00
Andrew Tridgell
4e2e685d7a
HAL_PX4: better fix for IFLOW on all ports
...
the tcsetattr() call fails to apply the baudrate if the port has no
RTS pin and we ask for IFLOW. So just make a separate call.
2014-02-12 17:47:23 +11:00
Andrew Tridgell
b2cdd39a99
HAL_PX4: don't enable IFLOW on ports without flow control
...
this should have been harmless, but breaks the GPS on Pixhawk. This
disables it until we work out why.
2014-02-12 17:32:07 +11:00
Andrew Tridgell
35791e1f05
AP_Airspeed: fixed get_temperature on PX4
2014-02-12 13:46:15 +11:00
Andrew Tridgell
ccb7dc640d
AP_HAL: fixed a build warning
2014-02-12 10:51:58 +11:00
Andrew Tridgell
c93794999e
HAL_PX4: remove an old conditional define
2014-02-11 15:58:25 +11:00
Andrew Tridgell
8095eb0bee
AP_BoardConfig: added BRD_SAFETYENABLE option
...
this allows the safety switch to be disabled on startup
2014-02-11 15:58:25 +11:00
Andrew Tridgell
439a075b30
AP_HAL: added force_safety_off rcoutput function
...
this forces the safety switch off, enabling PWM on the IO board
2014-02-11 15:58:25 +11:00
Randy Mackay
89b222f1cf
Copter: only report gps glitch when usb disconnected
2014-02-11 11:43:24 +09:00
Dan Neault
262d384025
Coax: Yaw fix
...
Was using _rc_yaw servo_out instead of pwm_out to modify motors.
Corrected and less touchy in Yaw
2014-02-11 11:05:02 +09:00
Andrew Tridgell
fce464597a
AP_BoardConfig: PX4v1 does not have hw flow control on UART5
2014-02-11 12:11:26 +11:00
Andrew Tridgell
1b5d5dd8c4
AP_BoardConfig: set flow control to AUTO by default
2014-02-11 12:11:26 +11:00
Andrew Tridgell
c5c1d1358a
HAL_PX4: added automatic hardware flow control detection
...
this allows us to detect if hardware flow control is not available and
automatically disable it
2014-02-11 12:11:26 +11:00
Randy Mackay
a0369b85d1
LowPassFilter: make methods non-virtual
...
No classes inherit from this class so no need for set_cutoff_frequency,
set_time_constant and reset(T) to be declared virtual. Saves 6 bytes of
RAM.
2014-02-10 20:47:05 +09:00
Randy Mackay
38222d65e9
DerivativeFilter: update and slope non-virtual
...
No classes inherit from DerivativeFilter so no need to be virtual.
Saves 4bytes of RAM.
2014-02-10 20:47:02 +09:00
Randy Mackay
4040be9990
FilterWithBuffer: make get_sample non-virtual
...
virtual added to apply() and reset() declaration inline with base class.
This should have no impact on memory usage or functionality
2014-02-10 20:47:00 +09:00
Randy Mackay
6cee33b6fd
AP_Curve: remove virtual from method declarations
2014-02-10 17:28:11 +09:00
Randy Mackay
4c38999ca6
Maxsonar Test: remove raw from output to user
2014-02-10 15:00:08 +09:00
Randy Mackay
e1fabadd3c
MaxsonarI2C: read method returns int16_t
2014-02-10 14:59:46 +09:00
Randy Mackay
ab22d11110
MaxsonarRFinder: convert_raw returns int16_t
2014-02-10 14:59:27 +09:00
Randy Mackay
32820b4260
PulsedLightRFinder: read method returns int16_t
2014-02-10 14:58:27 +09:00
Randy Mackay
bf3fa8b99b
RangeFinder: remove raw_value from SharpGP2Y
2014-02-10 14:57:17 +09:00
Randy Mackay
8d54e50897
RangeFinder: remove raw_value, orientation variables
...
This saves 10bytes of RAM
2014-02-10 14:56:52 +09:00
Randy Mackay
d19b566d97
OptFlow: remove unused variables
...
Saves 24bytes RAM by removing several static variables that were used
only for internal calculations
2014-02-10 13:53:49 +09:00
Andrew Tridgell
b907263685
AP_BoardConfig: added BRD_SER1_RTSCTS and BRD_SER2_RTSCTS
...
used to enable flow control on telemetry ports
2014-02-10 12:57:19 +11:00
Andrew Tridgell
3e637ac5d9
AP_HAL: added enable_flow_control() option in AP_HAL
2014-02-10 12:54:50 +11:00
Randy Mackay
8f5585423c
Copter: use ahrs trig values
2014-02-08 18:16:49 +09:00
Randy Mackay
c9415a08f1
AC_WPNav: use ahrs trig values
2014-02-08 18:16:47 +09:00