Project

General

Profile

Revision 1d198f8b

ID1d198f8b14a343392741d9c3f4564da95565bd05
Parent 2380e2a4
Child ac55b507

Added by Yuyang Guo over 10 years ago

more bug fixes to BOM control

View differences:

scout/.gitignore
36 36
*/CMakeFiles
37 37
*/CMakeCache.txt
38 38
libscout/Makefile
39
libscout/cmake_install.cmake
39
*/cmake_install.cmake
40 40
*/Makefile
41 41

  
42 42
*.swp
scout/scoutsim/src/scout.cpp
453 453
    void Scout::update_BOM(int bom_index,
454 454
                           unsigned int bom_value,
455 455
                           unsigned int sender) {
456
        ROS_INFO("BOM%d: %d", bom_index, bom_value);
457 456
        BOM_readings[bom_index] = bom_value;
458 457
        BOM_senders[bom_index] = sender;
459 458
    }
scout/scoutsim/src/sim_frame.cpp
792 792
                    }
793 793
                else {
794 794
                        
795
                        it->second->update_BOM(i, 1, 0);
795
                        it->second->update_BOM(i, 0, 0);
796 796
                            // TODO: change to last arg to actual sender ID
797 797
                        
798 798
                }

Also available in: Unified diff