Project

General

Profile

Revision cfdb3afa

IDcfdb3afa0e50aa1385d0b3be55e3b374fabf9889

Added by Alex Zirbel over 3 years ago

Added latching to publishers so the first message gets noticed.

View differences:

scout/libscout/src/MotorControl.cpp
51 51
{
52 52
    set_motors_pub =
53 53
        node.advertise<motors::set_motors>(scoutname + "/set_motors",
54
                                           QUEUE_SIZE);
54
                                           QUEUE_SIZE, true);
55 55
    query_motors_client =
56 56
        node.serviceClient<motors::query_motors>(scoutname + "/query_motors");
57 57
}

Also available in: Unified diff