Lorenz Meier
9cf1b4ba7a
Merge branch 'release_v1.0.0'
2015-05-22 07:24:57 +02:00
Mark Charlebois
f1f562a94d
POSIX: Fixed orb_advertise failure
...
There were an insufficient number of devmap entries allocated and
when they ran out, new orb_advertise requests would fail.
Also added a new logging macro for the Linux build to show the
calling pthread if enabled.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 15:35:11 -07:00
Lorenz Meier
323759bb52
commander: Fix error checking and handling of level routine
2015-05-21 22:06:54 +02:00
Lorenz Meier
8c854d94d7
Merge pull request #2209 from mcharleb/multi-os-support
...
Added ability to set OS specific path for dataman file
2015-05-21 20:10:01 +02:00
Roman Bapst
5a53a4f7bf
do not update mission if it has unsupported mission items
2015-05-21 20:09:15 +02:00
Roman Bapst
afa8266255
do not update mission if it has unsupported mission items
2015-05-21 20:08:49 +02:00
Lorenz Meier
be58ced1b2
Merge pull request #2210 from mcharleb/qurt-test
...
Sensors: added missing px4_close and removed _exit() call
2015-05-21 19:46:06 +02:00
Mark Charlebois
cb5db8ec83
dataman: Fixed file permissions on file creation
...
In Linux the file was being created with incorrect permissions.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 10:37:15 -07:00
Mark Charlebois
0c3681c896
Sensors: added missing px4_close and removed _exit() call
...
The QuRT build was broken from the call to exit. While fixing
the code to clean up before returning, I found a missed call
to px4_close.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 10:26:45 -07:00
Mark Charlebois
05720b5aef
Added ability to set OS specific path for dataman file
...
dataman can now be started using:
dataman start -f filepath
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 09:24:48 -07:00
Lorenz Meier
9179fcefc9
Calibration state machine fixes, generates less bogus error messages during calibration
2015-05-21 17:25:37 +02:00
Lorenz Meier
fb4dc27bc9
commander: Improve user feedback on sensor health, in particular during calibration
2015-05-21 10:27:12 +02: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
Lorenz Meier
4dbaf71612
Remove unused actuator_controls_effective topic
2015-05-20 13:49:18 +02: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
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
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
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
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
e5fad077df
Merge master into linux
2015-05-18 23:28:57 +02:00
Lorenz Meier
c06ba047e2
param lib: Fix index used routine
2015-05-18 23:15:20 +02:00
Mark Charlebois
dcb55ff38d
Changed isfinite to PX4_ISFINITE
...
There are cross platform issues with the isfinite call that are handled
by PX4_ISFINITE
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-18 09:58:49 -07:00
Johan Jansen
cd67609da5
PreflightCheck: Reduce GPS timeout to 2 sec
2015-05-18 12:49:53 +02:00
Johan Jansen
38004cdd95
PreflightCheck: Increase GPS timeout to 4 sec
2015-05-18 12:31:16 +02:00
Lorenz Meier
937289a3ef
Give user a choice which time source to pick
2015-05-18 10:32:41 +02:00
Lorenz Meier
635b7fa01d
param API: Ensure info count method is called
2015-05-18 00:17:09 +02:00
Lorenz Meier
2e1f5c4bf3
Merge pull request #2176 from PX4/master_param_mem_usage_redux
...
Master param mem usage redux
2015-05-17 23:27:26 +02:00
Lorenz Meier
fa12a61765
sdlog2: Fix command handling / interpretation of command parameters
2015-05-17 23:23:26 +02:00
Lorenz Meier
2f5e27c180
param lib: Fix code style
2015-05-17 23:08:10 +02:00
Lorenz Meier
ff4be81976
Param: do not set a param as used just because its value is non-default.
2015-05-17 23:05:32 +02:00
Lorenz Meier
e279e8bb2a
Fix param changed count logic, speed up logic for unused params
2015-05-17 22:58:52 +02:00
Lorenz Meier
83fdb9931a
commander / mavlink: Add battery status to output BATTERY_STATUS MAVLink message
2015-05-17 17:44:51 +02:00
Erik Jähne
fcb1bb2bb6
FIX HIL GPS conversion
2015-05-17 14:50:17 +02:00
Lorenz Meier
3032afb803
mavlink FTP: Fix build system error for unit test
2015-05-17 10:48:37 +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
2432418751
FTP: Better error reporting, ignore hidden directories
2015-05-16 11:37:41 +02:00