Commit Graph

2428 Commits

Author SHA1 Message Date
Lorenz Meier b8afcf5863 Ensure that the mavlink start call only returns once the new instance is fully initialized. This avoids race conditions in getopt() and it ensures that the mavlink debug fd is ready when other processes start 2014-03-21 08:32:54 +01:00
Lorenz Meier 67298d47c1 Merge branch 'beta_mavlink2' of github.com:PX4/Firmware into mavlink2_hil 2014-03-17 15:09:15 +01:00
Lorenz Meier 51658ac857 Compile fix 2014-03-17 14:37:32 +01:00
Lorenz Meier 75ad1c4a13 Completely and properly populate battery status message in HIL 2014-03-17 14:35:07 +01:00
Lorenz Meier 9cdb416d3a Teach RGB led driver to forward unknown IOCTLs 2014-03-17 14:32:36 +01:00
Lorenz Meier 533e3172dc Make PX4IO driver obey HIL as it should 2014-03-17 14:32:27 +01:00
Lorenz Meier dbd467fe1f sensors: Remove effect-less writing of timestamp - was anyway correctly written by gyro update 2014-03-17 13:33:49 +01:00
Lorenz Meier 8cb5a12cc7 Remove now unused hil_counter 2014-03-17 13:33:23 +01:00
Lorenz Meier ffd0d10320 Fix usage of right time stamps 2014-03-17 13:25:22 +01:00
Lorenz Meier 2db7d30400 Do not work on USB UARTs 2014-03-16 19:43:09 +01:00
Lorenz Meier 2fe9f65c45 commander: Fixed compile error and some stupidity in usage of path names 2014-03-16 19:16:18 +01:00
Lorenz Meier 6db2191a71 commander: Skip devices we do not want to touch in HIL 2014-03-16 18:50:20 +01:00
Lorenz Meier c52969639f Merged upstream mavlink2_hil branch 2014-03-16 18:42:07 +01:00
Lorenz Meier 8383603f76 commander: Linting: Reduce scope of variable 2014-03-16 18:41:03 +01:00
Lorenz Meier 772fce9f82 commander: Improve HIL publication blocking call handling 2014-03-16 18:38:55 +01:00
Lorenz Meier bb7962936e CDev: Fixed printf format specifier 2014-03-16 18:37:16 +01:00
Anton Babushkin 8818425e58 commander: fixed message formatting when disabling sensors publishing in HIL mode 2014-03-16 18:25:09 +04:00
Lorenz Meier 85b7670b44 compile fix 2014-03-16 15:15:31 +01:00
Lorenz Meier 15c079921b Fixed missing parent ioctl call 2014-03-16 15:12:03 +01:00
Anton Babushkin 762e8f5289 mavlink_orb_subscription: minor optimization and comment fix 2014-03-16 17:28:34 +04:00
Anton Babushkin df5d702bae mavlink: MavlinkOrbSubscription.update() result fixed 2014-03-16 17:10:56 +04:00
Lorenz Meier 7a4efc81b9 Merge branch 'beta_mavlink2' of github.com:PX4/Firmware into mavlink2_hil 2014-03-16 13:50:50 +01:00
Lorenz Meier 3874bca208 mavlink: Only send messages when we have updates for them. 2014-03-16 13:48:33 +01:00
Lorenz Meier 717e1bd374 Removed stupid sensor counter, replaced it with much more useful timestamps 2014-03-16 13:47:26 +01:00
Anton Babushkin 82389e9702 Merge branch 'beta_mavlink2' into mavlink2_hil 2014-03-16 11:08:54 +04:00
Anton Babushkin 955bd402d2 Merge branch 'master' into beta_mavlink2 2014-03-15 09:47:02 +04:00
Lorenz Meier 3d766575cd Merge pull request #738 from PX4/beta_mavlink2_stream
mavlink stream: do not use getopt as it leads to problems with the global optarg variable
2014-03-14 18:10:27 +01:00
Thomas Gubler 6b79f53338 mavlink stream: do not use getopt as it leads to problems with the global optarg variable 2014-03-14 14:42:35 +01:00
dominiho 11f12b4dfe added i2c px4flow driver 2014-03-13 15:43:52 +01:00
Lorenz Meier b9e8690c61 Merge pull request #703 from PX4/act_group_hotfix
Actuator group hotfix
2014-03-12 21:56:07 +01:00
Lorenz Meier 82e2619f1f Merge pull request #721 from PX4/laser_rangefinder
Laser rangefinder
2014-03-12 21:54:34 +01:00
Anton Babushkin bbe9873f97 Merge branch 'master' into gpio_led_fmuv2 2014-03-13 00:29:14 +04:00
Anton Babushkin bc36b540a5 gpio_led: code style fixed 2014-03-13 00:25:00 +04:00
Anton Babushkin 6f55077541 gpio_led: bugs fixed 2014-03-13 00:24:28 +04:00
Lorenz Meier 4840d5fbcb merged master 2014-03-12 20:42:34 +01:00
Lorenz Meier 89e6b3f606 Merge branch 'master' of github.com:PX4/Firmware into laser_rangefinder 2014-03-12 20:38:39 +01:00
Lorenz Meier caef8d115c Merge branch 'master' of github.com:PX4/Firmware into gpio_led_fmuv2 2014-03-12 20:35:20 +01:00
Lorenz Meier db04e00060 Merge pull request #712 from PX4/fetch_log
Log fetcher utility
2014-03-12 20:32:58 +01:00
Lorenz Meier 0cce688010 Merge pull request #711 from PX4/sdlog2_opt
sdlog2 optimization
2014-03-12 20:30:00 +01:00
Anton Babushkin 5d34e124fe Merge branch 'master' into gpio_led_fmuv2 2014-03-12 22:42:36 +04:00
Lorenz Meier 45a18587fc Fine tuning for flow control disable to stop firing after change is effective 2014-03-12 17:53:25 +01:00
Lorenz Meier 7604518db4 Fixed HW flow control enable / disable scheme, console output cleanup on start 2014-03-12 10:29:39 +01:00
Lorenz Meier 069cba6338 Merge branch 'beta_mavlink2' into beta_mavlink2_flow_control 2014-03-12 10:02:22 +01:00
Lorenz Meier 2d2ecbad00 Fixed more wrong usages of encoding channel 2014-03-12 09:56:26 +01:00
Lorenz Meier 76af0970f5 Increased param rate, fixed wrong usage of MAVLink chan. 2014-03-12 09:46:02 +01:00
Lorenz Meier 023c7069c4 Fix FIONWRITE usage 2014-03-12 09:36:12 +01:00
Lorenz Meier f66b0ad8ac Added hardware flow control to mavlink app. Auto-disables if nothing can be written to the port 2014-03-12 09:04:30 +01:00
Lorenz Meier a37e539647 Correctly initialize mission count 2014-03-11 22:26:12 +01:00
Anton Babushkin 1fd7b89d3c mavlink: use "normal" mode for HIL operation, only add HIL_CONTROLS stream when HIL enabled 2014-03-11 23:03:49 +04:00
Anton Babushkin 0bcda7f8a6 Merge branch 'master' into beta_mavlink2 2014-03-11 19:31:20 +04:00