Staroselskii Georgii
0c582eeae6
AP_HAL_Linux: added UARTDevice
2015-08-19 20:02:51 +09:00
Staroselskii Georgii
7160c88d39
AP_HAL_Linux: added SerialDevice interface
...
Adds the interface that will be used for encapsulating various mediums
that can be used in the Linux port.
2015-08-19 20:02:50 +09:00
Staroselskii Georgii
9b25217757
AP_HAL_Linux: added _serial_start_connection
2015-08-19 20:02:49 +09:00
Staroselskii Georgii
ed431e9857
AP_HAL_Linux: encapsulated LinuxUARTDriver::allocate_buffers
2015-08-19 20:02:48 +09:00
Staroselskii Georgii
4d28b4a962
AP_HAL_Linux: use defines instead of hardcoding fd numbers in UARTDriver
2015-08-19 20:02:47 +09:00
Staroselskii Georgii
6d1133378b
AP_HAL: added destructor for Socket
2015-08-19 20:02:46 +09:00
Staroselskii Georgii
3134634af6
AP_HAL: improved constness of Socket API
2015-08-19 20:02:45 +09:00
Andrew Tridgell
8a975015b5
Plane: fixed above_location_current() for non-terrain alt
...
thanks to Lekston for finding the bug (PR#2610)
2015-08-19 20:02:44 +09:00
Michael du Breuil
3a7cc03f67
AP_GPS: Fix copy/paste error in ublox (uncovered by coverity)
2015-08-19 20:02:44 +09:00
Kevin Hester
7e231b5d37
Eclipse: template project files
...
users should rename these files to .cproject and .project (i.e. remove
the leading eclipse portion)
Original work done by Kevin, heavily modified by Randy
2015-08-19 20:02:43 +09:00
Randy Mackay
ef6b173326
Copter: slow start motors after landing in Stabilize, Acro
2015-08-19 20:02:42 +09:00
Randy Mackay
77b97f8643
AC_AttControl: relax earth frame rate targets along with bf
2015-08-19 20:02:41 +09:00
Randy Mackay
f46e2c2c36
Tracker: update readme
2015-08-19 20:02:40 +09:00
Спивак Константин
5d2440883e
Tracker: create readme.txt
2015-08-19 20:02:39 +09:00
rentt
1c8180a41f
Scheduler: fix compiler warning in example sketch
...
printf except a unsigned long value, but the hal.scheduler->millis() return a uint32_t
2015-08-19 20:02:38 +09:00
Tom Pittenger
bced0a3734
SITL: param SITL_ARSP_FAIL should be a float instead of byte
...
this param was meant to represent an airspeed which is a float
2015-08-19 20:02:37 +09:00
Andrew Tridgell
3e04976ce8
Maintainers: added Michael as uBlox maintainer
2015-08-19 20:02:36 +09:00
Andrew Tridgell
954cfde741
Copter: fixed comment on get_pilot_desired_yaw_rate
2015-08-19 20:02:35 +09:00
Andrew Tridgell
1b1bc9f3b1
RC_Channel: prevent floating exception on bad MIN/MAX/TRIM values
2015-08-19 20:02:34 +09:00
Tom Pittenger
ffe1561f31
AP_InitialSensor_MPU6000: compiler warning - init order
2015-08-19 20:02:33 +09:00
Tom Pittenger
e7a7f43260
AC_WPNav: compiler warnings: float to double
2015-08-19 20:02:32 +09:00
Randy Mackay
c5b85d8c71
Copter: update AC3.3-rc8 release notes
2015-08-19 20:02:31 +09:00
Robert Lefebvre
0615d7a058
AC_Heli_PID: Deprecate Accel Feedforward.
2015-07-30 14:22:55 +09:00
Robert Lefebvre
bfc10c1969
AC_AttitudeControl_Heli: Remove Accel Feedforward.
2015-07-30 14:22:53 +09:00
Randy Mackay
818ef28206
Copter: version to AC3.3-rc8
2015-07-25 14:16:20 +09:00
Randy Mackay
5032cf9fbc
Copter: init multicopter flags
...
Resolves coverity warning
Also fixed indentation
2015-07-25 14:00:29 +09:00
Randy Mackay
0645453997
Copter: AC3.3-rc8 release notes
2015-07-25 13:46:14 +09:00
Michael du Breuil
9d53aa77eb
AP_GPS: Add reboot required docstring
2015-07-25 10:56:19 +09:00
Randy Mackay
b13921a7aa
Mount_SToRM32: find gimbal channel on startup
2015-07-25 10:53:05 +09:00
Randy Mackay
e7df54ca75
GCS_MAVLink: static find_by_mavtype method
2015-07-25 10:53:03 +09:00
Randy Mackay
e092902613
GCS_MAVLink: add find_by_mavtype
2015-07-25 10:52:59 +09:00
Peter Barker
1ee330ebb2
DataFlash: CLI log dumping - don't truncate lines that contain doubles
...
We currently print doubles out as if they were floats. The ftoa_engine isn't something to replicate for doubles lightly!
2015-07-24 08:08:51 +10:00
Peter Barker
39b2cdcc3c
AP_Menu: avoid segmentation fault
...
Insufficient input would cause a segfault
2015-07-24 08:05:13 +10:00
Randy Mackay
3dfb447fd7
BattMon: has_current true for Bebop
...
The bebop does not actually provide current but it does estimate the
percentage of battery remaining
2015-07-23 21:49:32 +09:00
Randy Mackay
8403b504d1
BattMon: add Bebop to monitor param description
2015-07-23 21:49:32 +09:00
Randy Mackay
9482578c60
BattMon: Bebop always uses bebop batt monitor
2015-07-23 21:49:31 +09:00
Randy Mackay
84b6ab0707
BattMon_Bebop: use ARRAY_SIZE
...
Also remove printf of failure message, instead we should add the battery
monitor health to the SYS_STATUS message sent to the ground station
2015-07-23 21:49:30 +09:00
Randy Mackay
3b36178a0b
BattMon_Bebop: init members in constructor
2015-07-23 21:49:29 +09:00
Jean-Baptiste Dubois
f6aba6c952
HAL_Linux: add read_obs_data to RCOutput_Bebop
2015-07-23 21:49:28 +09:00
Jean-Baptiste Dubois
35ae562dbe
AP_BattMonitor: Add battery support for Bebop Hardware
2015-07-23 21:49:27 +09:00
Andrew Tridgell
58fa38cc12
Plane: allow rudder disarm based on ARMING_RUDDER parameter
2015-07-23 21:48:50 +10:00
Andrew Tridgell
54254c89d7
AP_Arming: control rudder arming with ARMING_RUDDER parameter
...
allow for 3 states:
0: no rudder arming
1: arm only
2: arm and disarm
2015-07-23 21:48:50 +10:00
pepevalbe
da41d85433
Plane: It is possible to disarm with left rudder.
...
Using is_flying() avoid accidentally disarming while flying.
2015-07-23 21:48:44 +10:00
Lucas De Marchi
8240e5ae65
AP_Compass: AK8963: reduce bytes read
...
We are not using INFO and ST1 registers, so there's no need to read
extra 2 bytes for each transaction.
2015-07-23 17:44:36 +10:00
Lucas De Marchi
2b9c46e1ff
AP_Compass: AK8963: don't oversample AK8963
...
Reduce the frequency with which MPU9250 reads AK8963 to reduce the
chance of errors.
2015-07-23 17:44:36 +10:00
Lucas De Marchi
6c2ceea165
AP_Compass: AK8963: remove author and connection comment
...
Authorship and how sensor is connected get outdated (as it already is).
Our code is on git so let it track who wrote each line.
2015-07-23 17:44:36 +10:00
Staroselskii Georgii
8ab33c46ce
AP_Compass: revisited AK8963 code
...
Reduced duplication a bit and revisited the update method which is now
split into several logical hunks.
2015-07-23 17:44:36 +10:00
Lucas De Marchi
fffedae3e0
AP_Compass: AK8963: reduce stack usage and zero out buffers
...
Since we are not using MPU9250's fifo to get samples from AK8963 we will
always read only 1 sample (+ control registers).
2015-07-23 17:44:35 +10:00
Lucas De Marchi
37734886a5
AP_Compass: AK8963: remove repeated comments
...
No need to repeat the same comments on 3 different places. Instead add a
single comment to explain how start_measurements() and read_raw() are
related.
2015-07-23 17:44:35 +10:00
Lucas De Marchi
27d95b67a8
AP_Compass: AK8963: remove state machine
...
Don't use a state machine in AK8963: the start_measurements() method
should be called only once. Even if there's a magnetic sensor overflow
the only thing we should do is to discard the new data.
This also moves the _collect_samples() method to be inside _update()
since it's the only place it should be called from, the one running on
the timer thread.
2015-07-23 17:44:35 +10:00