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.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