semin ahn / Mbed OS zeta_stm_kinetic

Dependencies:   BufferedSerial

Revision:
3:a4677501ae87
Parent:
2:0de4854743f7
--- a/variables/defineHeader.h	Thu Jun 10 01:23:00 2021 +0000
+++ b/variables/defineHeader.h	Tue Nov 30 08:13:05 2021 +0000
@@ -1,9 +1,21 @@
 #ifndef ZETA_STM_KINETIC_DEFINEHEADER_H_
 #define ZETA_STM_KINETIC_DEFINEHEADER_H_
-#include "pinConfig.h"
-#define NUM_THREAD         9  // 1 for test
-#define NUM_SONAR          10
-#define SONAR_FILTER_WS    5
+#include "configurations/pinConfig.h"
+#include "configurations/robotConfig.h"
+
+#define __FW_VERSION__  "stm_board1.2.5"
+#define NUM_THREAD  16  // 1 for test
+
+#if (ROBOT_TYPE == MODEL_C)
+#define NUM_SONAR  10
+#elif (ROBOT_TYPE == MODEL_D)
+#define NUM_SONAR  10
+#elif (ROBOT_TYPE == MODEL_I)
+#define NUM_SONAR  2
+#endif
+
 #define SEQ_STATE_MSG_SIZE 16
-#define G                  9.80665f
-#endif
+#define G  9.80665f
+
+#define ROSSERIAL_BUADRATE  460800
+#endif
\ No newline at end of file