Commit Graph

298 Commits

Author SHA1 Message Date
Lorenz Meier
b1b555ceb6 MAVLink app: Increase max data rate 2015-07-09 00:50:00 +02:00
Lorenz Meier
30ac7a59c8 Merge pull request #2207 from mhkabir/cam_trig_new
Camera trigger WIP
2015-07-04 18:38:05 +02:00
Lorenz Meier
50ba1f7365 merged release_v1.0.0 into master 2015-06-30 15:30:45 +02:00
Lorenz Meier
3ef6212155 MAVLink app: Less verbose during radio config 2015-06-30 15:26:05 +02:00
Lorenz Meier
963972721d MAVLink app: Support rudimentary radio config. 2015-06-30 13:21:09 +02:00
tumbili
51c8f64e98 improve mavlink verbosity 2015-06-23 23:48:03 +02:00
tumbili
80f1c517cc init VDev for mavlink log device 2015-06-22 09:43:12 +02:00
tumbili
655617f958 mavlink:
- implement get_free_tx_buf() for UDP and TCP
- gefine get_uart_fd for all platforms
2015-06-19 18:39:05 +02:00
Roman
75c1588241 only send autopilot capabilities blindly for serial connection 2015-06-15 18:03:05 +02:00
Mohammed Kabir
95a8e29cfe camera trigger : mavlink stream 2015-06-14 17:41:54 +05:30
Lorenz Meier
1522255c29 MAVLink app: Fix argument handling to work on all operating systems 2015-06-13 06:53:02 -07:00
Lorenz Meier
c9fefe236b Merged release into master 2015-06-13 11:06:01 +02:00
Lorenz Meier
94313323aa MAVLink app: Fix sending of autopilot capabilities 2015-06-12 13:53:20 +02:00
Lorenz Meier
085a69383a Merged master 2015-06-12 13:40:47 +02:00
David Sidrane
28d3729acd Backport of Fixes mavlink_if0: invalid data rate '(null)' bug 2015-06-11 15:43:28 -10:00
Mark Charlebois
13dd993e01 Nuttx: mavlink fixes
Needed to ifdef SITL functionality not supoprted in NuttX build.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-09 16:32:22 -07:00
tumbili
ac053e15da clean up mavlink network capability 2015-06-09 20:14:42 +02:00
Mark Charlebois
59ad47003a mavlink: simplified UDP suport by adding new -u option
Use:

    mavlink start -u portnum

to set the UDP port.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-08 22:21:59 -07:00
Mark Charlebois
aded2d3c03 Enable passing udp port to mavlink module via start args.
Usage is: -d udp[:<port>] If no port is specified, default port is
set to 14556. If -d isn’t specified then default is serial.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-08 22:21:59 -07:00
Mark Charlebois
5cf1140944 Add raw mode for UART to mavink_main.cpp
Raw mode is not the default mode in Ubuntu 14.04.

Disable echo and special character processing.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-08 22:21:59 -07:00
tumbili
9da40a69cc mavlink: do not send autopilot capabilities to avoid crash 2015-06-08 22:21:59 -07:00
tumbili
a77f637bc4 mavlink udp:
- added option to stream messages over udp
- still hardcoded stuff (port)
2015-06-08 22:21:58 -07:00
Lorenz Meier
c798b1165a MAVLink app: Complete OSD config 2015-06-08 11:25:44 +02:00
Lorenz Meier
6309aa612b MAVLink app: Introduce OSD mode 2015-06-08 11:25:44 +02:00
Lorenz Meier
4565f57468 Merged release_v1.0.0 into master 2015-05-27 15:28:41 -07:00
Ban Siesta
43d22619f6 mavlink: no need to shout about disabling hardware flow control 2015-05-26 23:03:14 -07:00
Lorenz Meier
c6fe4fd35a mavlink: rename field for RC input mode 2015-05-25 16:34:57 +02:00
Lorenz Meier
a14b020d63 Merge pull request #2203 from NaterGator/mavlink_usbfix
Fix MAVLink USB UART detection
2015-05-26 23:22:27 -07:00
Ban Siesta
40e9c83ed6 mavlink: no need to shout about disabling hardware flow control 2015-05-25 18:28:27 +01:00
Lorenz Meier
01fd84e4dc mavlink and commander app: Add support for manual input, either directly or via remote control 2015-05-24 20:11:50 +02:00
Lorenz Meier
8fd00f4d6d Merged release_v1.0.0 into master 2015-05-23 11:07:10 +02:00
Lorenz Meier
ccac324f5b mavlink: Fix GIT string transmission 2015-05-23 11:04:19 +02:00
Lorenz Meier
6d7e063148 Added GIT version which recompiles on each build 2015-05-23 09:59:46 +02:00
Roman Bapst
0eeaa83b3d send autopilot version message on startup and on request 2015-05-23 09:59:46 +02:00
Nate Weibley
b55361b472 Actually track USB uarts, eliminiate unnecessary passing / pointer to _is_usb_uart 2015-05-20 16:06:02 -04:00
Lorenz Meier
64ea4071a7 mavlink: Enable a few helpful streams on companion link 2015-05-20 21:02:58 +02:00
Lorenz Meier
9ea62e7402 mavlink: Enable a few helpful streams on companion link 2015-05-20 21:01:38 +02:00
Mark Charlebois
36f5d47ed9 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/modules/commander/gyro_calibration.cpp
	src/modules/mavlink/mavlink_ftp.cpp
2015-05-16 15:04:38 -07:00
Lorenz Meier
dabcf63c50 mavlink FTP: Drop rate to realistic value 2015-05-15 11:16:48 +02:00
Lorenz Meier
f154f6e5e7 MAVLink transmission: Allow faster overall transmissions. 2015-05-15 11:16:11 +02:00
Nate Weibley
b4e7b041ca Fix potential null pointer deref if Mavlink start fails before task_main loop
LL_APPEND is called just before the loop spins up but various error conditions can cause the task to exit before then.
When that happens Mavlink::start_helper calls delete on the instance which tries to prune it from the global list.
If this is the first Mavlink instance to attempt starting the list head is null and we hardfault in the Mavlink dtor.

Only call LL_DELETE after checking the list head for a null pointer.
2015-05-13 11:33:11 -04:00
Mark Charlebois
2002d4e774 POSIX: disable UART in mavlink
Most of the current POSIX builds will not use the UART and it
is just a unnecessary dependency to satisfy when running in a
test environment.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-07 10:07:18 -07:00
Mark Charlebois
db52227409 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/modules/commander/accelerometer_calibration.cpp
2015-05-06 15:51:39 -07:00
Lorenz Meier
0d1d92484b MAVLink app: Parameter docs and new test parameter 2015-05-06 19:39:17 +02:00
Mark Charlebois
12a25e4b63 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	makefiles/firmware.mk
	src/modules/commander/module.mk
	src/modules/mavlink/mavlink_ftp.h
	src/modules/mavlink/mavlink_tests/module.mk
2015-05-04 16:36:59 -07:00
Don Gagne
46da294ffb New bust mode ftp file download 2015-05-03 19:26:54 -07:00
Mark Charlebois
190814bc97 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/drivers/rgbled/rgbled.cpp
	src/modules/commander/PreflightCheck.cpp
	src/modules/commander/airspeed_calibration.cpp
	src/modules/commander/calibration_routines.cpp
	src/modules/commander/gyro_calibration.cpp
	src/modules/commander/mag_calibration.cpp
	src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Lorenz Meier
0ebf626632 MAVLink app: Allow higher max data rate 2015-04-26 14:24:01 +02:00
Mark Charlebois
d913ec8dc9 Changed device::px4_device_handle_t to device::file_t
This change allowed the _posix.cpp file changes to be merged
back into the original files.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 17:49:35 -07:00
Mark Charlebois
ac0df5c61d Linux: added HRT test, moved tests to linux/tests
Also fixed naming of mavlink files for NuttX build.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:07:00 -07:00