Commit Graph

88 Commits

Author SHA1 Message Date
Lorenz Meier
cccd3e1dc4 mavlink app: Reduce stack sizes minimally after further inspection 2014-05-16 10:47:18 +02:00
Lorenz Meier
ba51ab2545 Merge branch 'ekf_params' of github.com:PX4/Firmware 2014-05-15 13:14:25 +02:00
Lorenz Meier
8d9c6fe4d7 mavlink app: Fix use of message buffer 2014-05-15 07:25:23 +02:00
Lorenz Meier
8dc0a21a7e mavlink, commander: Get back close to original stack sizes. Although tests came clean, we do not want to take any chances 2014-05-15 07:14:58 +02:00
Lorenz Meier
7655f3e425 Reduce mavlink stack size slightly 2014-05-14 19:34:55 +02:00
Lorenz Meier
51e5a73a7e mavlink: Removed static buffers where no static buffers where necessary 2014-05-12 22:10:52 +02:00
Lorenz Meier
6a6feaf96c Merged master 2014-05-07 14:14:31 +02:00
Lorenz Meier
2d38d113e1 Fix MAVLink to use info warn level for text messages 2014-05-07 14:12:48 +02:00
Lorenz Meier
22d3bcdab6 Merged mpc_rc into ekf_params 2014-04-26 15:13:03 +02:00
Thomas Gubler
a2940182ef add parameter to mavlink app to allow parsing of HIL GPS message even if not in HIL mode
Conflicts:
	src/modules/mavlink/mavlink_receiver.cpp
2014-04-23 15:53:48 +02:00
Lorenz Meier
2ecaab98f9 Merge branch 'master' of github.com:PX4/Firmware into ekf_params 2014-04-22 09:58:07 +02:00
Lorenz Meier
815e221c1f mavlink: Start the same in HIL mode as in normal mode. Requires all HIL tools to run sh /etc/init.d/rc.usb now. Improve UART error handling 2014-04-22 01:23:55 +02:00
Lorenz Meier
906abbcbb6 mavlink: Only write to TX buf if space is available. This is working around a NuttX issue where overflowing the TX buf leads to being unable to send any further data 2014-04-20 21:04:05 +02:00
Lorenz Meier
2ea32b315f Merged master 2014-04-20 02:04:05 +02:00
Julian Oes
a4b10bab30 navigator: wrong mission topic was copied, clearer naming of offboard mission now 2014-04-18 11:15:40 +02:00
Lorenz Meier
f846690395 Added rangefinder message to MAVLink app 2014-04-13 23:30:09 +02:00
Helen Oleynikova
e5105f6d91 Whtespace. 2014-04-10 10:35:30 +02:00
Helen Oleynikova
dd88e319ee Reverted logging. 2014-04-10 10:33:10 +02:00
Helen Oleynikova
e6542653b9 Finished adding a '-w' option. 2014-04-10 10:26:15 +02:00
Anton Babushkin
09093b17da mavlink: commands stream implemented 2014-04-08 23:28:52 +04:00
Julian Oes
fc2bfb828f Merge remote-tracking branch 'px4/master' into mavlink_broadcast 2014-04-07 21:45:45 +02:00
Julian Oes
bb3792bcdd mavlink: use LL_FOREACH 2014-04-07 21:42:48 +02:00
Thomas Gubler
536ff50fe1 mavlink: in normal mode transmit position setpoint and roll-pitch-yaw-thrust setpoint 2014-04-07 14:46:26 +02:00
Julian Oes
f17c0b1335 mavlink: implemented multicasting between mavlink instances (two options: forwarding: forward received messages from self to other mavlink instances, passing: send out messages received from other mavlink intances over serial 2014-04-03 21:15:47 +02:00
Lorenz Meier
69bc0c8e39 Reduced param rate - as long as we do not have proper QoS (= reducing all rates at once if link becomes lossy) we need to open-loop match the link 2014-03-21 18:12:02 +01:00
Anton Babushkin
1c49d768fb mavlink: code style fixed 2014-03-21 20:06:34 +04:00
Julian Oes
3d47ba14f3 Merge remote-tracking branch 'px4/beta_mavlink2' into beta_mavlink2_camera
Conflicts:
	src/modules/mavlink/mavlink_messages.cpp
2014-03-21 11:19:26 +01:00
Lorenz Meier
2988136e7e Implemented last missing messages, added stream config for USB, made stream config fails for non-existing mavlink links non-fatal 2014-03-21 10:44:31 +01:00
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
Julian Oes
bf69a7b647 mavlink: camera mode rate is now correct 2014-03-20 14:26:45 +01:00
Julian Oes
a989dd6eec mavlink: correct verbose info, bytes not bits 2014-03-20 14:23:23 +01:00
Julian Oes
952fd1ec6c mavlink: camera mode with rate multiplier 2014-03-20 11:38:41 +01:00
Julian Oes
8fe3475b41 mavlink: add onboard function for camera capture commands 2014-03-17 20:12:12 +01:00
Lorenz Meier
2db7d30400 Do not work on USB UARTs 2014-03-16 19:43:09 +01:00
Anton Babushkin
82389e9702 Merge branch 'beta_mavlink2' into mavlink2_hil 2014-03-16 11:08:54 +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
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
9e41f6af18 mavlink: memory leaks on exit fixed, minor fixes 2014-03-11 19:28:48 +04:00
Anton Babushkin
35b8d00e17 mavlink: task_main noreturn attribute removed 2014-03-11 16:20:37 +04:00
Anton Babushkin
0ad38a7323 mavlink: task stop fixes, WIP 2014-03-11 15:34:27 +04:00
Anton Babushkin
b3839afbbc mavlink: channel ID allocation fixed 2014-03-11 11:12:39 +04:00