Revision 93cebb99
added BomControl class and to the scout sensor
scout/libscout/src/Sensors.cpp | ||
---|---|---|
50 | 50 |
wl_sender = new WirelessSender(node); |
51 | 51 |
paintboard = new PaintBoardControl(node, scoutname); |
52 | 52 |
metal_detector = new MetalDetectorControl(node, scoutname); |
53 |
bom = new BomControl(node, scoutname); |
|
53 | 54 |
} |
54 | 55 |
|
55 | 56 |
// b_stuff stand for behavior control class |
... | ... | |
59 | 60 |
WirelessSender ** b_wl_sender, |
60 | 61 |
WirelessReceiver ** b_wl_receiver, |
61 | 62 |
PaintBoardControl ** b_paintboard, |
62 |
MetalDetectorControl ** b_metal_detector) |
|
63 |
MetalDetectorControl ** b_metal_detector, |
|
64 |
BomControl ** b_bom) |
|
63 | 65 |
{ |
64 | 66 |
//(MotorControl *)(* b_motors) = motors; |
65 | 67 |
*b_motors = motors; |
... | ... | |
71 | 73 |
*b_wl_receiver = new WirelessReceiver(node); |
72 | 74 |
*b_paintboard = paintboard; |
73 | 75 |
*b_metal_detector = metal_detector; |
76 |
*b_bom = bom; |
|
74 | 77 |
} |
Also available in: Unified diff