We could add the message, but I guess the first thing I want to ask is what are you trying to do that you need this new peice of functionality? Perhaps there's a different way to do what you want already?
First: In MrlComm.h there is getCustomMsg() but in MrlComm.cpp is missing. So for me it is not normal.
Second: if i want process custom message, i can't clear custom message buffer.
I try to make Activator based on MrlComm. So i update only MrlComm.ino (Activator.ino) without modify the others files. The aim of Activator is control all power supply for InMoov, JAW servo controled with audio signal, NEO ring controled with audio signal, watchdog supervisor for reboot PC if his broken. When InMoov is shutdown, Activator is in sleep mode but always powered.
some times ago I add the customMsg so custom arduino code can use MRLComm to communicate in both way with MRL/python
Dom, there may be another way that I'm working on. It will allow to send/receive data thru serial of mega to use with any serial device (arduino or sensor) without using MRLComm as library.
For the moment, Activator arduino software is based on MrlComm version 40. I modify MrlComm.cpp and .h
My aim with the futur version is not modify all files, just make the ino file.
Activator has 2 modes, stand alone and run mode with MyRobotLab. In stand alone mode, Activator process sleep, presence sensor and control relay power for InMoov.
You can see on my schematics, all functionnalities.
Is it possible to add a
Is it possible to add a function to put customMsgSize = 0 ?
for example "clearCustomMsg()"
So in MrlComm.cpp i add
All things are possible, but why?
Hi Dom14,
We could add the message, but I guess the first thing I want to ask is what are you trying to do that you need this new peice of functionality? Perhaps there's a different way to do what you want already?
Best,
-Kevin
Hi, First: In MrlComm.h there
Hi,
First: In MrlComm.h there is getCustomMsg() but in MrlComm.cpp is missing. So for me it is not normal.
Second: if i want process custom message, i can't clear custom message buffer.
I try to make Activator based on MrlComm. So i update only MrlComm.ino (Activator.ino) without modify the others files. The aim of Activator is control all power supply for InMoov, JAW servo controled with audio signal, NEO ring controled with audio signal, watchdog supervisor for reboot PC if his broken. When InMoov is shutdown, Activator is in sleep mode but always powered.
Dom
Hi Dom there was some major
Hi Dom
there was some major change to MRLComm lately and it`s possible that the customMsg() have not be reinstalled. I will look at it as soon as I can
Another problem: setPixel
Another problem: setPixel function not exist anymore.
Dom.
digital pins and a relay?
Why do you need a custom message? why not just control a relay from a digital pin and use the normal digital pin write functionality?
See my previous post
See my previous post please.
Thank you
some times ago I add the
some times ago I add the customMsg so custom arduino code can use MRLComm to communicate in both way with MRL/python
Dom, there may be another way that I'm working on. It will allow to send/receive data thru serial of mega to use with any serial device (arduino or sensor) without using MRLComm as library.
But it`s still not ready
My project
Hi
You can see my project here : https://github.com/moz4r/Activator
For the moment, Activator arduino software is based on MrlComm version 40. I modify MrlComm.cpp and .h
My aim with the futur version is not modify all files, just make the ino file.
Activator has 2 modes, stand alone and run mode with MyRobotLab. In stand alone mode, Activator process sleep, presence sensor and control relay power for InMoov.
You can see on my schematics, all functionnalities.
(sorry for my bad english)
Dom.