semin ahn / Mbed OS zeta_stm_kinetic

Dependencies:   BufferedSerial

Committer:
_seminahn
Date:
Wed May 26 05:26:16 2021 +0000
Revision:
1:2594a70c1ddd
Parent:
0:4ff8aeb3e4d1
Child:
2:0de4854743f7
sonar num 11 -> 10

Who changed what in which revision?

UserRevisionLine numberNew contents of line
_seminahn 0:4ff8aeb3e4d1 1 #ifndef ZETA_STM_KINETIC_CALLBACKHEADER_H_
_seminahn 0:4ff8aeb3e4d1 2 #define ZETA_STM_KINETIC_CALLBACKHEADER_H_
_seminahn 0:4ff8aeb3e4d1 3 #include "rosHeader.hpp"
_seminahn 0:4ff8aeb3e4d1 4 #include "mbed.h"
_seminahn 0:4ff8aeb3e4d1 5 #include "myUtil.hpp"
_seminahn 0:4ff8aeb3e4d1 6
_seminahn 1:2594a70c1ddd 7 //extern std_msgs::Bool UVCcontrolMsg;
_seminahn 0:4ff8aeb3e4d1 8 extern volatile bool isSubscribe;
_seminahn 0:4ff8aeb3e4d1 9 extern volatile uint8_t NUC_sub_state;
_seminahn 1:2594a70c1ddd 10 /*
_seminahn 1:2594a70c1ddd 11 void UVCcontrolCB(const std_msgs::Bool& msg) {
_seminahn 1:2594a70c1ddd 12 UVCcontrolMsg.data = msg.data;
_seminahn 0:4ff8aeb3e4d1 13 isSubscribe = true;
_seminahn 0:4ff8aeb3e4d1 14 }
_seminahn 1:2594a70c1ddd 15 */
_seminahn 0:4ff8aeb3e4d1 16
_seminahn 0:4ff8aeb3e4d1 17 void BluetoothCB(const std_msgs::UInt8& msg) {
_seminahn 0:4ff8aeb3e4d1 18 NUC_sub_state = msg.data;
_seminahn 0:4ff8aeb3e4d1 19 }
_seminahn 0:4ff8aeb3e4d1 20 #endif