Ignore:
Timestamp:
10/04/18 13:53:11 (6 years ago)
Author:
Sanahuja Guillaume
Message:

flairgcs:
speed up processing time when receiving datas from uav
triger watchdog while receiving datas from uav
(avoids connection lost in uav)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/Vector3DSpinBox.cpp

    r199 r269  
    146146}
    147147
    148 void Vector3DSpinBox::LoadEvent(QDomElement dom) {
     148void Vector3DSpinBox::LoadEvent(QDomElement *dom) {
    149149  if (doublespinbox[0].isEnabled()) {
    150     doublespinbox[0].setValue((dom.attribute("value_x")).toDouble());
     150    doublespinbox[0].setValue((dom->attribute("value_x")).toDouble());
    151151  }
    152152  if (doublespinbox[1].isEnabled()) {
    153     doublespinbox[1].setValue((dom.attribute("value_y")).toDouble());
     153    doublespinbox[1].setValue((dom->attribute("value_y")).toDouble());
    154154  }
    155155  if (doublespinbox[2].isEnabled()) {
    156     doublespinbox[2].setValue((dom.attribute("value_z")).toDouble());
     156    doublespinbox[2].setValue((dom->attribute("value_z")).toDouble());
    157157  }
    158158}
Note: See TracChangeset for help on using the changeset viewer.