Andrew Tridgell
70e56a3d54
px4fmu2: enable SPI sensor DRDY pins
2013-12-10 11:03:43 +01:00
Andrew Tridgell
53f2dc8296
drv_hrt: added hrt_call_init() and hrt_call_delay() APIs
...
hrt_call_init() can be used to initialise (zero) a hrt_call structure
to ensure safe usage. The hrt_call_every() interface calls this
automatically.
hrt_call_delay() can be used to delay a current callout by the given
number of microseconds
2013-12-10 11:03:31 +01:00
Andrew Tridgell
86ec1c37fa
l3gd20: added retries to disable_i2c()
2013-12-10 11:03:12 +01:00
Andrew Tridgell
476070510e
lsm303d/l3gd20: change filters to 50Hz analog on-chip filters
...
after discussion with Leonard these analog on-chip filters should be
at 50Hz
2013-12-10 11:02:49 +01:00
Andrew Tridgell
b0bb5a3450
ms5611: change bus speed to 5MHz
...
this gives 5MHz SPI bus speed (by asking for 6MHz due to timer
granularity).
Tests with a logic analyser show that the ms5611 is actually more
reliable at 5MHz than lower speeds
2013-12-10 11:01:53 +01:00
Andrew Tridgell
a52e70ca93
ms5611: removed unused variable
2013-12-10 11:01:33 +01:00
Andrew Tridgell
3f0f34a4c7
ms5611: give cleaner SPI traces
...
this makes logic traces cleaner by zeroing extra bytes written
2013-12-10 11:01:20 +01:00
Thomas Gubler
2761d47be2
disable printf
2013-12-09 15:18:10 +01:00
Thomas Gubler
edd1f4dbb8
set parachute deployed to 0 and handle correct scaling in mixer
2013-12-09 09:08:41 +01:00
Thomas Gubler
5e273bf225
px4iofirmware: in manual mode: ignore control indices which are not controlled by the rmeote control
2013-12-08 21:35:16 +01:00
Thomas Gubler
86aa2f85cb
px4iofirmware: in manual mode: ignore control indices which are not controlled by the rmeote control
2013-12-08 21:34:49 +01:00
Thomas Gubler
cbde8d27f8
fix small copy paste error in px4io driver
2013-12-08 20:15:47 +01:00
Thomas Gubler
8acea79918
fix small copy paste error in px4io driver
2013-12-08 20:14:32 +01:00
Thomas Gubler
c16c57c9d0
Merge remote-tracking branch 'upstream/control_groups' into fw_autoland_att_tecs_navigator_termination_controlgroups
2013-12-08 18:57:53 +01:00
Thomas Gubler
278e05e425
added simple flight termination state machine which enbales parachute on request
2013-12-08 16:52:41 +01:00
Lorenz Meier
0ba507b640
Added support for a total of four control groups to the IO driver and IO firmware. This allows to run auxiliary payload. Cleaned up defines for RC input channel counts, this needs another sweep to then finally allow up to 16 mapped channels and up to 20-24 RAW RC channels
2013-12-08 11:25:45 +01:00
Anton Babushkin
5397f13b50
Merge branch 'master' into hil_fixes
2013-12-07 22:29:45 +04:00
Lorenz Meier
c72162cc5a
Add also default descriptor for alternate sensors
2013-12-07 10:44:29 +01:00
Lorenz Meier
7becbcdbd5
Made all usual suspects default to their custom names and only register the default name if its not already taken by someone else
2013-12-07 10:34:32 +01:00
Thomas Gubler
4d846b480c
fix typo in makefile (resulted from previous merge)
2013-12-05 16:24:11 +01:00
Thomas Gubler
b86161dd45
Merge remote-tracking branch 'upstream/master' into fw_autoland_att_tecs_navigator
...
Conflicts:
src/modules/mavlink/missionlib.c
src/systemcmds/tests/module.mk
2013-12-05 10:53:41 +01:00
Thomas Gubler
f73988cee9
Merge remote-tracking branch 'private_julian/fw_autoland_att_tecs_navigator' into fw_autoland_att_tecs_navigator
2013-12-05 10:50:41 +01:00
Lorenz Meier
264ef47197
PPM loopback test
2013-12-05 05:02:00 +01:00
Lorenz Meier
1cb576ae4e
Merge branch 'master' into tests
2013-12-05 02:52:57 +01:00
Julian Oes
0aeada16b9
Navigator: handle onboard and mavlink missions
2013-12-04 10:38:56 +01:00
Julian Oes
56834414f1
Dataman: Also reserve space for onboard missions
2013-12-04 10:37:51 +01:00
Lorenz Meier
012adc9e33
Minor fixes to bus reset
2013-12-04 09:25:07 +01:00
Lorenz Meier
acc3cc087f
Added sensor rail reset IOCTL and command (fmu sensor_reset 10 resets for 10 ms)
2013-12-04 08:17:35 +01:00
Lorenz Meier
881cf61553
Added IOCTL and command for sensor rail reset (does not yet re-initialize sensor drivers)
2013-12-04 07:57:23 +01:00
Andrew Tridgell
edc5b68499
l3gd20: use highest possible on-chip filter bandwidth
...
this allows the software filter to do its job properly
2013-12-04 07:08:23 +01:00
Andrew Tridgell
b2119839bd
lsm303d: init filter to 773 Hz
2013-12-04 07:08:05 +01:00
Julian Oes
03a5426001
Merge branch 'fw_autoland_att_tecs_navigator' into bottle_drop_navigator
...
Conflicts:
src/modules/navigator/navigator_main.cpp
2013-12-03 20:50:52 +01:00
Julian Oes
e034f5135e
Dataman: Some minor fixes
2013-12-03 16:25:46 +01:00
Julian Oes
83b09614e7
Dataman: Start dataman and use it in waypoints and navigator instead of mission items in mission topic
2013-12-03 16:25:11 +01:00
Julian Oes
f2c303679e
Bottle drop: lots of changes, working in HIL
2013-12-02 23:05:28 +01:00
Julian Oes
808294b01a
HIL: only send attitude actuator group 0
2013-12-02 23:03:52 +01:00
Julian Oes
6048f9beda
HIL: copy correct actuator group
2013-12-02 23:03:29 +01:00
Andrew Tridgell
bdb462379a
FMUv2: don't config ADC pins that are now used for MPU6k CS and other uses
2013-11-30 20:21:51 +11:00
Andrew Tridgell
19853f87a2
FMUv2: change CS pins to 2MHz
...
this gives cleaner traces
2013-11-30 20:21:44 +11:00
Andrew Tridgell
6ba54e7035
lsm303d: cleanup logic traces by pre-zeroing all transfers
2013-11-30 20:21:28 +11:00
Andrew Tridgell
9214154831
lsm303d: added I2C disable based on method from ST engineering support
2013-11-30 20:21:08 +11:00
Andrew Tridgell
cb76f07d31
l3gd20: added I2C disable based on method from ST engineering support
2013-11-30 20:20:23 +11:00
Andrew Tridgell
720f6ab313
FMUv2: set MPU6000 CS as initially de-selected
2013-11-30 20:20:03 +11:00
Andrew Tridgell
3a597d1a1f
FMUv2: added define for MPU DRDY pin
2013-11-30 20:19:58 +11:00
Andrew Tridgell
3decf408c2
FMUv2: added support for MPU6000 on v2.4 board
2013-11-30 20:19:52 +11:00
Andrew Tridgell
b666581983
lsm303d: fixed TEMP_H register define
2013-11-30 20:19:26 +11:00
Andrew Tridgell
d0507296c0
px4io: moved blue heartbeat LED to main loop
...
this allows us to tell if the main loop is running by looking for a
blinking blue LED
2013-11-30 20:18:27 +11:00
Andrew Tridgell
af47a3d795
mpu6000: change bus speed based on registers being accessed
...
this ensures we follow the datasheet requirement of 1MHz for general
registers and up to 20MHz for sensor and int status registers
2013-11-30 20:17:55 +11:00
Andrew Tridgell
244c3602f2
SPI: added set_frequency() API
...
this allows the bus speed to be changed on the fly by device
drivers. This is needed for the MPU6000
2013-11-30 20:17:09 +11:00
Andrew Tridgell
7d415b0c42
lsm303d: print more registers in "lsm303d regdump"
2013-11-30 20:16:51 +11:00