Commit Graph

613 Commits

Author SHA1 Message Date
Lorenz Meier 3239ba1570 Merge pull request #1360 from DonLakeFlyer/UnitTestFramework
Upgraded unit test framework
2014-10-05 12:33:21 +02:00
Lorenz Meier 7bde4fa634 Revert "Use global position altitude to report HUD altitude, for consistency." 2014-10-04 12:31:16 +02:00
tstellanova 5846f217d0 Use global position altitude to report HUD altitude, for consistency.
Otherwise the HUD altitude jumps between two very different values.
2014-10-03 17:18:44 -07:00
Thomas Gubler 3efffb68e7 Merge remote-tracking branch 'upstream/master' into HEAD
Conflicts:
	src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
	src/modules/navigator/geofence.cpp
	src/modules/navigator/mission.cpp
2014-09-28 12:36:26 +02:00
Vladimir Ermakov 006717734c FTP: Add skip entry information for proper offset calculation. 2014-09-15 21:29:19 +04:00
Don Gagne deda5d0a04 Upgraded unit test framework 2014-09-13 19:59:44 -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
Vladimir Ermakov 0e3c6060b6 FTP: remove padding zeroing. 2014-09-10 21:36:08 +04:00
Vladimir Ermakov ed66097ebc FTP: Update unit test for new header size.
_list_test failed.
2014-09-10 11:54:42 +04:00
Vladimir Ermakov 745707d193 FTP: remove reserved uint32 from header. 2014-09-10 11:22:03 +04:00
Vladimir Ermakov 0d2e250d11 FTP: Remove CRC32 from protocol.
Extra crc not needed because mavlink already has crc16.
2014-09-09 17:36:41 +04:00
Vladimir Ermakov e7ae13a58e FTP: Make responses start from opcode 128. 2014-09-09 17:17:11 +04:00
Vladimir Ermakov 564c9b7b60 FTP: Add req_opcode field for return request opcode in response message. 2014-09-09 17:02:25 +04:00
Lorenz Meier 1a89b80024 Merge pull request #1345 from DonLakeFlyer/FTP
More FTP work
2014-09-06 15:02:41 +02:00
Thomas Gubler 7dfc67d032 fix mission item to mavink waypoint conversion 2014-09-03 17:52:24 +02:00
Thomas Gubler 3d01da35d0 write sysid & compid to telemetry status 2014-09-03 10:34:27 +02: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 6f0160bb5d New mavlink_ftp unit test 2014-09-02 15:32:50 -07:00
Thomas Gubler 49f1637d7f comment and whitespace 2014-09-02 23:32:24 +02:00
Thomas Gubler 752b89b998 parse hil_optical_flow message
publish to flow and range finder topic
2014-09-02 23:29:54 +02:00
Lorenz Meier 2c724685d8 Merge pull request #1332 from PX4/FTP
Modified to use new FILE_TRANSFER_PROTOCOL message
2014-08-28 09:28:42 +02: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
Lorenz Meier b928897ab5 mavlink: code style only fix 2014-08-27 07:58:36 +02:00
Julian Oes d0f5eca5be px4flow: removed flow report in driver, just use uORB topic 2014-08-25 13:13:07 +02:00
Julian Oes b150c3092c mavlink_main: raise rates of onboard mode 2014-08-25 09:33:39 +02:00
Thomas Gubler 3a029926b4 vfr_hud mavlink msg: use baro alt
The vfr_hud message demands the AMSL altitude and not the wgs84
altitude. Use the baro altitude for now. This can be changed to an
output of the position estimator later.
2014-08-23 22:36:40 +02:00
Lorenz Meier aa8fcceea2 Merge pull request #1297 from PX4/mission_fix
mavlink: missions manager compID cleanup
2014-08-21 14:40:34 +02:00
Lorenz Meier 9c75b9562e Be more permissive with mission component IDs, renamed camera to onboard link but still accepting same commandline syntax 2014-08-21 14:39:17 +02:00
Anton Babushkin 3cbfe989c7 mavlink: missions manager compID cleanup, use the common compID, stict compID checks for incoming messages 2014-08-20 21:54:38 +02:00
Lorenz Meier 0d87dc9923 mavlink: Handle command int packets 2014-08-18 16:50:13 +02:00
Lorenz Meier c3522f8592 Publish telemetry status on telemetry update and on heartbeat update events to avoid inducing heartbeat update latencies resulting in spurious telemetry link dropped detections. Makes overall state handling simpler 2014-08-17 10:58:28 +02:00
Lorenz Meier dd0916bd7d code style fix for mavlink app 2014-08-17 10:31:56 +02:00
sjwilks e9b0ee7501 Merge pull request #1273 from PX4/rc_fix
Fixed copy & paste error on RC output
2014-08-14 12:38:08 +02:00
Lorenz Meier e03c4d4b65 Fixed copy & paste error on RC output 2014-08-14 12:34:47 +02:00
Anton Babushkin 73b4c6eba1 mavlink: stream names updated in configuration 2014-08-13 20:09:57 +02:00
Anton Babushkin 54a6e66ada mavlink: in HIL_CONTROLS send 0 for disabled channels 2014-08-13 19:46:35 +02:00
Lorenz Meier 3f63b67eb6 Merged master into vision_estimate 2014-08-13 09:08:16 +02: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
Lorenz Meier 5abdacc907 Merge pull request #1265 from PX4/FTP
More FTP support
2014-08-10 23:46:14 +02: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
Lorenz Meier 9ecec7fada Add default initializers and timestamp in local position 2014-08-10 01:30:25 +02:00
Lorenz Meier 5225d87854 Updated MAVLink to latest revision 2014-08-10 01:24:04 +02:00
Anton Babushkin 7f293be7d7 mavlink, rc.usb: increase HIL_CONTROLS rate and datarate on USB to allow HIL simulation @ 200Hz 2014-07-31 17:30:00 +02:00
Lorenz Meier 93a822fee4 Merged master 2014-07-31 11:37:32 +02:00
Lorenz Meier 2b71067618 Code style fixes 2014-07-31 11:28:17 +02:00