Lorenz Meier
b090298b12
Minor cleanups, added more error verbosity, XXX parameters get now read it at maximum sensors speed, needs to be waiting on a param change notice (but not on the vehicle status topic, as before.
2012-08-27 17:24:17 +02:00
Lorenz Meier
97d9e67e67
Really ugly but safe hack to make 30 deg rotations work
2012-08-27 15:44:50 +02:00
Lorenz Meier
967c0869a9
Cleaned up MPU driver slightly
2012-08-27 09:48:16 +02:00
Lorenz Meier
248bb11d93
removed stop() from I2C driver startup routines, work in progress on MPU scaling
2012-08-27 09:08:34 +02:00
Lorenz Meier
58b51743f2
Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_driver_wip
2012-08-27 07:25:05 +02:00
patacongo
ce9b97b8f5
More patches/bugfixes from Kate
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5056 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 23:29:37 +00:00
px4dev
e214981d11
Merge branch 'NuttX/master'
...
Conflicts:
apps/netutils/thttpd/thttpd_cgi.c
nuttx/Documentation/NuttX.html
nuttx/arch/8051/src/Makefile
nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
nuttx/arch/avr/Kconfig
nuttx/arch/avr/src/atmega/atmega_lowinit.c
nuttx/arch/mips/Kconfig
nuttx/arch/z80/src/Makefile.sdcc
nuttx/configs/amber/README.txt
nuttx/configs/amber/hello/defconfig
nuttx/configs/avr32dev1/README.txt
nuttx/configs/avr32dev1/nsh/defconfig
nuttx/configs/avr32dev1/ostest/defconfig
nuttx/configs/c5471evm/README.txt
nuttx/configs/c5471evm/httpd/defconfig
nuttx/configs/c5471evm/nettest/defconfig
nuttx/configs/c5471evm/nsh/defconfig
nuttx/configs/c5471evm/ostest/defconfig
nuttx/configs/compal_e88/nsh_highram/defconfig
nuttx/configs/compal_e99/nsh_compalram/defconfig
nuttx/configs/compal_e99/nsh_highram/defconfig
nuttx/configs/demo9s12ne64/README.txt
nuttx/configs/demo9s12ne64/ostest/defconfig
nuttx/configs/ea3131/nsh/defconfig
nuttx/configs/ea3131/ostest/defconfig
nuttx/configs/ea3131/pgnsh/defconfig
nuttx/configs/ea3131/usbserial/defconfig
nuttx/configs/ea3131/usbstorage/defconfig
nuttx/configs/ea3152/ostest/defconfig
nuttx/configs/eagle100/README.txt
nuttx/configs/eagle100/httpd/defconfig
nuttx/configs/eagle100/nettest/defconfig
nuttx/configs/eagle100/nsh/defconfig
nuttx/configs/eagle100/nxflat/defconfig
nuttx/configs/eagle100/ostest/defconfig
nuttx/configs/eagle100/thttpd/defconfig
nuttx/configs/ekk-lm3s9b96/README.txt
nuttx/configs/ekk-lm3s9b96/nsh/defconfig
nuttx/configs/ekk-lm3s9b96/ostest/defconfig
nuttx/configs/ez80f910200kitg/ostest/defconfig
nuttx/configs/ez80f910200zco/dhcpd/defconfig
nuttx/configs/ez80f910200zco/httpd/defconfig
nuttx/configs/ez80f910200zco/nettest/defconfig
nuttx/configs/ez80f910200zco/nsh/defconfig
nuttx/configs/ez80f910200zco/ostest/defconfig
nuttx/configs/ez80f910200zco/poll/defconfig
nuttx/configs/hymini-stm32v/README.txt
nuttx/configs/hymini-stm32v/buttons/defconfig
nuttx/configs/hymini-stm32v/nsh/defconfig
nuttx/configs/hymini-stm32v/nsh2/defconfig
nuttx/configs/hymini-stm32v/nx/defconfig
nuttx/configs/hymini-stm32v/nxlines/defconfig
nuttx/configs/hymini-stm32v/usbserial/defconfig
nuttx/configs/hymini-stm32v/usbstorage/defconfig
nuttx/configs/kwikstik-k40/README.txt
nuttx/configs/kwikstik-k40/ostest/defconfig
nuttx/configs/lincoln60/README.txt
nuttx/configs/lincoln60/nsh/defconfig
nuttx/configs/lincoln60/ostest/defconfig
nuttx/configs/lm3s6432-s2e/README.txt
nuttx/configs/lm3s6432-s2e/nsh/defconfig
nuttx/configs/lm3s6432-s2e/ostest/defconfig
nuttx/configs/lm3s6965-ek/README.txt
nuttx/configs/lm3s6965-ek/nsh/defconfig
nuttx/configs/lm3s6965-ek/nx/defconfig
nuttx/configs/lm3s6965-ek/ostest/defconfig
nuttx/configs/lm3s8962-ek/README.txt
nuttx/configs/lm3s8962-ek/nsh/defconfig
nuttx/configs/lm3s8962-ek/nx/defconfig
nuttx/configs/lm3s8962-ek/ostest/defconfig
nuttx/configs/lpc4330-xplorer/README.txt
nuttx/configs/lpc4330-xplorer/nsh/defconfig
nuttx/configs/lpc4330-xplorer/ostest/defconfig
nuttx/configs/lpcxpresso-lpc1768/README.txt
nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig
nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig
nuttx/configs/lpcxpresso-lpc1768/nx/defconfig
nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig
nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig
nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig
nuttx/configs/m68332evb/defconfig
nuttx/configs/mbed/README.txt
nuttx/configs/mbed/hidkbd/defconfig
nuttx/configs/mbed/nsh/defconfig
nuttx/configs/mcu123-lpc214x/README.txt
nuttx/configs/mcu123-lpc214x/composite/defconfig
nuttx/configs/mcu123-lpc214x/nsh/defconfig
nuttx/configs/mcu123-lpc214x/ostest/defconfig
nuttx/configs/mcu123-lpc214x/usbserial/defconfig
nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
nuttx/configs/micropendous3/README.txt
nuttx/configs/micropendous3/hello/defconfig
nuttx/configs/mirtoo/README.txt
nuttx/configs/mirtoo/nsh/defconfig
nuttx/configs/mirtoo/nxffs/defconfig
nuttx/configs/mirtoo/ostest/defconfig
nuttx/configs/mx1ads/ostest/defconfig
nuttx/configs/ne64badge/README.txt
nuttx/configs/ne64badge/ostest/defconfig
nuttx/configs/ntosd-dm320/nettest/defconfig
nuttx/configs/ntosd-dm320/nsh/defconfig
nuttx/configs/ntosd-dm320/ostest/defconfig
nuttx/configs/ntosd-dm320/poll/defconfig
nuttx/configs/ntosd-dm320/thttpd/defconfig
nuttx/configs/ntosd-dm320/udp/defconfig
nuttx/configs/ntosd-dm320/uip/defconfig
nuttx/configs/nucleus2g/README.txt
nuttx/configs/nucleus2g/nsh/defconfig
nuttx/configs/nucleus2g/ostest/defconfig
nuttx/configs/nucleus2g/usbserial/defconfig
nuttx/configs/nucleus2g/usbstorage/defconfig
nuttx/configs/olimex-lpc1766stk/README.txt
nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
nuttx/configs/olimex-lpc1766stk/nettest/defconfig
nuttx/configs/olimex-lpc1766stk/nsh/defconfig
nuttx/configs/olimex-lpc1766stk/nx/defconfig
nuttx/configs/olimex-lpc1766stk/ostest/defconfig
nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig
nuttx/configs/olimex-lpc1766stk/thttpd/defconfig
nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
nuttx/configs/olimex-lpc1766stk/wlan/defconfig
nuttx/configs/olimex-lpc2378/nsh/defconfig
nuttx/configs/olimex-lpc2378/ostest/defconfig
nuttx/configs/olimex-stm32-p107/nsh/defconfig
nuttx/configs/olimex-stm32-p107/ostest/defconfig
nuttx/configs/olimex-strp711/nettest/defconfig
nuttx/configs/olimex-strp711/nsh/defconfig
nuttx/configs/olimex-strp711/ostest/defconfig
nuttx/configs/pcblogic-pic32mx/README.txt
nuttx/configs/pcblogic-pic32mx/nsh/defconfig
nuttx/configs/pcblogic-pic32mx/ostest/defconfig
nuttx/configs/pic32-starterkit/README.txt
nuttx/configs/pic32-starterkit/nsh/defconfig
nuttx/configs/pic32-starterkit/nsh2/defconfig
nuttx/configs/pic32-starterkit/ostest/defconfig
nuttx/configs/pic32mx7mmb/README.txt
nuttx/configs/pic32mx7mmb/nsh/defconfig
nuttx/configs/pic32mx7mmb/ostest/defconfig
nuttx/configs/pjrc-8051/defconfig
nuttx/configs/qemu-i486/nsh/defconfig
nuttx/configs/qemu-i486/ostest/defconfig
nuttx/configs/rgmp/arm/default/defconfig
nuttx/configs/rgmp/arm/nsh/defconfig
nuttx/configs/rgmp/x86/default/defconfig
nuttx/configs/rgmp/x86/nsh/defconfig
nuttx/configs/sam3u-ek/README.txt
nuttx/configs/sam3u-ek/knsh/defconfig
nuttx/configs/sam3u-ek/nsh/defconfig
nuttx/configs/sam3u-ek/nx/defconfig
nuttx/configs/sam3u-ek/ostest/defconfig
nuttx/configs/sam3u-ek/touchscreen/defconfig
nuttx/configs/sim/mount/defconfig
nuttx/configs/sim/nettest/defconfig
nuttx/configs/sim/nsh/defconfig
nuttx/configs/sim/nsh2/defconfig
nuttx/configs/sim/nx/defconfig
nuttx/configs/sim/nx11/defconfig
nuttx/configs/sim/nxffs/defconfig
nuttx/configs/sim/nxwm/defconfig
nuttx/configs/sim/ostest/defconfig
nuttx/configs/sim/pashello/defconfig
nuttx/configs/sim/touchscreen/defconfig
nuttx/configs/skp16c26/ostest/defconfig
nuttx/configs/stm3210e-eval/Kconfig
nuttx/configs/stm3210e-eval/README.txt
nuttx/configs/stm3210e-eval/RIDE/defconfig
nuttx/configs/stm3210e-eval/buttons/defconfig
nuttx/configs/stm3210e-eval/composite/defconfig
nuttx/configs/stm3210e-eval/nsh/defconfig
nuttx/configs/stm3210e-eval/nsh2/defconfig
nuttx/configs/stm3210e-eval/nx/defconfig
nuttx/configs/stm3210e-eval/nxconsole/defconfig
nuttx/configs/stm3210e-eval/nxlines/defconfig
nuttx/configs/stm3210e-eval/nxtext/defconfig
nuttx/configs/stm3210e-eval/ostest/defconfig
nuttx/configs/stm3210e-eval/pm/defconfig
nuttx/configs/stm3210e-eval/src/up_idle.c
nuttx/configs/stm3210e-eval/usbserial/defconfig
nuttx/configs/stm3210e-eval/usbstorage/defconfig
nuttx/configs/stm3220g-eval/Kconfig
nuttx/configs/stm3220g-eval/README.txt
nuttx/configs/stm3220g-eval/dhcpd/defconfig
nuttx/configs/stm3220g-eval/include/board.h
nuttx/configs/stm3220g-eval/nettest/defconfig
nuttx/configs/stm3220g-eval/nsh/defconfig
nuttx/configs/stm3220g-eval/nsh2/defconfig
nuttx/configs/stm3220g-eval/nxwm/defconfig
nuttx/configs/stm3220g-eval/ostest/defconfig
nuttx/configs/stm3220g-eval/src/Makefile
nuttx/configs/stm3220g-eval/src/stm3220g-internal.h
nuttx/configs/stm3220g-eval/src/up_boot.c
nuttx/configs/stm3220g-eval/src/up_nsh.c
nuttx/configs/stm3220g-eval/telnetd/defconfig
nuttx/configs/stm3240g-eval/Kconfig
nuttx/configs/stm3240g-eval/README.txt
nuttx/configs/stm3240g-eval/dhcpd/defconfig
nuttx/configs/stm3240g-eval/include/board.h
nuttx/configs/stm3240g-eval/nettest/defconfig
nuttx/configs/stm3240g-eval/nsh/defconfig
nuttx/configs/stm3240g-eval/nsh2/defconfig
nuttx/configs/stm3240g-eval/nxconsole/defconfig
nuttx/configs/stm3240g-eval/nxwm/defconfig
nuttx/configs/stm3240g-eval/ostest/defconfig
nuttx/configs/stm3240g-eval/telnetd/defconfig
nuttx/configs/stm32f4discovery/README.txt
nuttx/configs/stm32f4discovery/include/board.h
nuttx/configs/stm32f4discovery/nsh/defconfig
nuttx/configs/stm32f4discovery/nxlines/defconfig
nuttx/configs/stm32f4discovery/ostest/defconfig
nuttx/configs/stm32f4discovery/pm/defconfig
nuttx/configs/sure-pic32mx/README.txt
nuttx/configs/sure-pic32mx/nsh/defconfig
nuttx/configs/sure-pic32mx/ostest/defconfig
nuttx/configs/sure-pic32mx/usbnsh/defconfig
nuttx/configs/teensy/README.txt
nuttx/configs/teensy/hello/defconfig
nuttx/configs/teensy/nsh/defconfig
nuttx/configs/teensy/src/up_spi.c
nuttx/configs/teensy/usbstorage/defconfig
nuttx/configs/twr-k60n512/README.txt
nuttx/configs/twr-k60n512/nsh/defconfig
nuttx/configs/twr-k60n512/ostest/defconfig
nuttx/configs/ubw32/README.txt
nuttx/configs/ubw32/nsh/defconfig
nuttx/configs/ubw32/ostest/defconfig
nuttx/configs/us7032evb1/nsh/defconfig
nuttx/configs/us7032evb1/ostest/defconfig
nuttx/configs/vsn/README.txt
nuttx/configs/vsn/nsh/defconfig
nuttx/configs/xtrs/nsh/defconfig
nuttx/configs/xtrs/ostest/defconfig
nuttx/configs/xtrs/pashello/defconfig
nuttx/configs/z16f2800100zcog/ostest/defconfig
nuttx/configs/z16f2800100zcog/pashello/defconfig
nuttx/configs/z80sim/nsh/defconfig
nuttx/configs/z80sim/ostest/defconfig
nuttx/configs/z80sim/pashello/defconfig
nuttx/configs/z8encore000zco/ostest/defconfig
nuttx/configs/z8f64200100kit/ostest/defconfig
2012-08-26 16:26:39 -07:00
patacongo
029bbeb3db
Add terminating NULL to argv[] list
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5055 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 22:28:21 +00:00
Lorenz Meier
2963dc679a
Driver debugging (scaling, ranges, endianess) MPU-6000 needs more love
2012-08-26 23:48:16 +02:00
patacongo
fe493d8bb8
Fix some list handling associated with priority inheritance
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5053 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 21:35:14 +00:00
Lorenz Meier
56e66a80cd
Printing fixes
2012-08-26 15:01:08 +02:00
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.
2012-08-26 14:52:44 +02:00
Lorenz Meier
848c156140
Added negative float printing to test range
2012-08-26 14:51:52 +02:00
Lorenz Meier
207b077d8a
Cleaned up scaling / offset handling for mag and gyro / acc
2012-08-26 14:51:33 +02:00
Lorenz Meier
6026595d83
Fixed axis assignment and raw value outputs. Scaling and offsets to be done
2012-08-26 13:51:18 +02:00
px4dev
656bc9e2ce
Documentation, cleanup.
2012-08-25 19:56:29 -07:00
px4dev
efda95101f
Streamline mag and baro topic advertisement now that handles are global.
...
Use perf counters for error counting in mag/baro drivers.
2012-08-25 19:27:12 -07:00
px4dev
35009cd332
clean up an error message
2012-08-25 19:09:23 -07:00
px4dev
93f26e3c96
Factor out the ADC code.
2012-08-25 19:09:10 -07:00
px4dev
665014a3e0
Run accel/gyro at 500Hz as intended.
2012-08-25 18:31:12 -07:00
px4dev
a1b17326a4
Fix sensor subscriptions.
...
Default to publishing.
Make the sensors command and the sensors task visibly distinct in a task listing.
Correctly check for bma180/l3gd20 in use.
2012-08-25 18:27:34 -07:00
px4dev
26244c43f2
make the I2C and SPI device signons distinct
2012-08-25 18:26:21 -07:00
px4dev
5c6b6038a7
turn off debug output from the mpu6000 driver
2012-08-25 18:25:56 -07:00
px4dev
544d427155
fix warn() not printing error strings.
2012-08-25 18:25:39 -07:00
px4dev
e05ef2bcab
Let's do the sensors in C++. It's much tidier.
2012-08-25 16:13:38 -07:00
px4dev
30e0354fd8
Add some C++ friendliness. Not enough, but some.
2012-08-25 16:12:48 -07:00
px4dev
f2ab85756c
This field can't be const, it's written to.
2012-08-25 16:12:27 -07:00
px4dev
e51b23d309
Now that it's safe to perform SPI transfers from interrupt context, re-enable the mpu6000 auto-poller.
2012-08-25 13:15:23 -07:00
px4dev
e5e2d7216c
Make it non-fatal to perform SPI transfers from interrupt context.
2012-08-25 13:15:23 -07:00
Lorenz Meier
380d136483
Fixed a few readout bugs in sensors app
2012-08-25 21:44:01 +02:00
Lorenz Meier
b0493e9aec
Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver
2012-08-25 21:31:09 +02:00
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.
2012-08-25 11:52:44 -07:00
Lorenz Meier
731621a309
Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver
2012-08-25 20:42:05 +02:00
px4dev
0dc0a0539d
Increase the retry count while probing for I2C sensors. This will also unwedge stuck sensors.
2012-08-25 10:53:14 -07:00
Lorenz Meier
656596896a
Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver
2012-08-25 19:30:43 +02:00
Lorenz Meier
8eeba595ee
Improved param load / store text feedback, ported sensors app to new driver model, ready for merge and test
2012-08-25 19:16:12 +02:00
patacongo
d6b8fcdcf0
Prep for 6.21 release
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5052 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-25 16:40:31 +00:00
px4dev
4456ca8827
Sensor IOCTL reorganization. Common sensor operations are now shared across sensor drivers.
...
Revamp hmc5883, ms5611 and mpu6000 driver startup and test code.
2012-08-25 00:12:11 -07:00
px4dev
f901a35bd4
Remove erroneous sensor read timing checks.
2012-08-24 08:55:30 -07:00
px4dev
d55dd67d77
Remove spurious I2C clock frequency resets.
2012-08-24 08:18:18 -07:00
Lorenz Meier
d12c09cc86
improvements / debugging on I2C drivers
2012-08-24 14:58:14 +02:00
Lorenz Meier
45e178eaa3
Made error message more verbose
2012-08-24 11:50:01 +02:00
Lorenz Meier
a1b99a3f03
Kicked out mix_and_link, deleted old MPU driver, disabled (still needed for reference) old HMC and MS5611 drivers. Removed driver init from up_nsh.c. Reworked fixedwing_control to be closer to up-to-date api, still more clean up needed. Fixed a bug that limited the motor thrust for multirotor control
2012-08-24 11:40:42 +02:00
px4dev
0472eeae05
Add EEPROM read/write performance counters.
2012-08-23 23:15:55 -07:00
px4dev
5ef6a41012
Add a modified version of the stock AT24xx EEPROM driver tweaked for our uses.
...
Use I2C_TRANSFER to avoid racing with other devices on the bus.
Clock at 400kHz.
2012-08-23 23:04:26 -07:00
px4dev
f28a757f92
We need to init the gyro subdevice, or there is no device node. Oops.
2012-08-23 20:32:13 -07:00
Lorenz Meier
295e9da1ba
Added required scalings, added gyro to MPU6000 test, changed sensors app to read from new drivers
2012-08-24 02:16:26 +02:00
Lorenz Meier
0e44d3810e
Removed old file
2012-08-24 00:01:35 +02:00
Lorenz Meier
62e07358b4
Ported almost everything to new param interface, ready for serious testing
2012-08-24 00:01:23 +02:00
Lorenz Meier
b07de1379d
moved commander to new param interface
2012-08-23 20:45:28 +02:00
Lorenz Meier
88f75ebc00
Ported attitude controller to new param interface
2012-08-23 13:31:40 +02:00
Lorenz Meier
a7266d539c
Bolted new param interface into the sensors app, continuing porting across codebase
2012-08-23 09:44:26 +02:00
px4dev
a0b9c056d7
Add a bus reset on I2C error. Also add a mechanism for automated retries of operations.
2012-08-22 22:25:10 -07:00
Lorenz Meier
5f259e41d5
Sensor readout, testing and driver adjustments
2012-08-22 16:20:05 +02:00
Lorenz Meier
fa9f145b08
Fixed a bunch of issues in the arming state machine for multirotors, arming / disarming works fine now. Porting of various processes needed
2012-08-22 14:35:22 +02:00
px4dev
44ff4d4ee2
Fix parameter change advertisement to conform to API change.
2012-08-22 01:09:06 -07:00
px4dev
1eccfb7ccb
Add link to the BSON spec.
2012-08-22 01:08:43 -07:00
Lorenz Meier
d2e757aa3c
Merged parameter changes
2012-08-22 09:19:43 +02:00
Lorenz Meier
72979032e9
Merge branch 'master' into px4dev_new_param
2012-08-22 08:56:33 +02:00
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.
2012-08-21 23:44:22 -07:00
px4dev
8c22e2a092
Whitespace
2012-08-21 22:30:04 -07:00
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.
2012-08-21 22:05:42 -07:00
px4dev
63831fa908
Fix an issue where the baro ORB topic was advertised from the wrong context and thus could not be published to.
2012-08-21 22:04:38 -07:00
px4dev
a0ae2cb175
Add a set of ORB topics for advertising actuator outputs.
...
This is part of \#7
2012-08-21 20:14:43 -07:00
Lorenz Meier
f3c1a7475d
Improved tuning for current attitude estimation hack, needs to be removed ASAP
2012-08-21 17:42:24 +02:00
px4dev
228fbb975a
New-style driver for the HMC5883 on I2C.
2012-08-21 01:09:03 -07:00
Lorenz Meier
c8645a7e53
Added more params, old read-in code not yet replaced
2012-08-21 09:02:09 +02:00
Lorenz Meier
89f36087da
Fixed and improved error messages for MAVLink param read / write
2012-08-21 08:33:35 +02:00
px4dev
14e60e9b4d
Back out a change that snuck in from another branch.
2012-08-20 21:46:52 -07:00
px4dev
503cb0ea03
Add an ORB topic that can be subscribed for notification of changes in the parameter set.
2012-08-20 21:17:50 -07:00
px4dev
a043702af5
Merge branch 'master' into px4dev_new_param
2012-08-20 18:03:12 -07:00
px4dev
3246568c82
sscanf field widths seem to be broken, don't use them.
2012-08-20 17:59:21 -07:00
Lorenz Meier
d1261e227c
Porting to new param interface, updated mixers
2012-08-20 23:52:13 +02:00
Lorenz Meier
df07ff8056
Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_param
2012-08-20 19:38:40 +02:00
px4dev
4ddf93bd06
Tweak the MAVlink parameter load/save path to deal with NXFFS.
2012-08-20 09:55:53 -07:00
Lorenz Meier
821306bc4d
Allow to disable USB interface (but leave it enabled as default), give uORB more stack space
2012-08-20 17:48:31 +02:00
Lorenz Meier
d17bbc7a0b
Minor fixes to EEPROM params
2012-08-20 17:26:59 +02:00
pixhawk
801697c540
fixed sensors error printing
2012-08-20 16:08:27 +02:00
Lorenz Meier
e3fffa23e0
Merge branch 'master' into px4dev_new_param
2012-08-20 13:16:09 +02:00
Lorenz Meier
78db6c990b
Testing larger stack for sensors app
2012-08-20 13:11:19 +02:00
px4dev
f20c61ccdf
Various BSON codec fixes. Simple load/save test is working now.
2012-08-20 04:06:44 -07:00
Lorenz Meier
aaf2a23f18
Reduced optimistic send rates, better mag scaling
2012-08-20 12:38:45 +02:00
Lorenz Meier
0d28187960
Fixed attitude mag scaling
2012-08-20 11:36:44 +02:00
Lorenz Meier
767f253976
Fixed attitude rate limiting
2012-08-20 11:15:44 +02:00
px4dev
56bba7816f
Merge branch 'px4dev_new_param' of https://github.com/PX4/Firmware into px4dev_new_param
2012-08-20 01:53:37 -07:00
px4dev
cc7a9c9b66
Update for the new BSON coders. Not working right yet.
2012-08-20 01:52:39 -07:00
px4dev
26c2c2d2cf
Goodbye to the Mongo BSON codec; too big. Hello to a really small SAX-style decoder and matching encoder.
2012-08-20 01:52:21 -07:00
px4dev
a9dd3564ed
Don't delete the parameter file on failed load.
2012-08-20 01:51:18 -07:00
Lorenz Meier
41172f24d5
Moved parameter command handling to mavlink app
2012-08-20 09:32:42 +02:00
Lorenz Meier
2c8fafd12a
Reworked MAVLink parameter interface to support new parameter storage, tested.
2012-08-20 09:07:33 +02:00
Lorenz Meier
4a7f92fad0
Merge branch 'px4dev_new_param' of github.com:PX4/Firmware into px4dev_new_param
2012-08-20 07:51:07 +02:00
Lorenz Meier
fd04ab0d44
Fixed / extended comments
2012-08-20 07:50:56 +02:00
px4dev
532b61c5a2
Tweak the test to work with the changed parameter export path
2012-08-19 22:16:10 -07:00
px4dev
b0d13c9556
wrapper commands for saving and loading parameters
2012-08-19 22:15:51 -07:00
px4dev
f8efb60b59
Major cleanup of the param code; more layering, more comments. Parameter import.
2012-08-19 22:15:29 -07:00
Lorenz Meier
d07a63c169
Fixed compile errors and warnings in param test
2012-08-19 19:33:01 +02:00
Lorenz Meier
e28af802ce
Merge branch 'master' into px4dev_new_param
2012-08-19 17:08:48 +02:00
Lorenz Meier
9b239bc001
fixed typo, removed deamon example from default build
2012-08-19 16:43:51 +02:00
Lorenz Meier
86ed36579a
Updated ROMFS scrips, created new ardrone_interface to jointly use multirotor_att_control on all multirotors, including AR.Drone frames
2012-08-19 16:32:54 +02:00
Lorenz Meier
dae0b922f1
Added deamon example, reworked / merged multirotor attitude control. Ready for AR.Drone interface changes and integration tests
2012-08-19 15:52:59 +02:00
Lorenz Meier
85bc4f683a
Cleaned up position control (WIP), moved PID structs (should become classes) to systemlib, added deamon app example
2012-08-19 11:29:07 +02:00
px4dev
d903311dce
Add support for setting and exporting parameters.
2012-08-19 01:31:27 -07:00
px4dev
a9dc84231e
Import of the Mongo C-BSON library with light modifications for PX4.
...
From https://github.com/mongodb/mongo-c-driver.git at 8ae2c57e95a3939850a77fb9329c129b2bcfcd1a
2012-08-19 01:31:27 -07:00
px4dev
2c85075221
Import of Troy Hanson's uthash package, v1.9.6
2012-08-19 01:31:27 -07:00
px4dev
a86974e3e3
Hand over control of the onboard EEPROM to the NuttX I2C EEPROM driver and NXFFS.
2012-08-19 01:31:27 -07:00
px4dev
d91f5f3dd7
The beginnings of a new parameter system.
2012-08-19 01:31:26 -07:00
Lorenz Meier
2a5fcd9174
Fixed incorrect scaling of acceleration values
2012-08-19 09:35:58 +02:00
Lorenz Meier
dcf71d5f69
Merge branch 'master' of github.com:PX4/Firmware
2012-08-19 08:38:14 +02:00
Lorenz Meier
23ae096911
Added simple, but complete code example
2012-08-19 08:38:01 +02:00
px4dev
8477754411
Share the PX4IO protocol header, such as it is, between the two apps.
...
Stop using systemlib in the PX4IO firmware; it has expectations that can't reasonably be met.
2012-08-18 22:56:04 -07:00
px4dev
fcad5b52c5
Teach err.c how to live without standard I/O
2012-08-18 22:24:58 -07:00
Lorenz Meier
9a56be6907
Changed mavlink and sensors apps to deamons, now started with mavlink start and sensors start.
2012-08-19 01:26:42 +02:00
Lorenz Meier
7874bbd37f
Updated tests suite properly to MPU-6000 driver, should pass now
2012-08-18 23:01:17 +02:00
Lorenz Meier
a4b2710928
Merge branch 'master' of github.com:PX4/Firmware
2012-08-18 22:40:12 +02:00
Lorenz Meier
d48f7ea9f2
Fixed sensors test
2012-08-18 22:39:57 +02:00
px4dev
99d5ec78a1
Add <err.h> modeled on the BSD functions of the same name; this will let us clean up a lot of output from various shell tools.
2012-08-18 12:57:52 -07:00
Lorenz Meier
dc484c1d21
State machine cleanup, introduced variable rates for MAVLink depending on the baud rate
2012-08-18 16:48:43 +02:00
Lorenz Meier
5aa91b6f17
Updated MPU test to new driver model
2012-08-18 12:29:04 +02:00
Lorenz Meier
c6eff9eb8b
Removed outdated sensors bringup app
2012-08-18 09:34:49 +02:00
Lorenz Meier
8a8b6b7165
Fixed PI wrapping code, debugging more sensor code, possible misalignment of mag and acc frames in filter
2012-08-17 18:38:52 +02:00
Lorenz Meier
bce043a21b
Fixed mag axis assignment, fixed mag calibration
2012-08-17 17:37:58 +02:00
Lorenz Meier
73286f3262
Minor tweaks and command parsing debugging
2012-08-16 20:57:38 +02:00
Lorenz Meier
8575d8cd49
Fixed arming bug
2012-08-16 17:20:41 +02:00
Lorenz Meier
18e71843be
Increased attitude estimator bm stack
2012-08-16 16:57:44 +02:00
Lorenz Meier
46c4b987cc
Various fixes for params interface
2012-08-16 15:49:56 +02:00
Lorenz Meier
e95662f505
mag cal, scaling of throttle
2012-08-16 13:33:16 +02:00
Lorenz Meier
b30e443f28
Updated start script, checking commander mishaps
2012-08-16 13:09:35 +02:00
Lorenz Meier
1530aeccae
Working towards full sensor flexibility
2012-08-16 11:21:59 +02:00
px4dev
e84d0f41fa
fix a fatal one-character typo in the multirotor output scaling logic
2012-08-16 00:10:58 -07:00
px4dev
5198a9daf7
New multirotor mixer; builds, not yet tested.
2012-08-15 00:46:15 -07:00
px4dev
74980af6c9
Merge branch 'NuttX/master' from git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5027 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-14 09:07:59 -07:00
px4dev
34118c72ef
mechanical style fixups
2012-08-14 08:47:04 -07:00
patacongo
3cc812dbad
Fixes to apps/*/Make.defs files needed for auto-configuration build
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5027 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-14 15:45:53 +00:00
Lorenz Meier
92a1fab0fd
Integrated optical flow
2012-08-14 11:40:08 +02:00
Lorenz Meier
ebbdbac97b
Merge branch 'master' of github.com:PX4/Firmware
2012-08-14 09:08:52 +02:00
Lorenz Meier
ab8d1b3b3b
Reworked ardrone / multirotor control
2012-08-14 09:08:31 +02:00
px4dev
735f8ffa3d
Config tweaks to enable the new-style ms5611 driver.
2012-08-14 00:07:19 -07:00
px4dev
35c4a21ca1
Simplify an error message to avoid a bad pointer deref.
2012-08-13 23:52:32 -07:00
px4dev
f1f843099b
Nuke a dead file.
2012-08-13 23:51:46 -07:00
px4dev
3c5bb3f57c
New-style driver for the MPU6000.
2012-08-13 23:51:24 -07:00
px4dev
edfdb8f47e
force 8-bit SPI transactions for device::SPI drivers.
2012-08-13 23:50:55 -07:00
Lorenz Meier
1d029b01fe
First initial revision of ACC driver and gyro
2012-08-13 22:10:03 +02:00
Lorenz Meier
6fb3bbb5da
Merge branch 'master' of github.com:PX4/Firmware
2012-08-13 21:09:17 +02:00
Lorenz Meier
d92cdc7cfa
Improved float tests
2012-08-13 21:09:08 +02:00
Lorenz Meier
9014577aff
Massive improvements in state machine, still tracing wrong throttle scaling in manual input path
2012-08-13 18:53:37 +02:00
patacongo
2b184e2630
drivers/serial/serial.c open, read, write, and poll methods will not return a short transfer or an EINTR error if a signal is received while waiting (only)
...
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5022 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-12 17:37:04 +00:00
Lorenz Meier
43019ba618
Further cleanups, added sanity check against system state machine
2012-08-12 01:44:21 +02:00
Lorenz Meier
5adb691f89
Streamlined ar drone interface, removed a lot of old cruft, preparing for generic multirotor control
2012-08-12 01:25:41 +02:00
Lorenz Meier
22c1a03af7
Merge branch 'master' of github.com:PX4/Firmware
2012-08-11 21:19:27 +02:00
px4dev
24688ae7f9
Merge branch 'NuttX/master'
2012-08-11 12:03:04 -07:00