PX4 Firmware
PX4 Autopilot Software http://px4.io
mavlink_simple_analyzer.cpp File Reference
#include "mavlink_simple_analyzer.h"
#include <float.h>
#include <px4_platform_common/log.h>
#include <px4_platform_common/defines.h>
Include dependency graph for mavlink_simple_analyzer.cpp:

Go to the source code of this file.

Functions

void convert_limit_safe (float in, uint16_t &out)
 
void convert_limit_safe (float in, int16_t &out)
 

Detailed Description

Author
Achermann Florian acflo.nosp@m.ria@.nosp@m.ethz..nosp@m.ch

Definition in file mavlink_simple_analyzer.cpp.

Function Documentation

◆ convert_limit_safe() [1/2]

void convert_limit_safe ( float  in,
uint16_t &  out 
)

Definition at line 150 of file mavlink_simple_analyzer.cpp.

Referenced by MavlinkStreamHighLatency2::write_fw_ctrl_status(), MavlinkStreamHighLatency2::write_global_position(), and MavlinkStreamHighLatency2::write_tecs_status().

Here is the caller graph for this function:

◆ convert_limit_safe() [2/2]

void convert_limit_safe ( float  in,
int16_t &  out 
)

Definition at line 163 of file mavlink_simple_analyzer.cpp.