Revision 8ae3771a
change type of bom reading to include sender
scout/libscout/src/BomControl.h | ||
---|---|---|
37 | 37 |
#include <ros/ros.h> |
38 | 38 |
#include <messages/query_boms.h> |
39 | 39 |
|
40 |
typedef struct BomReadings { |
|
41 |
std::vector<uint32_t> readings; |
|
42 |
std::vector<uint32_t> senders; |
|
43 |
} BomReadings; |
|
44 |
|
|
40 | 45 |
class BomControl |
41 | 46 |
{ |
42 | 47 |
public: |
... | ... | |
45 | 50 |
std::string scoutname); |
46 | 51 |
|
47 | 52 |
/** Use ROS to get the current readings. */ |
48 |
std::vector<uint32_t> query();;
|
|
53 |
BomReadings query();
|
|
49 | 54 |
|
50 | 55 |
/** */ |
51 | 56 |
//std::double getSourceEstimation(); |
Also available in: Unified diff