Commit 71a63d00 authored by Mariano Lizarraga's avatar Mariano Lizarraga

Minor changes to Slugs signals

parent b2bb46b9
...@@ -29,6 +29,8 @@ SlugsMAV::SlugsMAV(MAVLinkProtocol* mavlink, int id) : ...@@ -29,6 +29,8 @@ SlugsMAV::SlugsMAV(MAVLinkProtocol* mavlink, int id) :
UAS(mavlink, id)//, UAS(mavlink, id)//,
// Place other initializers here // Place other initializers here
{ {
} }
/** /**
...@@ -65,6 +67,8 @@ void SlugsMAV::receiveMessage(LinkInterface* link, mavlink_message_t message) ...@@ -65,6 +67,8 @@ void SlugsMAV::receiveMessage(LinkInterface* link, mavlink_message_t message)
emit valueChanged(uasId, tr("ControlDSC Load"), cpu_load.ctrlLoad, time); emit valueChanged(uasId, tr("ControlDSC Load"), cpu_load.ctrlLoad, time);
emit valueChanged(uasId, tr("Battery Volt"), cpu_load.batVolt, time); emit valueChanged(uasId, tr("Battery Volt"), cpu_load.batVolt, time);
emit newCpuLoad (uasId, &cpu_load);
break; break;
} }
case MAVLINK_MSG_ID_AIR_DATA: case MAVLINK_MSG_ID_AIR_DATA:
......
...@@ -25,6 +25,7 @@ This file is part of the QGROUNDCONTROL project ...@@ -25,6 +25,7 @@ This file is part of the QGROUNDCONTROL project
#define SLUGSMAV_H #define SLUGSMAV_H
#include "UAS.h" #include "UAS.h"
#include "mavlink.h"
class SlugsMAV : public UAS class SlugsMAV : public UAS
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment