Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: src/callbackHeader.hpp
- Revision:
- 1:2594a70c1ddd
- Parent:
- 0:4ff8aeb3e4d1
- Child:
- 2:0de4854743f7
--- a/src/callbackHeader.hpp Fri Apr 02 05:24:49 2021 +0000
+++ b/src/callbackHeader.hpp Wed May 26 05:26:16 2021 +0000
@@ -4,15 +4,15 @@
#include "mbed.h"
#include "myUtil.hpp"
-extern zetabot_main::ModuleControlMsgs moduleControlMsg;
+//extern std_msgs::Bool UVCcontrolMsg;
extern volatile bool isSubscribe;
extern volatile uint8_t NUC_sub_state;
-
-void ModuleControlCB(const zetabot_main::ModuleControlMsgs& msg) {
- memcpy(moduleControlMsg.module_power,msg.module_power,sizeof(msg.module_power)/sizeof(bool));
- moduleControlMsg.pulifier = msg.pulifier;
+/*
+void UVCcontrolCB(const std_msgs::Bool& msg) {
+ UVCcontrolMsg.data = msg.data;
isSubscribe = true;
}
+*/
void BluetoothCB(const std_msgs::UInt8& msg) {
NUC_sub_state = msg.data;