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
px4dev
65aec69705
Syntax change to improve readability; output scalers are now labelled O: instead of looking like control scalers.
...
Make mixer terminology more consistent; mixer inputs are 'controls'.
2012-08-11 11:27:07 -07:00
Lorenz Meier
18c6c620c0
Added manual control abstraction layer, reworked sensors and ardrone_control apps to use it instead of direct RC channels
2012-08-11 19:45:32 +02:00
px4dev
42ace38e31
Don't try to mix if we have no mixer installed.
2012-08-11 10:34:54 -07:00
px4dev
67e0f8b179
Rework the mixer architecture based on discussions about arbitrary geometry mixing and plugins.
...
Now the mixer is a C++ library that can be fairly easily bolted into an output driver to provide mixing services.
Teach the FMU driver how to use it as an example. More testing is still required.
2012-08-10 00:30:40 -07:00
Lorenz Meier
04d280564c
Merge branch 'master' of github.com:PX4/Firmware
2012-08-08 18:48:09 +02:00
Lorenz Meier
7a912a3fe4
Minor but important fixes across system
2012-08-08 18:47:46 +02:00
px4dev
2b6eca225f
build fixes
2012-08-08 00:59:11 -07:00
Lorenz Meier
1a3f78657e
Fine tuning
2012-08-07 23:32:11 +02:00
Lorenz Meier
e9af999dc6
Introduced multirotor control
2012-08-07 23:15:04 +02:00
Lorenz Meier
c519f28b98
minor polishing
2012-08-07 17:31:41 +02:00
Lorenz Meier
962a3464a6
Minor cleanups in WP handling
2012-08-07 17:24:48 +02:00
Ivan Ovinnikov
9536bfa3ca
HIL fixed, fixedwing control fixes
2012-08-07 14:18:09 +02:00
Lorenz Meier
2b09a7914f
Sending back current position setpoints (global and local)
2012-08-07 08:36:20 +02:00
Lorenz Meier
7f2a63eb96
Completed calibration state machine, calibration state now propagating to sensor, scale calibration soon
2012-08-06 23:43:09 +02:00
Lorenz Meier
f88bba0cec
Merge branch 'master' of github.com:PX4/Firmware
2012-08-06 20:20:49 +02:00
px4dev
3860f72665
Sketchy diagnostic commands useful for testing.
2012-08-05 19:46:55 -07:00
px4dev
4f0875ab73
Reject mixer definition lines too short to be valid.
2012-08-05 19:46:27 -07:00
px4dev
59962bc3da
Add a sample mixer definition and documentation.
...
Add support for comments in mixer definitions.
2012-08-05 16:30:28 -07:00