Revision 32327f15 src/server/controller.cpp

View differences:

src/server/controller.cpp
31 31
#include "server/eyebrow_motion_generator.h"
32 32
#include "server/neck_motion_generator.h"
33 33
#include "server/mouth_motion_generator.h"
34
#include "timestamp.h"
34 35

  
35 36
using namespace std;
36 37
using namespace humotion;
......
92 93
    //incoming gaze state wants to set a relative gaze angle
93 94
    //in order to calc the new absolute gaze, we need to go back
94 95
    //in time and find out where the head was pointing at that specific time:
95
    double relative_target_timestamp = relative.timestamp;
96
    Timestamp relative_target_timestamp = relative.timestamp;
96 97

  
97 98
    //fetch head / camera pose during that timestamp:
98 99
    double neck_pan  = joint_interface->get_ts_position(JointInterface::ID_NECK_PAN).get_interpolated_value(relative_target_timestamp);

Also available in: Unified diff