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
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
67597a604e
Rename DfImu to DfMpu9250Wrapper
2016-02-19 16:59:47 +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
9d875a7e67
POSIX main: always add newline after a command
2016-02-19 16:59:46 +01:00
Julian Oes
adb44c2918
df_imu: added gyro publishing, cleanup
2016-02-19 16:59:46 +01:00
Julian Oes
507b9130fd
df_imu: remove debug relict
2016-02-19 16:59:46 +01:00
Julian Oes
ec8a58a9ac
df_imu: get the accel to publish to uORB
2016-02-19 16:59:46 +01:00
Mark Charlebois
791ec37f43
Code formatter fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:46 +01:00
Mark Charlebois
419f4c49ce
Added new config entry for DF driver entries
...
DF drivers can now be added in each config file by adding
set(config_df_driver_list
bmp280
...
)
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:46 +01:00
Julian Oes
f1cc0d522c
New lightweight class to connect to the MPU9250
...
It needs to be determined if this class should be for any imu sensor or
if it is specific to the MPU9250.
Also, the callback doesn't publish anything just yet.
2016-02-19 16:59:46 +01:00
Mark Charlebois
caa94d58a6
Manually integrated Jim's changes from integrate2_jim branch
...
Signed-off-by: Jim Wilson <jywilson99@hotmail.com >
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:46 +01:00
Mark Charlebois
ff0618a8ff
Set the stack size for qurt
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
aa8117e9e4
Removed stubs now resolved in adsp static image
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
2e0ecc930f
Added missing stub functions for qurt build
...
No wchar support in current aDSP image.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
1c5bfd28f0
Added fprintf fputc and _StdErr definitions
...
PX4 uses fprintf in numerous places but it is not supported by qurt.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
2c4187f21f
Resolved missing symbols for qurt build
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
dab1f835c7
Code cleanup and ifdefs required for qurt build
...
Code that was previously out of tree that was #if 0, is now #ifdef __PX4_QURT.
These changes were required for flight using the qurt build.
Changes include code cleanup for shmem_posix.c.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
cb788d2c4f
Removed extra carriage return
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
8b22bde071
Code format fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:45 +01:00
Mark Charlebois
0d62646ecb
More bad merge fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:44 +01:00
Mark Charlebois
7fb5f4d45c
Whitespace fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:44 +01:00
Mark Charlebois
304caead99
Fixed bad merge artifacts
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:44 +01:00
Mark Charlebois
014f15d8b0
Rebase changes on upstream master
...
This brings in many of the changes from the PX4 fork on ATLFLight.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00
Mark Charlebois
2938d23c6c
Removed stubs now resolved in adsp static image
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00
Mark Charlebois
e6d27f019e
Added missing stub functions for qurt build
...
No wchar support in current aDSP image.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00
Mark Charlebois
4f84a6d81e
Added missing apps.h include
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00
Mark Charlebois
1fff0d6d55
Added fprintf fputc and _StdErr definitions
...
PX4 uses fprintf in numerous places but it is not supported by qurt.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00
Mark Charlebois
a495e3442c
Resolved missing symbols for qurt build
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00
Mark Charlebois
b9fb4c48ad
Fixed unresolved symbols
...
ecl module was missing for release build
qurt_external_hook() was missing.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00
Mark Charlebois
fea910d45a
Code cleanup and ifdefs required for qurt build
...
Code that was previously out of tree that was #if 0, is now #ifdef __PX4_QURT.
These changes were required for flight using the qurt build.
Changes include code cleanup for shmem_posix.c.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:43 +01:00
Mark Charlebois
4e79300bdb
Removed extra carriage return
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:42 +01:00
Mark Charlebois
5846a22a8f
Code format fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:42 +01:00
Mark Charlebois
c06d51d02a
More bad merge fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:42 +01:00
Mark Charlebois
7860c959a5
Whitespace fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:42 +01:00
Mark Charlebois
ff1a38dba6
Fixed bad merge artifacts
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:42 +01:00
Mark Charlebois
9f3bf8e9f4
Rebase changes on upstream master
...
This brings in many of the changes from the PX4 fork on ATLFLight.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-02-19 16:59:41 +01:00
Lorenz Meier
62d685440a
Posix: Do not spam console with tone alarm
2016-02-09 21:46:10 +01:00
Lorenz Meier
15e7b19991
uORB: Block on simulation delay for orb_check() calls as well
2016-02-05 16:36:43 +01:00
Lorenz Meier
39ee36a8ea
Pre-empt HRT execution in SITL if simulator is slow
2016-02-05 09:24:59 +01:00