Project

General

Profile

Revision cfdb3afa

IDcfdb3afa0e50aa1385d0b3be55e3b374fabf9889
Parent 63e19141
Child 066b08bb, d2dedb17

Added by Alex Zirbel almost 4 years ago

Added latching to publishers so the first message gets noticed.

View differences:

scout/libscout/src/HeadlightControl.cpp
51 51
    : node(libscout_node)
52 52
{
53 53
    set_headlights_pub = node.advertise<headlights::set_headlights>
54
        (scoutname + "/set_headlights", QUEUE_SIZE);
54
        (scoutname + "/set_headlights", QUEUE_SIZE, true);
55 55
}
56 56

  
57 57
/**

Also available in: Unified diff