Project

General

Profile

Revision 8ae3771a

ID8ae3771af6e41759df00f7b9892697aa48526696
Parent 797244ed
Child 46ed9b9b

Added by Yuyang Guo over 10 years ago

change type of bom reading to include sender

View differences:

scout/libscout/src/BomControl.cpp
45 45
        node.serviceClient< ::messages::query_boms>(scoutname+"/query_BOM");
46 46
}
47 47

  
48
vector<uint32_t> BomControl::query()
48
BomReadings BomControl::query()
49 49
{
50 50
    ::messages::query_boms srv;
51 51

  
......
60 60
                 int(srv.response.readings.size()));
61 61
    }
62 62

  
63
    return srv.response.readings;
63
    BomReadings result;
64
    result.readings = srv.response.readings;
65
    result.senders = srv.response.senders;
66
    return result;
64 67
}
65 68

  

Also available in: Unified diff