Mark Charlebois
062a547d07
POSIX: changes to support posix build on ARMv7
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-21 00:43:55 +00: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
d43b0513ce
Increase buffer sizes on companion link
2015-05-20 21:03:04 +02:00
Lorenz Meier
64ea4071a7
mavlink: Enable a few helpful streams on companion link
2015-05-20 21:02:58 +02:00
Lorenz Meier
bc75814d50
Increase buffer sizes on companion link
2015-05-20 21:02:28 +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
Lorenz Meier
9d2027eaf7
mavlink: Update library version
2015-05-20 20:24:20 +02:00
TSC21
1978f1bcac
distance_sensor: remove 'distance_sensor.h' autogenerated header
2015-05-20 17:37:54 +01:00
TSC21
80c7719b42
distance_sensor: typo correction on msg.type
2015-05-20 12:51:20 +01:00
Lorenz Meier
4dbaf71612
Remove unused actuator_controls_effective topic
2015-05-20 13:49:18 +02:00
TSC21
c180b5d825
distance_sensor: added msg definition to 'msg' folder
2015-05-20 12:40:15 +01:00
Lorenz Meier
2903ceaacc
Merge branch 'release_v1.0.0'
2015-05-20 09:00:57 +02:00
James Goppert
e1d2c0c5ad
Move more messages to auto-generation, work on C++ code style
2015-05-20 08:57:29 +02:00
Roman Bapst
e7a522edbc
reset board rotation offset params if level calibration failed
2015-05-20 08:50:26 +02:00
TSC21
796b105382
distance_sensor: updated distance_sensor stream sub
2015-05-20 00:54:36 +01:00
Mark Charlebois
00296ba241
POSIX: Fixed uint64_t print in generated topic_listener.cpp
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 16:42:55 -07:00
TSC21
30218b0de7
distance_sensor: added mavlink_receiver handler for msg
2015-05-20 00:15:27 +01:00
TSC21
364492a325
distance_sensor: added def to objects_common.cpp
2015-05-19 23:42:15 +01:00
TSC21
c2d1de30af
Merge branch 'master' of https://github.com/PX4/Firmware into distance_sensor
2015-05-19 23:32:33 +01:00
TSC21
37e96e230c
distance_sensor: first topic commit
2015-05-19 23:25:33 +01:00
Lorenz Meier
fee48a77ae
Merge pull request #2057 from mcharleb/linux
...
Linux support
2015-05-19 23:30:42 +02:00
Lorenz Meier
a02b99ec59
Travis: Build POSIX before unit tests
2015-05-19 23:02:16 +02:00
Lorenz Meier
0d19a50b1b
Add POSIX build to autobuild suite
2015-05-19 22:59:27 +02:00
Mark Charlebois
30895c2dfd
POSIX: fixed printf to use PX4_INFO
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 13:37:59 -07:00
Mark Charlebois
7301b59d14
Unit tests: Fixed unit test build
...
Unit tests now work. The linux build was failing saving params
because it was using the changes for QuRT that fake out the
filesystem.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 13:36:13 -07:00
Mark Charlebois
f44444b7c4
POSIX: Converted poll to px4_poll
...
A new poll command was added in accelerometer_calibration.cpp
that needed to be converted to a px4_poll.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 12:06:58 -07:00
Lorenz Meier
d906fb8f31
Merged master into linux
2015-05-19 21:00:02 +02:00
Mark Charlebois
eaef0db7d6
Logging fixes and enhancements
...
Made the logging macros generic so they can be used for multiple targets.
Fixed toolchain_native.mk so err.h is included from src/systemlib for posix.
Reduced debug output for uORB.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 11:53:19 -07:00
Mark Charlebois
95de7c2e94
ROS: Fixes for print of uint64_t type
...
Changed printf to use PRIu64
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 11:14:40 -07:00
Mark Charlebois
60080dd9e7
QuRT: fixed print of INT32_t type
...
In QuRT, this is a long but the variable was being printed with "%d"
Need to cast variable as long and use "%ld"
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 11:10:06 -07:00
Mark Charlebois
ce96329f95
Resolve printing uint64 types
...
Using %llu or %lu will break one of the build targets. The "right way"
to print a uint64_t is via the PRIU64 macro defined in C99.
This wasn't defined for the NuttX compiler so it was added to px4_defines.h
for NuttX.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 11:04:39 -07:00
Mark Charlebois
e2d175b3e5
Added back include of px4_posix.h for non-ROS builds
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 10:47:17 -07:00
Mark Charlebois
0f5cb75692
ROS: Fixes for ROS build
...
The ROS build included some files that used isfinite vs PX4_ISFINITE.
The AppState class also needed to be supported for ROS.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 10:41:15 -07:00
Mark Charlebois
49a200d834
Merge branch 'linux' of http://github.com/mcharleb/Firmware into linux
2015-05-19 09:23:34 -07:00
Mark Charlebois
ffdc9d629c
POSIX: Improved logging
...
The warnx and warn calls map to PX4_WARN.
Calls to errx or err genrtate a compile error.
The px4_log.h file implements a new log format:
For DEBUG and INFO:
<level> <msg>
For ERROR and WARN:
<level> <msg> (file filepath line linenum)
The verbosity can be changed by setting the macro to use
either linux_log or linux_log_verbose in px4_log.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-19 09:19:24 -07:00
Lorenz Meier
11564a0f14
Mission yaw mode: Default to facing the next waypoint
2015-05-19 17:03:28 +02:00
Lorenz Meier
607c452e71
Merge pull request #2197 from PX4/self_leveling
...
Self leveling
2015-05-19 14:52:44 +02:00
Roman Bapst
12c6dc8ad8
added routine for autopilot level calibration
2015-05-19 14:20:00 +02:00
Roman Bapst
5c63a2d2f4
fixed sensor board rotation offset
2015-05-19 14:19:03 +02:00
Max Shvetsov
dbe58d6165
[pwm_input] reset feature added
...
publication to range_finder topic added
2015-05-19 12:40:42 +03:00
Lorenz Meier
2625d3e973
Merge pull request #2175 from Zefz/preflight_gps_check
...
Preflight: GPS check
2015-05-19 10:10:46 +02:00
Lorenz Meier
5fb99e9300
MC att control: Better param docs
2015-05-19 07:18:41 +02:00
Lorenz Meier
66e6dccfee
FW att control: Better param docs
2015-05-19 07:18:25 +02:00
Lorenz Meier
d9d25363b4
mavlink FTP: Remove workaround after QGC side fix
2015-05-19 07:08:19 +02:00
Lorenz Meier
3a0fda2d29
Merge pull request #2195 from rmackay9/orig-fast-gyro-interupt
...
l3gd20: faster gyro interrupts
2015-05-19 06:45:03 +02:00
Randy Mackay
a90caf7b7b
l3gd20: faster gyro interrupts
2015-05-19 13:25:42 +09:00
Lorenz Meier
e5fad077df
Merge master into linux
2015-05-18 23:28:57 +02:00
Lorenz Meier
3facabb85c
Merge branch 'master' into beta
2015-05-18 23:19:08 +02:00
Lorenz Meier
c06ba047e2
param lib: Fix index used routine
v1.0.0rc10
2015-05-18 23:15:20 +02:00