Revision 1c758459 src/client/middleware_ros.cpp

View differences:

src/client/middleware_ros.cpp
29 29

  
30 30
#ifdef ROS_SUPPORT
31 31

  
32
#include <humotion/mouth.h>
33
#include <humotion/gaze.h>
32
#include "humotion/mouth.h"
33
#include "humotion/gaze.h"
34 34
#include <boost/range/algorithm/remove_if.hpp>
35 35
#include <boost/algorithm/string/classification.hpp>
36 36

  
......
131 131
    msg.eyeblink_request_left = gaze_state.eyeblink_request_left;
132 132
    msg.eyeblink_request_right = gaze_state.eyeblink_request_right;
133 133

  
134
    if (gaze_state.type == GazeState::ABSOLUTE){
135
        msg.type = humotion::gaze::ABSOLUTE;
134
    if (gaze_state.gaze_type == GazeState::GAZETYPE_ABSOLUTE){
135
        msg.gaze_type = humotion::gaze::GAZETYPE_ABSOLUTE;
136 136
    }else{
137
        msg.type = humotion::gaze::RELATIVE;
137
        msg.gaze_type = humotion::gaze::GAZETYPE_RELATIVE;
138 138
    }
139 139

  
140 140
    //add position to send queue

Also available in: Unified diff