Revision 8ae3771a
change type of bom reading to include sender
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