Revision 3d980d8f src/server/controller.cpp

View differences:

src/server/controller.cpp
111 111
    tilt -= relative.tilt_offset;
112 112
    roll -= relative.roll_offset;
113 113

  
114

  
114 115
    //build up absolute target:
115 116
    absolute_gaze.gaze_type  = GazeState::GAZETYPE_ABSOLUTE;
116 117
    absolute_gaze.pan   = pan + relative.pan;
117 118
    absolute_gaze.tilt  = tilt + relative.tilt;
118 119
    absolute_gaze.roll  = roll + relative.roll;
120
    printf("pan now = %4.1f, rel=%4.1f ===> %4.2f\n",pan,relative.pan,absolute_gaze.pan);
119 121

  
120 122
    //FIXME: use ros TF for that calculation...
121 123
    //see http://wiki.ros.org/tf/Tutorials/Time%20travel%20with%20tf%20%28C%2B%2B%29

Also available in: Unified diff