mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 17:31:35 +08:00
df_imu: get the accel to publish to uORB
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
#include <stdlib.h>
|
||||
#include "get_commands.h"
|
||||
#include "apps.h"
|
||||
#include "DriverFramework.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -213,6 +214,7 @@ int dspal_entry(int argc, char *argv[])
|
||||
PX4_INFO("In main\n");
|
||||
map<string, px4_main_t> apps;
|
||||
init_app_map(apps);
|
||||
DriverFramework::Framework::initialize();
|
||||
px4::init_once();
|
||||
px4::init(argc, (char **)argv, "mainapp");
|
||||
process_commands(apps, get_commands());
|
||||
|
||||
Reference in New Issue
Block a user