PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Tests conversions used across the system. More...
#include <sys/types.h>
#include <stdio.h>
#include <poll.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include "tests_main.h"
#include <math.h>
#include <float.h>
#include <unit_test.h>
#include <px4iofirmware/protocol.h>
Go to the source code of this file.
Functions | |
int | test_conv (int argc, char *argv[]) |
Tests conversions used across the system.
Definition in file test_conv.cpp.
int test_conv | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 56 of file test_conv.cpp.
References f(), FLOAT_TO_REG, REG_TO_FLOAT, and REG_TO_SIGNED.