Revision 071926c2 scout/libscout/src/HeadlightControl.cpp

View differences:

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

  
......
85 85
 */
86 86
void HeadlightControl::set_rgb(int red, int green, int blue, int which)
87 87
{
88
    headlights::set_headlights msg;
88
    ::messages::set_headlights msg;
89 89

  
90 90
    if(which & HL_LEFT)
91 91
    {

Also available in: Unified diff