Revision a8987cda
Fixes to WirelessReceiver and wl_test
Changed receive callback to use std::function so we can use std::bind to
pass non-static member functions. There is still a weird problem where
WirelessReceiver::dummy gets called many times for each incoming packet
in wl_test.
scout/libscout/CMakeLists.txt | ||
---|---|---|
36 | 36 |
set(CONTROL_CLASSES src/MotorControl.cpp src/SonarControl.cpp src/HeadlightControl.cpp src/ButtonControl.cpp src/WirelessSender.cpp src/WirelessReceiver.cpp src/EncodersControl.cpp src/LinesensorControl.cpp) |
37 | 37 |
|
38 | 38 |
rosbuild_add_executable(libscout ${MAIN_FILES} ${BEHAVIOR_FILES} ${TEST_BEHAVIOR_FILES} ${CONTROL_CLASSES} ${HELPER_FILES}) |
39 |
rosbuild_add_compile_flags(libscout -std=c++0x) |
|
39 | 40 |
rosbuild_add_executable(test_encoders src/test_encoders.cpp) |
Also available in: Unified diff