QuRT: stub out missing functions

Stub out the missing functions to enable running in the simulator

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-05-07 12:54:39 -07:00
parent 632f77df49
commit fd3715912e
2 changed files with 56 additions and 2 deletions
+19 -2
View File
@@ -51,8 +51,25 @@
#include "apps.h"
#include "px4_middleware.h"
static const char *commands = "hello start\n"
"list_tasks";
static const char *commands =
"uorb start\n"
"simulator start -s\n"
"barosim start\n"
"adcsim start\n"
"accelsim start\n"
"gyrosim start\n"
"param set CAL_GYRO0_ID 2293760\n"
"param set CAL_ACC0_ID 1310720\n"
"param set CAL_ACC1_ID 1376256\n"
"param set CAL_MAG0_ID 196608\n"
"rgbled start\n"
"mavlink start -d /tmp/ttyS0\n"
"sensors start\n"
"hil mode_pwm\n"
"commander start\n"
"list_devices\n"
"list_topics\n";
static void run_cmd(const vector<string> &appargs) {
// command is appargs[0]