Commit Graph

759 Commits

Author SHA1 Message Date
Daniel Agar ce8eb0edd8 unit tests -Werror 2016-03-14 09:15:02 +01:00
Julian Oes 65947346eb df_hmc5883_wrapper: get the var swapping right 2016-03-12 12:22:05 +01:00
Julian Oes 09dd88ec01 df_hmc5883_wrapper: fix mag rotation
The external GPS+Mag needs some rotation.
2016-03-12 12:22:05 +01:00
Lorenz Meier 32368e5eda Baro sim: Cleanup 2016-03-12 11:07:55 +01:00
Lorenz Meier c1321ec721 GPS sim: Add missing velocity timestamp 2016-03-12 11:07:34 +01:00
Julian Oes ef8d074e23 shmem_qurt: remove leftover printf 2016-03-09 11:10:19 -08:00
Julian Oes 022ced3648 shmem: don't do locking for now
The locking seems to be broken, therefore refrain from using it.
2016-03-09 11:07:34 -08:00
Julian Oes 070e71ed55 px4_layer: astyle 2016-03-09 09:53:27 -08:00
Julian Oes 8b19d249b2 px4_layer: better printfs for shmem_posix.c 2016-03-09 09:53:27 -08:00
Julian Oes 3e964ef85d POSIX config: param shem define was lost 2016-03-09 09:53:27 -08:00
Andreas Bircher 7abb699bc4 adding the camera trigger logging to sd card 2016-02-27 11:41:57 +01:00
Lorenz Meier be3863d99f Fix formatting 2016-02-21 20:41:00 +01:00
Lorenz Meier 9f5469ab1f Workaround for stack size setting on OS X 2016-02-21 20:28:24 +01:00
Julian Oes 46a6176e2a px4_layer: astyle 2016-02-19 16:59:49 +01:00
jwilson 75fad09263 Fixed problem causing a failure to obtain the shared memory lock on the AppsProc. 2016-02-19 16:59:49 +01:00
jwilson d84639f8c4 This code is flyable, but a few problems exist which cause values in the .config files to be overwritten by the defaults in the .XML file. 2016-02-19 16:59:49 +01:00
jwilson e26cca760a StubSensor template class implemented to allow registration with the DevMgr. 2016-02-19 16:59:49 +01:00
jwilson 2b4b9aa103 Debug statements included in the code. 2016-02-19 16:59:49 +01:00
Julian Oes 8f26735255 POSIX: add px4_clock_settime stub for Mac 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 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 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