Commit Graph

1588 Commits

Author SHA1 Message Date
Lorenz Meier 0a9e2b3923 MAVLink app: Fix param meta data 2015-06-30 07:00:17 +02:00
Lorenz Meier 4cf9976ad8 Merge branch 'master_release' of github.com:PX4/Firmware into master_release 2015-06-30 15:43:53 +02:00
Lorenz Meier 50ba1f7365 merged release_v1.0.0 into master 2015-06-30 15:30:45 +02:00
Lorenz Meier 6638729af7 Update orb advert type in mavlink, by @boosfelm 2015-06-29 15:47:19 +02:00
tumbili 572f1f4637 fill local position setpoint message entirely 2015-06-26 07:11:22 +02:00
Lorenz Meier 454becdae5 Merged release_v1.0.0 branch into master 2015-06-25 21:45:17 +02:00
Lorenz Meier c2127f9501 mavlink app: Fix POSIX UDP transfer issues on larger packets 2015-06-25 08:46:26 +02:00
tumbili 51c8f64e98 improve mavlink verbosity 2015-06-23 23:48:03 +02:00
Lorenz Meier c192398a65 mavlink app: Be more verbose on param load fails 2015-06-23 09:36:19 +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
tumbili ecbc286469 added function to return socket fd 2015-06-19 18:39:04 +02:00
tumbili c4d92ff05b enable receiving data over network port 2015-06-19 18:39:04 +02:00
Lorenz Meier e08dc0df40 Add support for RC_CHANNELS_OVERRIDE in addition to normal message 2015-06-18 11:03:32 +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
Mark Charlebois 872a26e6da Fixed passed ot open() for O_CREAT
In nuttx the mode parameter to open is not required but in Linux,
and per the POSIX spec, mode is required if the O_CREAT flag is
passed.

The mode flags are different for NuttX and Linux so a new set of
PX4 defines was added:

PX4_O_MODE_777 - read, write, execute for user, group and other
PX4_O_MODE_666 - read, and write for user, group and other
PX4_O_MODE_600 - read, and write for user

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-14 11:26:40 +02:00
TSC21 dccd4df7bc mocap_support: added support for mocap data on firmware 2015-06-13 17:03:31 +01:00
Lorenz Meier 5e4ce5cf59 Add missing errno header 2015-06-13 16:36:00 +02:00
Mark Charlebois e6d9aa2b43 mavlink fix for cause of intermittent crash
If the posix target is run and the rootfs is not created, then
there is an fopen in mavlink without a return value check and then a write
to the fd. When this condition occurs it tries to write to NULL and will
segfault.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-13 07:21:45 -07:00
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
Elikos default a0176474c7 fix NaN yaw breaking attitude setpoints when going back into posctl from offboard 2015-06-13 00:02:17 +02:00
Lorenz Meier 3b0d766fd8 Merge pull request #2353 from andre-nguyen/offb_NaN_fix
fix NaN yaw breaking attitude setpoints when going back into posctl from offboard
2015-06-13 00:01:24 +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
Mark Charlebois 4d1ae6269b POSIX: Added PX4_ROOTFSDIR to file paths
Set a default path relative to current dir for the posix target.

Running make posixrun will create the required directoroes and then run
mainapp from its build location.

PX4_ROOTFSDIR is set to nothing for nuttx.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 21:36:13 -07:00
David Sidrane 28d3729acd Backport of Fixes mavlink_if0: invalid data rate '(null)' bug 2015-06-11 15:43:28 -10:00
Elikos default 9605df75da fix NaN yaw breaking attitude setpoints when going back into posctl from offboard 2015-06-11 20:28:47 -04: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 cb231e89f6 QuRT: Changes to enable qurt target to build
QuRT doesn't support unlink and does not provide getpid().
The DSPAL layer provides access to usleep so an implementation is
no longer needed.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-08 22:22:00 -07: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 3e0c14dea2 MAVLink FTP: Do not list hidden directories by default 2015-06-06 11:35:29 +02:00
Lorenz Meier 9af8ba49ac HIL fix: Also publish filtered airspeed 2015-06-06 11:35:09 +02:00
Lorenz Meier 0e11f1632c MAVLink app: send out right mode flags for new stabilized mode 2015-06-05 22:45:05 +02:00
Mark Charlebois 4d8061b22c Removed unused file mavlink_main_posix.cpp
The posix and nuttx changed were re-integrated back into mavlink_main.cpp

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-03 21:05:03 -07:00
Lorenz Meier d8aebc805f MAVLink app: Further improvements on simulated RC scaling 2015-05-28 18:49:02 -07:00
Lorenz Meier c62ae87c69 Merge release_v1.0.0 into master 2015-05-28 18:08:31 -07:00
Lorenz Meier aab379cde9 MAVLink app: Fix yaw scaling for joystick input 2015-05-28 17:41:03 -07:00
Lorenz Meier 5ac5fae020 MAVLink app: better yaw scaling 2015-05-28 11:50:18 -07:00
Lorenz Meier d39db2eba8 MAVLink app: better yaw scaling 2015-05-28 11:49:57 -07:00
Lorenz Meier 1c6127b192 MAVLink app: Update command struct 2015-05-27 15:21:34 -07:00
Lorenz Meier 2f5e40e6d0 Update MAVLink app with topic updates 2015-05-27 15:21:32 -07:00