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
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
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
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
Lorenz Meier
1a9d402feb
mavlink receiver: fix topic handle initialization of manual control topic
2015-05-27 15:36:05 -07:00
Lorenz Meier
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -07:00
Mark Charlebois
a452478ef9
More fixups for orb_advert_t changed to void *
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:42:49 -07:00
Mark Charlebois
1ca05aaa64
orb_advert_t changed to void * and checks changed to nullptr
...
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.
Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:42:49 -07:00
Mark Charlebois
a734fc96d1
extensive orb_advert_t fixes
...
The calls to orb_advertise were being mishandled throughout the code.
There were ::close() calls on memory pointers, there were checks
against < 0 when it is a pointer to a object and values larger than
0x7ffffffff are valid. Some places orb_advert_t variables were
being initialized as 0 other places as -1.
The orb_advert_t type was changed to uintptr_t so the pointer value
would not be wrapped as a negative number. This was causing a failure
on ARM.
Tests for < 0 were changed to == 0 since a null pointer is the valid
representation for error, or uninitialized.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:41:33 -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
b399469477
Merge pull request #2240 from TSC21/mavlink_multiadvertise
...
mavlink: added multi advertise for distance_sensor in mavlink receiver
2015-05-26 23:32:50 -07: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
TSC21
0d1bc2cd0b
mavlink: added multi advertise for distance_sensor in mavlink receiver
2015-05-26 23:35:45 +01:00
Ban Siesta
40e9c83ed6
mavlink: no need to shout about disabling hardware flow control
2015-05-25 18:28:27 +01:00
Lorenz Meier
c5f14ef785
Merge pull request #2224 from bansiesta/lidarlite_merge
...
Lidarlite merge and bringup
2015-05-24 23:18:52 +02:00
Lorenz Meier
009815deb0
Improve config and mapping
2015-05-24 20:11:51 +02:00
Lorenz Meier
2bb655c46c
mavlink app: Improved mapping to RC input
2015-05-24 20:11:51 +02: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
Anton Babushkin
af546def91
mavlink: use 'buttons' field of MANUAL_CONTROL message as mode switches
2015-05-24 20:11:50 +02:00
Don Gagne
77bd36aa33
Fix opendir failure handling
2015-05-24 20:11:00 +02:00
Don Gagne
4206b030bf
Fix opendir failure handling
2015-05-24 10:40:52 -07:00
Ban Siesta
2fb999674b
Merge remote-tracking branch 'px4/pr/2200' into lidarlite_merge
2015-05-24 16:30:02 +01:00
TSC21
72e9390985
distance_sensor: minor changes
2015-05-24 16:03:01 +01:00
Ban Siesta
cf39e8c721
mavlink: adapted to change in distance_sensor msg
2015-05-24 15:58:44 +01:00
TSC21
36dfda4aea
distance_sensor: mavlink_receiver: changed to SI units
2015-05-23 17:58:20 +01:00
TSC21
43668cc8c8
distance_sensor: adopt message in both range drivers and on ekf_att_pos_estimator
2015-05-23 17:49:52 +01:00
TSC21
6049365123
Merge branch 'master'
2015-05-23 11:24:15 +01: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
TSC21
1c12d8fc7c
distance_sensor: added MAV_DISTANCE_SENSOR_INFRARED to topic stream
2015-05-21 12:41:41 +01:00
TSC21
db48df15c8
Merge branch 'master'
2015-05-21 12:26:55 +01: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
Lorenz Meier
fbdfc698cc
Merge branch 'release_v1.0.0'
2015-05-20 20:24:39 +02:00