Aggiunte funzioni di lettura di Startup/Heartbeat
funzioni aggiunte nelle callback mqtt che segnalano il cambiamento con l'emit di commonStatusChange
This commit is contained in:
@@ -26,6 +26,8 @@ RoboGlue_GUI::RoboGlue_GUI(RoboGlue_SHARED *mem) : m(mem) {
|
||||
this, SLOT(deleteLater()), Qt::ConnectionType::QueuedConnection);
|
||||
connect(this, SIGNAL(pad_hoverEvent(QEvent *)),
|
||||
this, SLOT(on_pad_hoverEvent(QEvent *)));
|
||||
connect(m, SIGNAL(commonStatusChange()),
|
||||
this, SLOT(on_commonStatusChange));
|
||||
|
||||
/////// READ NAME DEFINITION JSON FILE //////////
|
||||
try {
|
||||
@@ -89,6 +91,7 @@ void RoboGlue_GUI::disableLockAxes(){
|
||||
////////////////////////////////////////////////
|
||||
void RoboGlue_GUI::on_commonStatusChange() {
|
||||
modlog->trace("on_commonStatusChange Received");
|
||||
// TODO: aggiungere e interpretare le flag per capire se i nodi ros sono tutti vivi dall'heartbeat
|
||||
}
|
||||
|
||||
void RoboGlue_GUI::on_pad_hoverEvent(QEvent* e) {
|
||||
|
||||
Reference in New Issue
Block a user