Lucas De Marchi
26650049c0
AP_HAL_Linux: UARTDriver: fix writting/reading with failures
...
When the buffer wraps and we do it in 2 steps, we can't actually do the
second part if it fails or if we wrote less bytes than we intended,
otherwise we will corrupt the data being sent.
8 years ago
Murilo Belluzzo
ce81c45f80
AP_HAL_Linux: UARTDriver: Make use of ByteBuffer class
...
This patch replaces the 'old style' ringbuffer by the ByteBuffer class.
An effort was made to keep the exchange as close as possible from a
drop-in replacement to minimize the risk of introducing bugs.
Although the exchange opens opportunities for improvement and
simplification of this class.
8 years ago
Murilo Belluzzo
8526b25654
RingBuffer: Add a faster method to read a single byte
8 years ago
Michael du Breuil
4e86ef9b47
Tracker: Allow compass to manage buffer space for MAG_CAL
8 years ago
Michael du Breuil
b5684e7eb4
Rover: Allow compass to manage buffer space for MAG_CAL
8 years ago
Michael du Breuil
790ddeb04e
Copter: Use the compass calibrator autoreboot behaviour
...
(fixes a chance of not saving the second compass)
8 years ago
Michael du Breuil
fd24e944b8
Plane: Allow compass calibrator to manage size of buffer
8 years ago
Michael du Breuil
deec4ec6af
Compass: Rework compass calibrator
...
Summary of significant changes:
-Autsave doesn't depend on STREAM_EXTRA3
-Don't risk only saving one compass on copter if CAL_ALWAYS_REBOOT is set
-Only calibrate compasses that are both health and marked for use (there was a inconsistency in handling the mask)
-Fix incorrect failure reporting on DO_ACCEPT_MAG_CAL with a mask of 0 if a channel was specifically not started
-Fix not starting the buzzer if the delay is set to 0 seconds
-Always send MAG_CAL_REPORT until its acknowledged
-Correct the field in MAG_CAL_REPORT for autosave to indicate if the compass had actually been saved, rather then being scheduled to be saved
-Remmove unused public interfaces
8 years ago
Randy Mackay
964ddfb0d2
SITL: increase speed of yaw in copter sitl
...
This should resolve the SITL failures caused by the recent change to add
yaw expo to all manual flight modes
8 years ago
floaledm
6869dace08
AP_Frsky_Telem: moved msg queueing of fw string
8 years ago
floaledm
56432f04d3
AP_Frsky_Telem: fixed airspeed; now same as VFR_HUD
8 years ago
Mathieu OTHACEHE
5e42800b5e
Disco: add LED support
...
Use RGBLed generic implementation to support Disco LED.
8 years ago
Leonard Hall
42672de606
AC_PosControl: set Alt_Hold filter for PID not just D
...
We normally don't use the D term here so setting the filter for PID not
just D lets us smooth the throttle response.
8 years ago
Leonard Hall
0523570c5f
Copter: reduce dead zone for roll, pitch and yaw input
8 years ago
Leonard Hall
53486a5725
Copter: increase Autotune test time out for large copters
8 years ago
Leonard Hall
0a6714f4ae
Copter: rename variable ROLL_PITCH_YAW_INPUT_MAX
...
No functional change
8 years ago
Leonard Hall
2698f14d39
Copter: apply yaw expo to all modes
8 years ago
Andrew Tridgell
160df59c79
PX4Firmware: submodule update
...
fixed BRD_SAFETY_MASK on copter for IO
8 years ago
Francisco Ferreira
5a7f9a38fe
DataFlash: fix RCIN and RCOU structure types
8 years ago
murata
762a66c9e5
AP_GPS_SBF: Adjust the initial value of HDOP
8 years ago
Peter Barker
30233ab9b8
Tools: unhide groups when generating parameters in autotest
8 years ago
Peter Barker
2bd13af43d
AP_Param: unhide groups when generating parameters in autotest
8 years ago
Peter Barker
dd7d41b1f3
SITL: unhide groups when generating parameters in autotest
8 years ago
Randy Mackay
bc0965bb08
Copter: 3.4-rc7 release notes
8 years ago
Andrew Tridgell
d2287caf1c
HAL_SITL: removed old servo slew rate code
8 years ago
Andrew Tridgell
5e03358b0b
SITL: added servo filtering
...
SIM_SERVO_SPEED is servo time constant in seconds
8 years ago
Peter Barker
729765bd30
Tools: correct firmware-version.txt file creation
8 years ago
Peter Barker
90979b6db5
Tools: skip malformed firmware-version.txt files
8 years ago
Peter Barker
b9270712e4
Tools: fix manifest generation (skip files.html)
8 years ago
Andrew Tridgell
10638d72a7
Tools: useful plane run script
8 years ago
Lucas De Marchi
539b727e5e
AP_HAL_Linux: Remove misleading constant
...
The constant passed to cflag is BOTHER, meaning the actual baud is set
in the other specific members. Don't define B* constants as they are
misleading here and this is why it doesn't work with e.g.
cfset[io]speed()... that function expect a B* constant which in Linux
is not the speed, but an index to an array with speeds.
8 years ago
Grant Morphett
e88995385a
Rover: Creating 3.1.0 Beta Release 4
...
New MAV_CMD_NAV_SET_YAW_SPEED and
COMMAND_INT MAV_CMD_DO_SET_ROI amonst others.
8 years ago
Grant Morphett
ce98f032ae
Modules: Update to mavlink
...
Changed MAV_CMD_DO_SET_POSITION_YAW_THRUST to
MAV_CMD_NAV_SET_YAW_SPEED and made some small changes to that message.
8 years ago
Grant Morphett
2d09db4ecb
Rover: added a new form of GUIDED mode
...
Rover now accepts a new message MAV_CMD_NAV_SET_YAW_SPEED
which has an angle in centidegrees and a speed scale and the rover
will drive based on these inputs.
8 years ago
Francisco Ferreira
79cb4ea595
Tools: set Disco battery capacity in frame parameters
8 years ago
Francisco Ferreira
832fec68b7
Tools: set Bebop battery capacity in frame parameters
8 years ago
Francisco Ferreira
3a89421c70
AP_BattMonitor: remove Bebop fixed capacity
...
Bebop, Bebop2 and Disco all use this class but it was always setting the capacity to the Bebop one, overriding the parameter
8 years ago
Martin Evans
c0b913a975
build: Add Dark board to waf
8 years ago
Martin Evans
0e19b8c9a0
AP_HAL_Linux: Set initial rotation on Dark to None
8 years ago
Martin Evans
6f6112d7c2
AP_HAL_Linux: Add setting for GPIO for Dark board
...
Just like other RPI-based boards.
8 years ago
Martin Evans
d2d3119b66
AP_HAL_Linux: PCA9685: Add quinary address
8 years ago
Martin Evans
37b85fd3cd
AP_HAL: Add Dark Linux board
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Mathieu OTHACEHE
53d3a799e7
emacs: add a .dir-locals.el
...
Use a global .dir-locals.el to setup a correct coding style for emacs
users.
8 years ago
Peter Barker
d188504b8b
AC_Fence: remove unused variable _boundary_revalidate
8 years ago
Peter Barker
6e72c899d1
AP_GPS: AP_GPS_GSOF: remove unused variable
8 years ago
Peter Barker
216a6493c9
AP_Compass: AP_Compass_LSM9DS1: remove unused variable
8 years ago
Peter Barker
64154feaef
DataFlash: remove unused semaphore variables
8 years ago
Peter Barker
c664eec93b
AC_WPNav: remove unused variable _last_update
8 years ago
Peter Barker
6f200cdc3d
SITL: SIM_Rover: remove unused variables
8 years ago