Lorenz Meier
d2c98a98e9
Rename stop-all to stop for MAVLink, but still keep stop-all for existing scripts
2016-04-10 11:18:05 -07:00
Julian Oes
727783fe94
mavlink: keep trying to find to broadcast
...
This should help the Snapdragon to connect if the network is not yet up
by the time the mainapp starts. It will retry to find a network and
broadcast once it finds one.
2016-04-08 22:38:22 -07:00
Julian Oes
ae2c28677d
mavlink: adapt network detection for Mac, use heap
...
It seems that Mac does not support the ioctl to check how big the ifconf
buffer needs to be. Therefore we just have to make a guess.
Alos, instead of allocating the variable size array on the stack, it's
probably safer to use the heap.
2016-04-08 09:41:10 +02:00
Julian Oes
20cd5f3e76
mavlink: make broadcast detection Mac compatible
...
This adresses that the ifconf interface is a bit different on Mac.
2016-04-07 15:21:24 +02:00
Julian Oes
66567baf89
mavlink: only try broadcast if valid address found
2016-04-07 13:20:48 +02:00
sander
a713fd4197
Implemented VTOL_TAKEOFF and VTOL_LAND commands
2016-04-02 21:29:25 +01:00
Lorenz Meier
e832f7dbf5
Fix reporting on broadcast address
2016-04-02 00:04:26 +02:00
Lorenz Meier
76a9ee2618
MAVLink app: Limit to max updaate rate
2016-03-30 20:56:11 +02:00
Julian Oes
56585082ec
mavlink: look up broadcast address, don't guess it
2016-03-30 17:36:04 +02:00
Julian Oes
a7e9bc8ba5
mavlink: copyright and author update
2016-03-30 17:36:04 +02:00
Julian Oes
df24852366
mavlink: fix broadcast on Snapdragon
...
Instead of using 255.255.255.255 as the broadcast address, go through
the network interfaces and and try to use a broadcast in the local
network such as 192.168.1.255.
2016-03-30 17:36:04 +02:00
Julian Oes
f776a3dc37
mavlink: better broadcast failed error description
2016-03-30 17:36:04 +02:00
Lorenz Meier
a66cf2a658
MAVLink app hotfix: Enable MAVLink daemon on default port
2016-03-28 17:30:43 +02:00
Lorenz Meier
e26c5bb590
Do not receive anything in OSD mode
2016-03-28 12:37:03 +02:00
Lorenz Meier
9dd6327668
Fixed MAVLink app code style
2016-03-27 12:10:57 +02:00
Jimmy Johnson
3aaad68c76
fixed position tracking overshoot
2016-03-27 12:10:57 +02:00
Jimmy Johnson
142884bcd8
fixing code style and enter/exit radius logic
2016-03-27 12:10:57 +02:00
Jimmy Johnson
8829db8844
code clean up complete
2016-03-27 12:10:57 +02:00
Jimmy Johnson
26cb645ee0
follow me working
2016-03-27 12:10:57 +02:00
Jimmy Johnson
01e971b342
Tests
2016-03-27 12:10:57 +02:00
Jimmy Johnson
554d1ac013
making first setpoint on follow target activation loiter in place
2016-03-27 12:10:57 +02:00
Jimmy Johnson
69351675b6
follow target mode working
2016-03-27 12:10:57 +02:00
Jimmy Johnson
bbc8eaefd7
Adding new follow target navigation and main states. New follow target
...
topic added. New follow fsm added to the navigator
2016-03-27 12:10:57 +02:00
Daniel Agar
70a68def83
params correct boolean tag
2016-03-25 20:25:17 -04:00
Lorenz Meier
6d42595c79
Fix MAVLink app teardown with mavlink stop-all command
2016-03-25 15:20:32 +01:00
Lorenz Meier
391f366a03
MAVLink app: formatting
2016-03-24 14:21:49 +01:00
Julian Oes
d3f710dbb5
mavlink: don't use the file logging on Snapdragon
2016-03-24 13:10:02 +01:00
Julian Oes
de0e467150
mavlink: bring buffering for log messages back
2016-03-24 13:10:02 +01:00
Julian Oes
aecdd4e32f
mavlink: add logging of mavlink messages back
...
The logging into a text file was commented out in the recent changes but
is added back in with this commit.
2016-03-24 13:10:02 +01:00
Julian Oes
198b8a299e
mavlink: remove file added by accident
2016-03-24 13:10:02 +01:00
Julian Oes
2d4179a35b
mavlink: refactor mavlink_log
...
This moves the mavlink_log interface from ioctl to uORB and enables the
mavlink statusmessage output for Snapdragon. The API changes will lead
to changes in all modules that are using it.
2016-03-24 13:09:16 +01:00
Julian Oes
a446a337e9
Revert "mavlink: send out parameters faster over UDP"
...
This reverts commit 213cdf1a91 .
Raising the stream rate of param values had the nice effect that
receiving the params became really quick. However, on the downside it
set all other streams pretty slow. This needs to be fixed differently.
2016-03-23 11:46:25 +01:00
Andreas Antener
f3a1abf659
added support for SP type idle
2016-03-21 20:32:19 +01:00
Andreas Antener
664b0ee0a9
read setpoint type from type mask in offboard
2016-03-21 20:32:19 +01:00
Andreas Antener
46ad873d00
add nan protection to attitude and actuator targets
2016-03-21 20:32:19 +01:00
Andreas Antener
b1ee89b5ca
add nan protection for position target local
2016-03-21 20:32:18 +01:00
Lorenz Meier
f3f01ad960
Fix NuttX compilation
2016-03-19 19:28:42 +04:00
Kevin Mehall
afa06ba9d7
Disable UDP options on platforms where it's not supported
2016-03-19 19:19:29 +04:00
Kevin Mehall
0cc3b4becc
Add mavlink start -t partner_ip option to pre-set partner IP.
...
This avoids the need to modify the source code to hard-code the IP when
broadcast doesn't work.
Initializing the sockaddr_in structs with memset is unnecessary because
they are value-initialized by the Mavlink constructor.
2016-03-19 19:19:29 +04:00
Joep Linssen
38b09031a0
Fixed a typo that caused a uORB publication to fail
2016-03-19 11:24:40 +04:00
Julian Oes
213cdf1a91
mavlink: send out parameters faster over UDP
2016-03-18 11:26:29 +00:00
Daniel Agar
7a9427bc34
param remove empty @unit
2016-03-14 09:12:34 +01:00
Daniel Agar
da9025ce86
mavlink param @unit
2016-03-14 09:10:29 +01:00
Lorenz Meier
1fdf252e96
Remove duplicate LAND mode, clean up mode reporting across the board to ensure consistency
2016-03-13 15:39:35 +01:00
Kabir Mohammed
309212b52b
px4flow : rotate gyro readings as well
2016-03-08 08:52:08 +01:00
Lorenz Meier
a516450868
MAVLink: Send vibration status message
2016-02-25 15:57:53 +01:00
Lorenz Meier
cd583e054e
MAVLink app: Use HDOP / PDOP
2016-02-25 13:45:34 +01:00
Lorenz Meier
c6a30d74c1
Bump VFR HUD rate for OSD
2016-02-25 11:14:15 +01:00
Nate Weibley
a1c9dc1f68
When restarting listing all parameters, skip sending hash on subsequent request
...
This change fixes a bug where hash-aware QGC using the old spec would continuously request the parameter list every time it received a mismatched hash.
2016-02-18 18:51:17 +01:00
Nate Weibley
ae3838ff2e
Remove superfluous parameter cache load message
2016-02-18 18:51:17 +01:00