Tested mc_att_control_m and mc_pos_control_m in jmavsim.OK.

This commit is contained in:
devbharat
2015-07-16 18:00:22 +02:00
parent 5a2ed4a476
commit 68e3c477ed
10 changed files with 86 additions and 69 deletions
@@ -47,6 +47,7 @@
#include <unistd.h>
#include "systemlib/param/param.h"
#include "hrt_work.h"
#include <drivers/drv_hrt.h>
extern pthread_t _shell_task_id;
@@ -77,5 +78,10 @@ void init(int argc, char *argv[], const char *app_name)
printf("App name: %s\n", app_name);
}
uint64_t get_time_micros()
{
return hrt_absolute_time();
}
}