Project

General

Profile

Revision 2380e2a4

ID2380e2a48a8f7bf25ee8fda320cf278a3965e09e
Parent 9b5d3fff
Child 1d198f8b

Added by Yuyang Guo over 10 years ago

minor BOM control bug fixes

View differences:

scout/libscout/src/BomControl.cpp
42 42
    : node(libscout_node)
43 43
{
44 44
    query_client =
45
        node.serviceClient< ::messages::query_boms>(scoutname+"/query_boms");
45
        node.serviceClient< ::messages::query_boms>(scoutname+"/query_BOM");
46 46
}
47 47

  
48 48
vector<uint32_t> BomControl::query()
scout/libscout/src/test_behaviors/ApproachEmitter.cpp
34 34
}
35 35

  
36 36
void ApproachEmitter::run() {
37
    while (ok()) {
38
        vector<uint32_t> readings;
39
        readings = bom->query();
40
        ROS_INFO("front BOM readings %d", readings[0]);
41
    }
37 42
}

Also available in: Unified diff