PX4 Firmware
PX4 Autopilot Software http://px4.io
test_conv.cpp File Reference

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>
Include dependency graph for test_conv.cpp:

Go to the source code of this file.

Functions

int test_conv (int argc, char *argv[])
 

Detailed Description

Tests conversions used across the system.

Definition in file test_conv.cpp.

Function Documentation

◆ test_conv()

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.

Here is the call graph for this function: