Revision 2380e2a4
minor BOM control bug fixes
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