Commit Graph

9109 Commits

Author SHA1 Message Date
Vladimir Ermakov 0fbdb8d326 FTP: Return bytes written in payload. 2014-10-05 13:23:57 +04:00
Vladimir Ermakov 56a9d16fc4 FTP: Save errno in _copy_file(). 2014-10-05 13:19:13 +04:00
Vladimir Ermakov ef5a93c09c FTP: Add file checksum calculation command. 2014-09-22 15:19:38 +04:00
Vladimir Ermakov 8eb3100616 FTP: Rename command.
Payload: `<oldpath>\0<newpath>`
See: man 2 rename
2014-09-22 13:48:43 +04:00
Vladimir Ermakov 407a4e0f06 FTP: fix truncate errors. Also correct errno reporting.
Seems that warnx() everytime changes originak errno to EINVAL.
2014-09-17 20:02:32 +04:00
Vladimir Ermakov f55d20a133 FTP: Add truncate command.
Unfortunately NuttX not provides truncate(),
had to be emulated by copying with O_TRUNC flag.
2014-09-17 18:42:00 +04:00
Vladimir Ermakov 72887e14d9 FTP: Implement write command. 2014-09-17 13:04:21 +04:00
Vladimir Ermakov 60c63f4872 FTP: Add new open command for write.
All open commands now return file size.
2014-09-17 10:07:29 +04: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
Vladimir Ermakov 006717734c FTP: Add skip entry information for proper offset calculation. 2014-09-15 21:29:19 +04: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
sjwilks 852b36661d Merge pull request #1356 from PX4/launchpitchlimit_master
FW: additional upper pitch limit during launch
2014-09-11 09:49:14 +02: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
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 35a6074419 Added readme 2014-09-09 09:12:38 +02:00
Lorenz Meier f4664daa8e Add license file 2014-09-09 09:08:56 +02:00
Thomas Gubler 26e6d7e12e Merge branch 'launchpitchlimit' into launchpitchlimit_master 2014-09-08 13:01:16 +02:00
Thomas Gubler df181455eb launch pitch limit: add mtecs interface 2014-09-08 13:00:26 +02:00
Thomas Gubler b57c73c70c Merge remote-tracking branch 'upstream/master' into launchpitchlimit_master 2014-09-08 12:44:29 +02:00
Thomas Gubler daf1618420 additional upper pitch limit during launch
The pitch limit can be used by the laucnhdetector to limit pitch during
critical phases of a launch. For example this can be used to limit pitch
while attached to a bungee differently from the standard pitch limit.
2014-09-08 12:42:42 +02:00
Thomas Gubler e056fbb703 add heightrate ff for tecs 2014-09-06 15:15:30 +02:00
Lorenz Meier 421b1b5725 Merge branch 'terrainaltfield' of github.com:PX4/Firmware 2014-09-06 15:12:55 +02:00
Lorenz Meier 2e610af77a Merge pull request #1348 from PX4/uavcan_gnss_update
UAVCAN: GNSS fix message update
2014-09-06 15:03:32 +02:00
Lorenz Meier 1a89b80024 Merge pull request #1345 from DonLakeFlyer/FTP
More FTP work
2014-09-06 15:02:41 +02:00
Lorenz Meier 5bf83caeff Merge pull request #1349 from PX4/fohaltitude
FOH mode for altitude (optional, enable with parameter)
2014-09-06 14:57:34 +02:00
Lorenz Meier cb0a11d903 Merge pull request #1354 from PX4/fwintegratorlanded
FW: in seatbelt/althold on ground reset integrators
2014-09-06 10:53:02 +02:00
Thomas Gubler f315be5416 FW: in seatbelt/althold on ground reset integrators 2014-09-06 10:36:51 +02:00
Lorenz Meier e9bfa9fd1c Merge pull request #1352 from PX4/loiteracceptance_master
navigator: loiter mission items: better reached check for FW
2014-09-05 22:37:12 +02:00
Thomas Gubler 81837dcdde update comment 2014-09-05 10:18:25 +02:00
Thomas Gubler 4c7d670793 loiter mission items: better reached check for FW 2014-09-05 10:15:31 +02:00
Thomas Gubler 67422c9896 foh alt mode: never sink below previous wp alt 2014-09-04 11:41:13 +02:00
Lorenz Meier ee2eb98167 Merge pull request #1346 from PX4/mavlinkabsrelalt
fix mission item to mavink waypoint conversion
2014-09-04 00:01:25 +02:00
Thomas Gubler 9cf5e6f7b2 whitespace 2014-09-03 22:08:03 +02:00
Thomas Gubler 5a35d20b7b FOH mode for altitude
This introduces a parameter for the navigator. When enabled the navigator
publishes a first order old (FOH) type altitude setpoint instead of the
default zero order hold. For takeoff and landing the FOH mode is not
active. The FOH altitude is calculated such that the sp reaches the
altitude of the waypoint when the system is at a horizontal distance
equal to the acceptance radius. Also the altitude setpoint will only
converge towards the waypoint altitude but never diverge.
2014-09-03 21:30:56 +02:00
Pavel Kirienko 1d038eed04 UAVCAN: GNSS fix message update 2014-09-03 22:44:16 +04:00
Thomas Gubler 7dfc67d032 fix mission item to mavink waypoint conversion 2014-09-03 17:52:24 +02:00
Lorenz Meier 8c2a158e12 Trust the laser sensor more 2014-09-03 12:15: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 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