Commit Graph

16748 Commits

Author SHA1 Message Date
Julian Oes 740b4556a0 Tools: revived posix_apps.py and qurt_apps.py
Not sure why they got removed in the first place in the merge.
I also don't know how they are used and what they are for, comments
welcome.
2016-02-19 16:59:48 +01:00
Julian Oes e0db3c7411 POSIX main: astyle 2016-02-19 16:59:48 +01:00
Julian Oes 7fc8a213ac df_mpu9250_wrapper: astyle 2016-02-19 16:59:48 +01:00
Julian Oes 10f1ff46f0 df_hmc5883_wrapper: astyle 2016-02-19 16:59:48 +01:00
Julian Oes b41fbe49f3 df_bmp280_wrapper: astyle 2016-02-19 16:59:48 +01:00
Julian Oes 68a85a7215 px4_layer: astyle 2016-02-19 16:59:48 +01:00
Julian Oes 2dd2c9143a uORB: astyle 2016-02-19 16:59:48 +01:00
Julian Oes fcf98d07e0 sensors: astyle 2016-02-19 16:59:48 +01:00
Julian Oes 51ff00b786 muorb: astyle 2016-02-19 16:59:48 +01:00
Julian Oes 028f5b3392 attitude_estimator_q: astyle 2016-02-19 16:59:48 +01:00
Julian Oes 2dfd13e2cb DriverFramework: updated submdule 2016-02-19 16:59:48 +01:00
Julian Oes 3cda3610d0 param: workaround for QURT
There is no such thing as set_param_no_autosave on QURT, therefore just
save it anyway. On the Snapdragon the overhead should not be a problem.
2016-02-19 16:59:48 +01:00
Julian Oes 10afd4abb4 posix main: tell us which command failed 2016-02-19 16:59:48 +01:00
Julian Oes adf9647aab barosim: corrected wrong return value 2016-02-19 16:59:48 +01:00
Julian Oes 4e4f22428e sensors: use QURT ifdefs instead of commenting out 2016-02-19 16:59:48 +01:00
Julian Oes 3a8feaf617 muorb: clean up of forgotton merge conflict 2016-02-19 16:59:48 +01:00
Julian Oes d3fc3b6c23 muorb: merge leftover in Makefile 2016-02-19 16:59:48 +01:00
Julian Oes 341004f460 commander: added some comments 2016-02-19 16:59:48 +01:00
Julian Oes 951b97baac commander: small comment fix 2016-02-19 16:59:48 +01:00
Julian Oes dd960565e8 DriverFramework: updated submodule 2016-02-19 16:59:48 +01:00
Julian Oes fbac24ad28 vdev_posix: switch back to CLOCK_REALTIME
Otherwise SITL doesn't work anymore, at least on Linux
2016-02-19 16:59:48 +01:00
Julian Oes ebeed9df65 qurt_eagle_default: don't build the gps driver yet 2016-02-19 16:59:48 +01:00
Julian Oes 975e38a350 check_submodules: submodule was lost in the merge 2016-02-19 16:59:47 +01:00
Julian Oes 1cd49a6dd5 vfile.cpp: added file that got removed in merge 2016-02-19 16:59:47 +01:00
Julian Oes 5feae43682 DriverFramework: updated submodule
This mainly fixes the NuttX build.
2016-02-19 16:59:47 +01:00
Julian Oes 7a42b259b2 device.h: add file which got lost in merge 2016-02-19 16:59:47 +01:00
Julian Oes 0c37716c18 sensors: remove merge leftover 2016-02-19 16:59:47 +01:00
Julian Oes 1524ff7f80 HMC5883: added wrapper for DriverFramework 2016-02-19 16:59:47 +01:00
Julian Oes 4c288eaa97 posix drivers: comment file name update 2016-02-19 16:59:47 +01:00
Julian Oes 0d615c80b4 attitude_estimator_q: no mavlink_log for QURT
Don't try to open the mavlink_fd on QURT because the px4_ioctl leads to
timeouts of the attitude_estimator_q loop.
2016-02-19 16:59:47 +01:00
Mark Charlebois a844619b35 Fixed terminal when exiting mainapp
mainapp was not restoring the original terminal setttings on exit

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:47 +01:00
Julian Oes 928a31b59a QURT: use drv_hrt.c from POSIX 2016-02-19 16:59:47 +01:00
Julian Oes b2ad3f5fbd POSIX: get px4_poll right
Like this the timeouts are going through instead of hanging everything.
2016-02-19 16:59:47 +01:00
Julian Oes 9e77f554d2 px4_qurt_tasks: fix timeout calculation
It was wrong to subtract seconds and nanoseconds from each other. This
will wrap, therefore use ts_to_abstime and do the subtraction
afterwards.
2016-02-19 16:59:47 +01:00
Julian Oes dbd89fe584 px4_qurt_tasks: fix hang because of absolute time
The timeout was triggered using absolute time instead of a delay in
usec. This lead to the system hanging. With the fix it continues after
the timeout, however, the rates still don't seem right.
2016-02-19 16:59:47 +01:00
Julian Oes c726e2b807 px4_qurt_tasks: fix header 2016-02-19 16:59:47 +01:00
Julian Oes f7697eec66 BMP280: added the baro driver 2016-02-19 16:59:47 +01:00
Mark Charlebois 5e64557e05 FIxed travis build to resolve link symbols
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:47 +01:00
Mark Charlebois d29a2ecfac Set stack size to minimum valid size if less requested
The stack size cannot be less than PTHREAD_STACK_MIN.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:47 +01:00
Julian Oes e57d936d8b attitude_estimator_q: be specific about the error 2016-02-19 16:59:47 +01:00
Julian Oes 67597a604e Rename DfImu to DfMpu9250Wrapper 2016-02-19 16:59:47 +01:00
Julian Oes 8794aacf59 sensors: HACK to stop init calls for sensors 2016-02-19 16:59:47 +01:00
Julian Oes 160400c611 sensors: don't just blindly switch to another gyro
Failover is good but failover to garbage doesn't help.
2016-02-19 16:59:47 +01:00
Julian Oes e8402f0f78 uORB: fix off-by-one bug in topic count 2016-02-19 16:59:47 +01:00
Julian Oes 9c18c9aea4 sensors: header comment changes 2016-02-19 16:59:46 +01:00
Julian Oes 41269468f2 POSIX main: get rid of some leftover printfs 2016-02-19 16:59:46 +01:00
Julian Oes bfd37c4458 POSIX main: set exit flag and exit gracefully
On Control+C, 'muorb stop' is now always executed, however this
shouldn't break POSIX SITL where the command is just not available.
2016-02-19 16:59:46 +01:00
Julian Oes e4398bc87c muorb: don't start muorb with stop command
Previously using 'muorb stop' would in fact start at least part of the
muorb which is not what it's expected to do.
2016-02-19 16:59:46 +01:00
Julian Oes 338ccb34f5 apps.h_in: fixed what is presumably a typo 2016-02-19 16:59:46 +01:00
Julian Oes 9d875a7e67 POSIX main: always add newline after a command 2016-02-19 16:59:46 +01:00