|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Go to the source code of this file.
Functions | |
| int | tfmini_parse (char c, char *parserbuf, unsigned *parserbuf_index, TFMINI_PARSE_STATE *state, float *dist) |
| int tfmini_parse | ( | char | c, |
| char * | parserbuf, | ||
| unsigned * | parserbuf_index, | ||
| TFMINI_PARSE_STATE * | state, | ||
| float * | dist | ||
| ) |
Definition at line 66 of file tfmini_parser.cpp.
References parser_state, STATE0_UNSYNC, STATE1_SYNC_1, STATE1_SYNC_2, STATE2_GOT_DIST_H, STATE2_GOT_DIST_L, STATE3_GOT_STRENGTH_H, STATE3_GOT_STRENGTH_L, STATE4_GOT_RESERVED, STATE5_GOT_QUALITY, STATE6_GOT_CHECKSUM, t1, and t2.
Referenced by TFMINI::collect().