Felícito Manzano
/
CCN_Control_Bahia_TFMiniPlus
Actualizacion General del codigo para CCN con el objetivo de proveer mantenimiento estable.
Embed:
(wiki syntax)
Show/hide line numbers
lidar_tfminiplus.hpp
Go to the documentation of this file.
00001 /** 00002 * @file lidar_tfminiplus.hpp 00003 * @author Felícito Manzano (felicito.manzano@detektor.com.sv) 00004 * @brief 00005 * @version 0.1 00006 * @date 2021-05-23 00007 * 00008 * @copyright Copyright (c) 2021 00009 * 00010 */ 00011 00012 00013 #ifndef __LIDAR_TF_MINI_PLU_HPP 00014 #define __LIDAR_TF_MINI_PLU_HPP 00015 00016 // CONSTANTES LIDAR 00017 extern const char LIDAR_EXTERNAL_TRIGGER[9]; 00018 extern const char LIDAR_GI_CONFIGURATION[9]; 00019 extern const char LIDAR_GO_CONFIGURATION[9]; 00020 extern const char LIDAR_CHANGE_OUTPUT_1S[9]; 00021 extern const char LIDAR_SET_DISTANCE_500[9]; 00022 extern const char LIDAR_SET_EXTERNAL_TRI[9]; 00023 extern const char TFMINIPLUS_UPDATE_RATE[7]; 00024 extern const char TFMINIPLUS_TRIGGER_EXT[5]; 00025 extern const int LIDAR_BYTE0; 00026 extern const int DISTANCIA_VACIO; 00027 extern const int DECLARAR_LIDAR_VACIO; 00028 extern const int LIDAR_ERROR; 00029 00030 int leer_lidar(BufferedSerial *puerto_lidar, char mybuffer[18]); 00031 bool parsear_lidar(char mybuffer[18], int *lidar_dist); 00032 00033 00034 00035 #endif // __LIDAR_TF_MINI_PLU_HPP
Generated on Wed Jul 13 2022 06:43:22 by 1.7.2