Commit Graph

784 Commits

Author SHA1 Message Date
James Goppert 967e4dd127 Modified cmake to use STACK_MAX and STACK_MAIN 2016-04-14 13:36:36 -04:00
Julian Oes a325b77adf ros-commander: refactor changes 2016-04-11 18:01:49 +02:00
Daniel Agar 3a209d71af fix clang size error 2016-04-11 18:01:48 +02:00
Beat Küng 458feb0a44 fix gpssim: properly handle the case where gpssim is not running 2016-04-11 11:23:01 +02:00
Lorenz Meier b3b22b1c2c Airspeed driver: Proper start handling 2016-04-08 17:23:59 -07:00
Julian Oes 36d580bdc8 DF wrappers: use abs time instead of DF timestamp
The timestamp in the DriverFramework is not the same as the one
provided by hrt_absolute_time() in PX4. Because we are publishing on the
PX4 side, let's also use the timestamp from there.
2016-04-08 15:51:16 +02:00
Julian Oes 2bce8f2803 muorb: abs time on aDSP in sync with Linux side
This adds a call on startup of the muorb on the aDSP side to use an
offset for hrt_absolute_call(). This means that the hrt_absolute_call()
on the appsproc (Linux) side should now match the one on the aDSP
(QURT) side.
The accuracy still needs to be determined.
2016-04-08 15:51:16 +02:00
Julian Oes 9c8f67dfb8 platforms: fix build for QURT 2016-04-06 11:18:24 +02:00
Nicolas de Palezieux 00352565ee added I2C driver for TeraRanger One 2016-04-06 10:35:38 +02:00
Lorenz Meier 9c9ca9211f HRT fix for negative time instrumentation 2016-04-05 19:09:30 -07:00
Lorenz Meier 5828c7fa4f system_time: Use more strict time 2016-04-05 19:09:30 -07:00
Lorenz Meier b2029f7a35 POSIX: Fix code style of main app 2016-04-05 19:09:30 -07:00
Lorenz Meier 437041f302 POSIX API extensions 2016-04-05 19:09:30 -07:00
Lorenz Meier 0baa625681 Adjustements and improvements in the simulation interface 2016-04-05 19:09:30 -07:00
Julian Oes ee7b9751ce px4_layer: removed leftover printf lie 2016-03-27 12:40:10 +02:00
Julian Oes cf98894a23 df_mpu9250_wrapper: disable coning correction
The coning correction for the accel int slipped in by accident.
2016-03-27 12:40:10 +02:00
Julian Oes b04cfd3eee df_mpu9250_wrapper: publish at 250 Hz 2016-03-27 12:40:10 +02:00
Julian Oes 393bcad4b6 df_mpu9250_wrapper: add delta angles for MPU9250 2016-03-27 12:40:10 +02:00
Julian Oes a6af53bcb4 df_mpu9250_wrapper: reset calibration if no params 2016-03-24 13:08:31 +01:00
Julian Oes 1b5210ca13 sensors/calibration: use params in DF wrappers
Instead of using a uORB topic with the calibration values published in
sensors and consumed by the DriverFramework driver wrappers, let's just
use the the params directly. This is quite a rough change and needs
definitely some cleanup and refactoring.
2016-03-24 13:08:31 +01:00
Julian Oes 6a8bac2b30 df_hmc5883_wrapper: subscribe to calibration data 2016-03-24 13:08:31 +01:00
Julian Oes 23da6696d7 df_mpu9250_wrapper: comments only 2016-03-24 13:08:31 +01:00
Julian Oes b9cc0b74e2 drivers: re-use calibration topic
E.g. instead of defining a gyro_scale struct in drv_gyro.h, use the
gyro_calibration message.
2016-03-24 13:08:30 +01:00
Julian Oes f24b2a701f sensors: first part of a calibration refactor
This adds uORB messages to publish calibration data by sensors which is
then consumed by the sensors. Currently this is only used on Snapdragon
and guarded by QURT ifdefs.
2016-03-24 13:08:30 +01:00
Julian Oes a3967872f3 df_bmp280_wrapper: hack to publish altitude
Previously we only published pressure which wasn't inav for the position
estimator.
2016-03-21 11:38:07 +01:00
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