Lucas De Marchi
acc571c2c5
AP_HAL_Linux: add function to check if path is chardev
...
Utility function to allow checking if a certain path is a character
device.
2015-06-30 09:10:54 +10:00
Lucas De Marchi
a4c1b0d75f
AP_HAL_Linux: add constructor to find I2C bus reliably
...
The device number in /dev may not be reliable from one boot to another
due to the initialization order of each bus.
For example, in Minnow Board Max, the exposed I2C buses may be i2c-7 and
i2c-8 or i2c-8 and i2c-9 depending if the platform driver in the kernel
is initialized before or after the PCI.
It also may change with different version and configuration of the DT or
UEFI used making another kernel driver to bind to the device. This means that
for Minnow Board Max we need to use something like below to pass to the
constructor:
static const char * const i2c_devpaths[] = {
/* UEFI with lpss set to ACPI */
"/devices/platform/80860F41:05",
/* UEFI with lpss set to PCI */
"/devices/pci0000:00/0000:00:18.6",
NULL
};
The devpath here is the one returned by udev with the following command:
udevadm info -q path /dev/<i2c-device>
In contrary to the device number in /dev/i2c-N, this path in sysfs is
stable across reboots and can only change if there's a change in the
UEFI firmware or the board's device tree.
This patch assumes the currently supported boards don't have this
problem so it's not touching them.
2015-06-30 09:10:54 +10:00
Lucas De Marchi
ec5d0b6c08
AP_HAL_Linux: reorder members and methods and use C++ initializer
2015-06-30 09:10:53 +10:00
Michael du Breuil
a382ce2b0c
AP_GPS: Add support for logging ublox RXM-RAWX messages
...
Can only record 32 satellites raw info before memory corruption occurs. (And raised the limit on normal RXM-RAW messages to 22)
2015-06-30 09:05:49 +10:00
Michael du Breuil
d665c85c20
DataFlash: Add RXM-RAWX logging messages
2015-06-30 09:05:48 +10:00
mirkix
38a8a772f8
AP_GPS: Add fix status 3D+DGPS
2015-06-30 09:00:31 +10:00
Andrew Tridgell
15efae5a48
HAL_SITL: use SITL_NUM_CHANNELS
2015-06-30 08:55:02 +10:00
Andrew Tridgell
f8944ab6be
SITL: define number of RC out channels
2015-06-30 08:54:46 +10:00
Vladislav Zakharov
be4b6033e4
AP_HAL_Linux: Navio RCInput reimplemented.
2015-06-29 16:45:43 +10:00
Vladislav Zakharov
e505eb2cd8
AP_HAL_Linux: Changes in Scheduler: Added defines for delays, RCIN_RERIOD changed
2015-06-29 16:45:42 +10:00
Przemek Lekston
90378b21da
AP_BattMonitor: Fix battery monitor Floating Point Exception in SITL
...
Adds a sanity check to avoid division by zero when BATT_CAPACITY is set to 0.
2015-06-29 16:42:52 +10:00
Andrew Tridgell
2291a8994e
Replay: fixed build
2015-06-29 15:59:53 +10:00
Andrew Tridgell
16ada34398
build: removed include of vehicle directory in build
...
this removes the temptation of including vehicle specific headers in
libraries
2015-06-29 15:34:43 +10:00
Randy Mackay
d89058a75c
Copter: loiter state reads takeoff climb rate during takeoff
2015-06-29 13:49:58 +09:00
Robert Lefebvre
01ae84dda6
Copter: Create Loiter state machine.
2015-06-29 13:49:55 +09:00
Andrew Tridgell
ff88932091
SITL: setup turbulence in JSBSim
2015-06-29 11:25:59 +10:00
Andrew Tridgell
92c9779d18
HAL_SITL: pass turbulence to simulators
2015-06-29 11:25:44 +10:00
Randy Mackay
1a9cdac441
Copter: remove unused definition
2015-06-28 21:55:31 +09:00
Randy Mackay
cc212f1398
Copter: AC3.3-rc7 release notes
2015-06-28 21:21:05 +09:00
Andrew Tridgell
8fb879a25b
PX4Firmware: submodule update
2015-06-27 21:25:09 +10:00
Randy Mackay
e60f53d144
Copter: arming check Bitmask param description
2015-06-27 19:20:52 +09:00
Randy Mackay
2b35fbc81f
Copter: remove redundant ToRad definition
2015-06-27 19:20:50 +09:00
Randy Mackay
ef20676c67
GPS: fix INJECT_TO param desc and add definition
...
No functional change
2015-06-27 16:31:03 +09:00
Randy Mackay
0264b1aa84
AC_Circle: set only xy position targets
2015-06-27 15:43:49 +09:00
Randy Mackay
0b9c7c2a3b
SerialManager: add SToRM32 to protocol param description
2015-06-27 11:18:17 +09:00
Víctor Mayoral Vilches
ab5f1b3a24
BusTest: Fix compilation error with AP_ADC
2015-06-26 21:59:22 +10:00
Tom Pittenger
b7e12214ed
.gitignore update for jsbsim changes
...
It seems jsbsim has changed the filenames and the location of _fgout.xml and rascal_test.
I'm not sure if this is a mistake or new behavior but either way these files are generated and don't need to be tracked.
2015-06-26 21:58:27 +10:00
Andrew Tridgell
3d2fcfaebd
Maintainers: add Peter as DataFlash maintainer
2015-06-26 16:08:38 +10:00
Peter Barker
e9e59e6c38
Rover: DataFlash frontend/backend split
2015-06-26 16:02:51 +10:00
Peter Barker
788faf1f7d
Copter: DataFlash frontend/backend split
2015-06-26 16:02:50 +10:00
Peter Barker
7f0a0cf64f
Plane: DataFlash frontend/backend split
2015-06-26 16:02:50 +10:00
Peter Barker
2266f118e9
Replay: DataFlash frontend/backend split
2015-06-26 16:02:50 +10:00
Peter Barker
723c37bcf7
DataFlash: backend/frontend split
2015-06-26 16:02:50 +10:00
Andrew Tridgell
21c8a2d94a
AP_Common: override new and delete on all platforms to zero memory
...
this guarantees that all classes get zero initial members when
they are dynamically allocated.
2015-06-26 15:55:19 +10:00
Andrew Tridgell
f2756ecb22
Replay: added checking of solution
2015-06-26 15:55:19 +10:00
Andrew Tridgell
9016a3d3db
Replay: added --chek-generate option
...
adds CHEK messages based on current estimates
2015-06-26 15:55:18 +10:00
Andrew Tridgell
ebddc05ead
Copter: enable tail pass thru in acro for EXTGYRO tails
...
this allows acro mode to function as full passthru
2015-06-26 12:45:40 +09:00
Andrew Tridgell
eeb97800ae
AC_AttitudeControl: allow for tail pass-thru in ACRO mode
...
this allows for all channels to be passed through
2015-06-26 12:45:38 +09:00
Andrew Tridgell
42023eb17a
autotest: check for .gitmodules before ldir check
...
another attempt to get build_binaries going
2015-06-26 11:32:15 +10:00
Randy Mackay
163e1d8e1b
Copter: update AC3.3-rc6 release notes
2015-06-26 10:17:14 +09:00
Randy Mackay
58b2f2b112
Copter: update AC3.3-rc6 release notes
2015-06-25 21:32:03 +09:00
Randy Mackay
c57c0ee0d8
Copter: AC3.3-rc6 release notes
2015-06-25 20:31:00 +09:00
Michael du Breuil
e45f3537cf
APM_Control: Remove duplicate include statements
2015-06-25 10:23:47 +10:00
Michael du Breuil
aa04c81e3c
APM_Control: Fix a typo in the docstring for YAW2SRV_SLIP
2015-06-25 10:22:36 +10:00
Tom Pittenger
e6122d1a4e
AP_Mission: ensure cache coherence on mission resume
...
- when resuming a mission we should read the value from storage of the same index to ensure we're not continuing an old cached version of the mission item.
- inherent problem: DO commands will continue and will be unaffected unless the new mission has a different DO_ command structure. If so, a set_current_cmd() or reset() should be issued by the GCS.
2015-06-25 10:21:06 +10:00
Peter Barker
d4a34b3da1
SITL: abort sim_vehicle.sh if build fails a second time
...
Previously a build could fail and we would end up running the old code
2015-06-25 10:16:24 +10:00
Andrew Tridgell
a81590f7ac
HAL_SITL: prevent FPE on zero range with optflow
2015-06-25 10:08:53 +10:00
Randy Mackay
14cf9b1621
Copter: reset ekf height if arming before home set
2015-06-24 16:25:17 +09:00
Randy Mackay
9f17fc17ab
NavEKF: update parameter descriptions
2015-06-24 16:25:14 +09:00
Paul Riseborough
87e6a24154
AP_NavEKF: Add public method to reset EKF height datum and baro alt
2015-06-24 16:25:11 +09:00