PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Tests clocks/timekeeping. More...
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/defines.h>
#include <px4_platform_common/posix.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <arch/board/board.h>
#include "tests_main.h"
#include <math.h>
#include <float.h>
#include <drivers/drv_hrt.h>
Go to the source code of this file.
Functions | |
static hrt_abstime | cycletime (void) |
int | test_time (int argc, char *argv[]) |
Tests clocks/timekeeping.
Definition in file test_time.c.
|
static |
Definition at line 60 of file test_time.c.
Referenced by test_time().
int test_time | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 78 of file test_time.c.
References matrix::abs(), cycletime(), hrt_absolute_time(), and hrt_abstime.