Revision 676cbe0e
Integrated paintboard and metal detector control classes more fully.
scout/libscout/src/Behavior.cpp | ||
---|---|---|
55 | 55 |
name = my_name; |
56 | 56 |
keep_running = true; |
57 | 57 |
sensors->init(&motors, &buttons, &sonar, &encoders, &linesensor, |
58 |
&wl_sender, &wl_receiver); |
|
58 |
&wl_sender, &wl_receiver, &paintboard, &metal_detector);
|
|
59 | 59 |
wl_receiver->register_callback(std::bind(&Behavior::default_callback, |
60 | 60 |
this, std::placeholders::_1)); |
61 | 61 |
|
Also available in: Unified diff