Daniel Agar
96e51f7c59
clang-tidy remove redundant
2017-02-01 22:15:50 -05:00
Daniel Agar
6631e72d6f
clang-tidy modernize-redundant-void-arg
2017-02-01 22:15:50 -05:00
Daniel Agar
e927f3e040
clang-tidy modernize-use-nullptr
2017-02-01 22:15:50 -05:00
Paul Riseborough
253683af5f
drivers: Don't require driver level gyro offsets to be non-zero
2017-02-01 08:40:23 +01:00
Paul Riseborough
c00c638b77
Remove IMU calibration parameter checks
2017-02-01 08:40:23 +01:00
Daniel Agar
501f866bf5
astyle src/platforms/posix
2017-01-29 01:18:32 +01:00
Roman
c065dc1930
bebop bus wrapper: fix logging of rpm and rpm setpoint
...
Signed-off-by: Roman <bapstroman@gmail.com >
2017-01-28 20:18:01 +01:00
Roman
1d4d57c4db
bebop bus wrapper: log actual and setpoint motor speed
...
Signed-off-by: Roman <bapstroman@gmail.com >
2017-01-28 20:18:01 +01:00
Roman
0c7c5977ae
bebop motor driver: better naming, removed unused header file
...
Signed-off-by: Roman <bapstroman@gmail.com >
2017-01-28 20:18:01 +01:00
Michael Schaeuble
7aea2ca030
BebopFlow: Add V4L2 interface and image functionality
2017-01-20 23:09:13 +01:00
Michael Schaeuble
f572752412
BebopFlow: Add initial PX4 app and structure
2017-01-20 23:09:13 +01:00
Michael Schaeuble
85aa710414
BebopRangeFinder: Integration into build and starup
2017-01-20 23:09:13 +01:00
Michael Schaeuble
6cb659c8ef
BebopRangeFinder: Add DF wrapper for Bebop's height sensor
2017-01-20 23:09:13 +01:00
Lorenz Meier
9f0d588989
Simulated drivers: Use fake device IDs
2017-01-19 19:24:52 +01:00
Lorenz Meier
49a29ee775
Fix up DriverFramework wrappers, bring them back to the real device ID they have already in-built
2017-01-19 19:24:52 +01:00
Paul Riseborough
edbe68f833
posix drivers: use orb instance as surrogate sensor ID for simulated IMU
2017-01-19 19:24:52 +01:00
Paul Riseborough
c21b4aaf2e
posix drivers: Populate baro device ID
...
TODO - use unique HW ID
2017-01-19 19:24:52 +01:00
Paul Riseborough
da87e3eb0a
posix drivers: Populate device ID in sensor topics for simulated IMU
2017-01-19 19:24:52 +01:00
Paul Riseborough
961474f430
posix drivers: Populate device ID in sensor topics for mpu9250
2017-01-19 19:24:52 +01:00
Paul Riseborough
1009550262
posix drivers: Populate device ID in sensor topics for mpu6050
2017-01-19 19:24:52 +01:00
Paul Riseborough
48f81f24e1
posix drivers: Populate device ID in sensor topics for lsm9ds1 sensor
2017-01-19 19:24:52 +01:00
Lorenz Meier
3d31914eb5
Tone alarm sim: Fix resource leak
2017-01-14 07:47:03 -08:00
Lorenz Meier
750ab87303
GPS Sim: Fix destructor
2017-01-03 14:44:45 +01:00
Lorenz Meier
9cfd46b87c
Airspeed sim: Fix reset function
2017-01-03 14:44:45 +01:00
Lorenz Meier
8d4edd74b8
Platforms: Header cleanup
2016-12-27 21:00:51 +01:00
Julian Oes
de9cb46a56
spektrum_rc: move and clean up (untested)
2016-12-20 14:38:28 +01:00
Julian Oes
c0fcffae76
spektrum_rc: make it compile
2016-12-20 14:38:28 +01:00
Lorenz Meier
c14f1fbaec
Add initial structure for Snapdragon Spektrum input
2016-12-20 14:38:28 +01:00
Michael Schaeuble
ed2d28d5dc
Use time-stamped integrator in Posix MPU6050 driver
2016-12-15 00:09:07 +01:00
lhc610github
f559b6ca88
df_lsm9ds1_wrapper: apply calibration after rotation
2016-11-24 14:39:23 +01:00
Beat Küng
241fd629ce
ERROR macro: get rid of the many 'oddly, ERROR is not defined for c++', use PX4_ERROR
2016-09-30 13:50:51 +02:00
Beat Küng
cf5338df02
accelsim: lower publisher rate to 250Hz
2016-09-30 13:50:51 +02:00
Beat Küng
27aaf244af
fix accelsim: ACC_READ cannot be 0 (it's used to check if a bit is set)
...
before that, accel data was all 0, but since the gyrosim also publishes
accel data, it was not a problem.
2016-09-30 13:50:51 +02:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Michael Schaeuble
93201835d3
Fix code style
2016-09-07 08:24:08 +02:00
Michael Schaeuble
1fac4c4874
Improve code documentation and code cleanup
2016-09-07 08:24:08 +02:00
Michael Schaeuble
d84a325010
Integrate DF BebopBus into the wrapper
2016-09-07 08:24:08 +02:00
Michael Schaeuble
5d3e9df731
Add DF wrapper for BebopBus driver
2016-09-07 08:24:08 +02:00
Michael Schäuble
b9b9f17eee
Fix build errors ( #5436 )
...
* Use sorted to fix python3 build error
* Add drv_hrt.h include to Bebop df wrappers
2016-09-03 12:34:27 +02:00
Beat Küng
61f7470e7e
df wrappers: fix invalid NaN to int16 conversion (set to 0 instead)
...
The result of this conversion is undefined!
2016-08-25 13:14:15 +02:00
Beat Küng
96384bdc29
df wrappers: add drv_hrt.h include
2016-08-24 21:30:50 +02:00
Julian Oes
68986604e9
df_mpu9250_wrapper: calibration after rotation
...
Same as for the df_hmc5883_wrapper.
2016-08-06 21:01:37 +02:00
Julian Oes
1dd2c94949
df_hmc5883_wrapper: use calibration after rotation
...
The calibration values need to be applied after the rotation, otherwise
the offsets and scale can be applied to the wrong axes.
2016-08-06 21:01:37 +02:00
Michael Schaeuble
8566cabd76
Make some code-style fixes
2016-08-05 10:15:11 +02:00
Michael Schaeuble
0b7fa4f5ad
Apply sensor calibration after coordinate frame rotation
2016-08-05 10:15:11 +02:00
Michael Schaeuble
e600e29ea4
Add DF wrapper for AK8963
2016-08-05 10:15:11 +02:00
Michael Schaeuble
ae66085f89
MPU6050: Apply calibration after coordinate frame rotation
2016-07-22 09:21:55 +02:00
Michael Schaeuble
2197bf518d
Fix code style
2016-07-22 09:21:55 +02:00
Michael Schaeuble
e73d8d73e1
Add DF wrapper for MPU6050
2016-07-22 09:20:27 +02:00
Lucas De Marchi
18330f7ab7
Move __STDC_FORMAT_MACROS to build system
...
__STDC_FORMAT_MACROS changes the behavior of inttypes.h to allow
defining format macros for printf-like functions. It needs to be defined
before any include is done, otherwise due to include chains and header
guards it may not take effect.
Instead of having to define it everywhere it is used, move the define to the
build system. Also update ecl and DriverFramework submodules to deal with the
changed definitions.
2016-07-10 16:31:36 +02:00