Architecture independent I2C (Inter-Integrated Circuit Bus) API.
Paparazzi floating point algebra.
void tfmini_event(void)
Lidar event function Receive bytes from the UART port and parse them.
void tfmini_parse(uint8_t byte)
Parse the lidar bytes 1 by 1.
struct link_device * device
enum TFMiniParseStatus parse_status
void tfmini_send_abi(void)
void tfmini_init(void)
Initialization function.
@ TFMINI_PARSE_STRENGTH_L
@ TFMINI_PARSE_STRENGTH_H
void sim_overwrite_lidar(void)
void setLidarDistance_f(float distance)
Set the distance of the lidar This function is used in NPS to set the distance of the lidar.
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.