px4dev
5925d146bc
Move the tone_alarm driver out of the NuttX configs area and add it as an stm32-specific driver in the PX4 apps space.
...
Add a new tone_alarm command that can be used to start/stop alarm tones from the shell.
12 years ago
Lorenz Meier
096bf2dc93
Checkpoint: Working, but non-verified full mag calibration
12 years ago
px4dev
bfbd17a2fa
Make it possible to run fmu and px4io simultaneously with full control over both sets of possible PWM outputs. First started wins.
12 years ago
Lorenz Meier
97726fa679
Calibration WIP, not compiling
13 years ago
Lorenz Meier
642f3426a7
Added mag calibration routine, fixed minor typos without runtime effects
13 years ago
Lorenz Meier
bd3f3b1031
Sensor rate and throttle inversion fixes
13 years ago
px4dev
22537447db
Adjust to changes in the work queue API.
13 years ago
Lorenz Meier
c25cef299f
Fixed to mag measurement and filter
13 years ago
Lorenz Meier
db6ec2d7d2
Various minor fixes and improvements across system
13 years ago
Lorenz Meier
84e11a0cac
Fixed correct RC loss detection, AR.Drone is now shutting down motors after 1 s of RC loss. Added debug topic.
13 years ago
Lorenz Meier
eb01cd6fd3
Changed a critical section to double precision calculation. It may not be necessary, but lets not risk precision unless we have properly analyzed what numerical precision is required.
13 years ago
px4dev
00ba1d629b
Redo the math in the ms5611 driver to a) avoid re-computing scaling factors for every pressure measurement, b) be perhaps more readable and follow the data sheet more closely, and c) support calibration of the MSL pressure.
13 years ago
Lorenz Meier
cf62c892f9
Added temperature measurement, added led system command
13 years ago
Lorenz Meier
39fd8b9cda
Fixed minor compile warnings (just warnings, no effect on execution) in BMA180
13 years ago
Lorenz Meier
4ba8036d80
minor typo in comment
13 years ago
Lorenz Meier
5f131e8c11
Checkpoint: Operational BMA180 driver
13 years ago
px4dev
63485b91b2
Kick the BMA180 driver mostly into shape. Still not reading data correctly.
13 years ago
px4dev
116306ae3e
units in comments
13 years ago
px4dev
1e80bd544b
Make the buffer ring work.
...
Avoid reading from the misaligned structure more than once.
Discard some redundant whitespace / prototype.
13 years ago
px4dev
45885f15dc
Fix the readout transfer size.
13 years ago
px4dev
da3cd24352
Be a bit more careful with which bits we stuff into the l3gd20 registers.
13 years ago
px4dev
d0898cb947
Something approximating a driver for the L3GD20
13 years ago
px4dev
d0f10a3550
driver work in progress
13 years ago
Lorenz Meier
d8210a8e2f
Implemented missing IOCTLs to set MPU scalings
13 years ago
Lorenz Meier
2d2548e714
Final parameter interface cleanup - removed last bit of old cruft, fixed a bug on parameter update notification, cleaned up API slightly in naming
13 years ago
Lorenz Meier
967c0869a9
Cleaned up MPU driver slightly
13 years ago
Lorenz Meier
248bb11d93
removed stop() from I2C driver startup routines, work in progress on MPU scaling
13 years ago
Lorenz Meier
2963dc679a
Driver debugging (scaling, ranges, endianess) MPU-6000 needs more love
13 years ago
Lorenz Meier
56e66a80cd
Printing fixes
13 years ago
Lorenz Meier
dfa5cc52d5
MS5611 test is now printing floats. Note that the issue with the scheduled reads of the sensor started BEFORE this change and is thus unrelated.
13 years ago
Lorenz Meier
207b077d8a
Cleaned up scaling / offset handling for mag and gyro / acc
13 years ago
Lorenz Meier
6026595d83
Fixed axis assignment and raw value outputs. Scaling and offsets to be done
13 years ago
px4dev
efda95101f
Streamline mag and baro topic advertisement now that handles are global.
...
Use perf counters for error counting in mag/baro drivers.
13 years ago
px4dev
35009cd332
clean up an error message
13 years ago
px4dev
26244c43f2
make the I2C and SPI device signons distinct
13 years ago
px4dev
5c6b6038a7
turn off debug output from the mpu6000 driver
13 years ago
px4dev
e51b23d309
Now that it's safe to perform SPI transfers from interrupt context, re-enable the mpu6000 auto-poller.
13 years ago
px4dev
e5e2d7216c
Make it non-fatal to perform SPI transfers from interrupt context.
13 years ago
px4dev
23d8b69e3d
Sensor drivers should run all the time, not just when their device is open.
...
Disable this for the mpu6000 driver though, as it's currently busted in that regard.
13 years ago
px4dev
0dc0a0539d
Increase the retry count while probing for I2C sensors. This will also unwedge stuck sensors.
13 years ago
px4dev
4456ca8827
Sensor IOCTL reorganization. Common sensor operations are now shared across sensor drivers.
...
Revamp hmc5883, ms5611 and mpu6000 driver startup and test code.
13 years ago
px4dev
f901a35bd4
Remove erroneous sensor read timing checks.
13 years ago
px4dev
d55dd67d77
Remove spurious I2C clock frequency resets.
13 years ago
Lorenz Meier
d12c09cc86
improvements / debugging on I2C drivers
13 years ago
px4dev
f28a757f92
We need to init the gyro subdevice, or there is no device node. Oops.
13 years ago
Lorenz Meier
295e9da1ba
Added required scalings, added gyro to MPU6000 test, changed sensors app to read from new drivers
13 years ago
px4dev
a0b9c056d7
Add a bus reset on I2C error. Also add a mechanism for automated retries of operations.
13 years ago
px4dev
88f0080a0f
Fix an architectural issue with the ORB that prevented publication from interrupt context.
...
ORB topic advertisements are now global handles that can be used in any context. It is still possible to open a topic node as a publisher, but it's not the default. As a consequence, the type of the handle returned from orb_advertise has changed; all other API remains the same.
13 years ago
px4dev
8c22e2a092
Whitespace
13 years ago
px4dev
5f77561ed4
Fix output scaling for the hmc5883 driver. Add data checking, and fix an issue where the ORB topic could not be published due to being advertised in the wrong context.
13 years ago