Project

General

Profile

Revision 71ae6e3f

ID71ae6e3f452c1dcbf4bcdffa4b4aa7607b17cc0f
Parent f425a9ff
Child 2d21076d

Added by Hui Jun Tay over 10 years ago

Basic sim framework for multiple BOMs written

View differences:

scout/scoutsim/src/scout.cpp
430 430
        }
431 431
    }
432 432

  
433
    void Scout::pub_BOM(bool bom_0) {
434
        BOM b;
435

  
436
        b.bom_0 = true;
437
        bom_pub.publish(b);
433
    void Scout::update_BOM(int bom_index, bool bom_value) {
434
        ROS_INFO("BOM%d: %d", bom_index, bom_value);
438 435
    }
439 436

  
440 437

  

Also available in: Unified diff