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