move baro and magnetometer data out of sensor_combined

This commit is contained in:
Daniel Agar
2018-04-11 23:26:58 -04:00
parent 3e6ba1d541
commit 3b5b12e1d1
31 changed files with 289 additions and 266 deletions
@@ -36,7 +36,6 @@ include_directories(${PX4_SOURCE_DIR}/mavlink/include/mavlink)
px4_add_module(
MODULE platforms__posix__drivers__barosim
MAIN barosim
COMPILE_FLAGS
SRCS
baro.cpp
DEPENDS
+3 -1
View File
@@ -139,7 +139,6 @@ BAROSIM::BAROSIM(const char *path) :
_measure_perf(perf_alloc(PC_ELAPSED, "barosim_measure")),
_comms_errors(perf_alloc(PC_COUNT, "barosim_comms_errors"))
{
}
BAROSIM::~BAROSIM()
@@ -191,6 +190,9 @@ BAROSIM::init()
return -ENODEV;
}
/* fill report structures */
start();
out:
return ret;
}