Don Gagne
91d4e129f4
Change to normal cal message
...
This way QGC can respond to it and show good ui
2016-04-10 10:58:37 -07:00
Don Gagne
07775f7629
Add initial version stamps to meta data
2016-03-05 20:33:16 +01:00
Don Gagne
29af484685
Add firmware type to .px4
2016-03-05 20:33:16 +01:00
Don Gagne
51e9f686e3
Fix MAV_FRAME_MISSION usage
2015-10-12 15:06:20 -07:00
Don Gagne
55ce4d7b91
Check for duplicates
2015-07-22 09:59:23 -07:00
Don Gagne
93455b92e4
Fix duplicate param definition
2015-07-22 09:59:02 -07:00
Don Gagne
f820e733cc
Meta data fixes
2015-07-22 09:01:44 -07:00
Don Gagne
ad7612220d
Validate meta data
2015-07-22 09:01:31 -07:00
Don Gagne
e1c050df09
Generic AETR and AERT airframes
...
Bixler converted to generic AERT
2015-07-03 00:25:24 +02:00
Don Gagne
51c515a14f
Generic AETR and AERT airframes
...
Bixler converted to generic AERT
2015-07-02 14:46:37 -07:00
Don Gagne
338404b4b3
Change mag cal to 6 orientations
2015-06-25 14:44:24 +02:00
Don Gagne
77bd36aa33
Fix opendir failure handling
2015-05-24 20:11:00 +02:00
Don Gagne
4206b030bf
Fix opendir failure handling
2015-05-24 10:40:52 -07:00
Don Gagne
7f5a5e085c
Add "calibrate esc" command
2015-05-22 22:27:43 +02:00
Don Gagne
fe357a9a66
Separate timeouts for battery and high pwm
2015-05-22 11:24:07 -07:00
Don Gagne
25e7a1a49e
ESC calibration re-work
...
- Uses standard QGC cal mavlink messaging
- Timeout if no battery connect
- Better error handling and cleanup
2015-05-22 09:29:59 -07:00
Don Gagne
a6af1fc0fa
Add "calibrate esc" command
2015-05-22 09:28:52 -07:00
Don Gagne
46da294ffb
New bust mode ftp file download
2015-05-03 19:26:54 -07:00
Don Gagne
a7f88d97b8
Sensor cal rework
...
- cancel support
- versioned cal messages
- better still detection
- better messaging
2015-04-26 14:34:19 +02:00
Don Gagne
a885c2c8c9
Parameter meta data is not typed to board
2015-04-21 12:32:15 -07:00
Don Gagne
08123df83a
Remove PX4_PARAM_DEFINE_* usage to get better meta data
2015-04-21 12:32:01 -07:00
Don Gagne
638be07c2c
Use new @board attribute for ifdef's
2015-04-21 12:31:30 -07:00
Don Gagne
6bf0a2618b
Add support for board attribute to parse output
...
This allows for writing parameter meta data which is specific to a
board type
2015-04-21 12:31:08 -07:00
Don Gagne
9ac350a7d1
Added ability for board specific meta data generation
...
Use new @board meta data attribute for board specific ifdef support
2015-04-18 11:14:12 +02:00
Don Gagne
3a70e7bf1b
Remove newline so meta data parser can parse
2015-04-18 11:14:12 +02:00
Don Gagne
750b02b4e5
Use new @board attribute for ifdef support
2015-04-18 11:13:04 +02:00
Don Gagne
5fe7f76691
Removed usage of PX4_PARAM_DEFINE_* macros
...
This way the meta data parser can pick up default values. There was no
usage of the default value defines in any of the code.
2015-04-18 11:13:04 +02:00
Don Gagne
202cfd21d0
Change to V2 spec of param meta data
...
Had to switch to ElementTree to get attribute support
2015-04-16 10:21:18 -07:00
Don Gagne
2fa0c333cb
Add version number to parameter meta data
2015-04-15 14:53:06 -07:00
Don Gagne
05c351183f
Parameter meta data fixes
2015-04-15 11:29:37 -07:00
Don Gagne
3dc8cf8769
Clean up parameter meta data as needed by QGC
2015-04-14 23:26:14 -07:00
Don Gagne
c8452bb9d6
Store parameter xml size
...
This is needed in order to decompress in QGroundControl
2015-04-14 19:17:30 -07:00
Don Gagne
bb6b30f57a
Report alternate side done
2015-04-03 19:51:58 -07:00
Don Gagne
48e88ec551
Set CAL_MAG_ID correctly
2015-03-28 13:09:07 -07:00
Don Gagne
d88916d20e
New mag cal changes
...
- Use new calibrate_from_orientation worker routine to detect
orientaions
- Calibrate all mags at once
- Change to 3-side calibration mechanism
2015-03-28 13:09:07 -07:00
Don Gagne
716fb561aa
Include sensor number
2015-03-28 13:09:07 -07:00
Don Gagne
9d61e3a7db
Use new calibrate_from_orientation api
2015-03-28 13:09:07 -07:00
Don Gagne
fdc053e883
Add sensor number to messages
2015-03-28 13:09:07 -07:00
Don Gagne
eff3d9d713
New worker routines for orientation detection
2015-03-28 13:09:07 -07:00
Don Gagne
07853fbb58
Fixed warnx messages to show correct sensor #
2015-03-28 13:09:07 -07:00
Don Gagne
dfd6be78bf
Add RC_CHAN_CNT, RC_TH_USER
...
These are used by ground station software
2015-03-03 09:22:01 -08:00
Don Gagne
f3f7f08e0d
Parameter xml metadata in .px4
2014-11-18 17:20:50 -08:00
Don Gagne
852fa61173
Correct setting of DSM and ST24 flags
2014-11-16 14:12:58 -08:00
Don Gagne
d907b030ee
Initialize RSSI so it doesn't remain uninitialized
...
Spektrum doesn’t support rssi so it is not set by st24_decode.
2014-11-05 13:15:52 -08:00
Don Gagne
db0b892c23
Fix 8+ channel binding
2014-10-12 11:38:34 -07:00
Don Gagne
d8e0a22cbc
Merge pull request #1362 from vooon/ftp_list_fix
...
FTP: Add skip entry information for proper offset calculation.
2014-09-15 18:16:52 -07:00
Don Gagne
deda5d0a04
Upgraded unit test framework
2014-09-13 19:59:44 -07:00
Don Gagne
2136722237
Merge pull request #1358 from DonLakeFlyer/FTP
...
Fix mavlink unit test
2014-09-13 10:05:07 -07:00
Don Gagne
46a9f616eb
Fix List command test
...
Return order from List command is not repeatable
2014-09-12 10:54:23 -07:00
Don Gagne
dbefa77943
Update for not getting back "." entries
2014-09-10 13:12:04 -07:00
Don Gagne
981741f8ce
Don't send back U or ./.. entries from List command
2014-09-10 13:11:36 -07:00
Don Gagne
e4f3fd88f0
Merge pull request #1357 from vooon/ftp_opcode
...
FTP request opcode
2014-09-10 12:28:42 -07:00
Don Gagne
828fb5efd1
Additional FTP command support plus unit test
...
- Restructured to a flatter class implementation
- Added support for create/remove directory, remove file
- Refactored error codes and command opcodes
- Added unit test support
- Fixed bugs found by unit test
2014-09-02 15:36:32 -07:00
Don Gagne
37ea85968d
Tweak for mavlink_ftp api change
2014-09-02 15:34:20 -07:00
Don Gagne
e7165d6cbf
Generator for mavlink_ftp test files
2014-09-02 15:34:02 -07:00
Don Gagne
1969c9ccf6
Improved unit test framework
...
- Added init/cleanup calls before after test
- Added ut_compare macro with better failure reporting
2014-09-02 15:33:43 -07:00
Don Gagne
6f0160bb5d
New mavlink_ftp unit test
2014-09-02 15:32:50 -07:00
Don Gagne
81275e624e
Added mavlink_ftp unit test
2014-09-02 15:32:33 -07:00
Don Gagne
7db57310d5
New mavlink_ftp unit test data
2014-09-02 15:32:16 -07:00
Don Gagne
fce0a3b728
Gave up on using bitfields
2014-08-27 21:39:55 -07:00
Don Gagne
0eea110f6f
Modified to use new FILE_TRANSFER_PROTOCOL message
...
- Also corrected system/component id transmit/check
2014-08-27 17:14:49 -07:00
Don Gagne
c8ecf59ab7
List command bug fix, easier debugging
...
- List command was generating bad data size because it was adding
directory entry char to buffer before testing buffer overflow.
- Added MAVLINK_FTP_DEBUG define to easily turn on/off noisier
debugging output
2014-08-12 14:23:26 -07:00
Don Gagne
1d3edfa629
More FTP support
...
Added:
- sequence numbers
- directory list returns file sizes
- open command returns file size in data
2014-08-10 12:02:10 -07:00
Don Gagne
cfe5c45e04
Fix broken arming unit test
...
Also, update arming_state_transition calls to add new fRunPreArmChecks
flag.
2014-08-04 09:42:16 -07:00
Don Gagne
014fd5f47b
Add fRunPreArmChecks flag
...
This is to allow unit tests to be written which do not perform pre-arm
checks
2014-08-04 09:41:29 -07:00
Don Gagne
6fbeaeaace
Update arming_state_transition calls
...
Add new fRunPreArmChecks flag
2014-08-04 09:40:38 -07:00
Don Gagne
6f12928389
Fix mainStateTransitionTest
2014-07-07 20:00:44 -07:00
Don Gagne
680ebf29c3
Fix compiler warnings
2014-07-07 15:11:46 -07:00
Don Gagne
f5c14ff140
Turn off noisier logging
2014-07-07 10:17:39 -07:00
Don Gagne
2a79689224
Fix unused variable warnings
2014-07-06 16:51:06 -07:00
Don Gagne
b8ba6400f2
More logging
2014-07-06 16:04:30 -07:00
Don Gagne
91537934c4
Better logging
2014-07-06 14:58:27 -07:00
Don Gagne
278aafe939
Bring everything up to double
2014-07-06 11:06:14 -07:00
Don Gagne
b9299e68d4
Compiler warning fixes
2014-07-05 13:35:12 -07:00
Don Gagne
92adbe9216
Fix compiler warnings
2014-06-29 17:47:24 -07:00
Don Gagne
2448e2adbc
More tab fixes
2014-06-29 13:55:55 -07:00
Don Gagne
f3af2f9f62
Fix tabbing to 8 spaces, keep tab
2014-06-29 13:47:56 -07:00
Don Gagne
33c20e15a2
Backing out sbus changes
2014-06-29 13:35:15 -07:00
Don Gagne
367613a1b5
Fix tabbing
2014-06-29 13:32:58 -07:00
Don Gagne
f0558a97dd
Use same warnx/exit pattern
2014-06-29 12:53:59 -07:00
Don Gagne
d5b5dcef24
Fix bugs found through compiler warnings
2014-06-29 12:01:43 -07:00
Don Gagne
a398d5cbcc
Support for List, Open, Read, Terminate commands
...
Fixed various bugs. Flattened Mavlink::Session class while fixing bugs
in this area.
2014-06-27 20:33:39 -07:00
Don Gagne
c1545bd237
Fix float equality comparison
...
Also restructured incorrect return statement
2014-04-07 18:56:03 -07:00
Don Gagne
f97263f5a0
Added comprehensive arming_state_transition unit test
...
Also converted full to C++ style. Also converted to new unit test code.
2014-03-27 13:07:27 -07:00
Don Gagne
dcc11b8cab
Update to convert to C++ style
2014-03-27 13:06:09 -07:00
Don Gagne
b9a56fbeb9
Fixed bug with transition from in air restore to armed
...
Also added better debug output for invalid transitions
2014-03-27 13:05:51 -07:00
Don Gagne
d5a7e7c52b
Rewrote to provide better feedback
...
Also allows variables as well as static text for assert text in
ut_assert
2014-03-27 13:05:03 -07:00
Don Gagne
521539897e
Simpler state transition code
...
Also fixed ARMING_STATE_ARMED_ERROR->ARMING_STATE_STANDBY_ERROR
transition.
2014-03-26 14:51:57 -07:00
Don Gagne
783a240396
Function naming and remove unneeded sprintf
2014-03-17 11:01:15 -07:00
Don Gagne
4b980b508c
arming_state_transition now outputs error messages
...
If mavlink fd is passed in method will output reason for arming failure
to mavlink.
2014-03-16 21:39:06 -07:00
Don Gagne
dec13e7f21
Use single set of arm/disarm code
...
Set mode and arm/disarm commands now call a single method to arm
disarm, thus removing code duplication. Also calls updated
arming_state_transition method such that the arming state logic does
not need to be duplicated outside of arming_state_transition.
2014-03-16 21:38:23 -07:00