Revision 10cae485 src/server/controller.cpp
| src/server/controller.cpp | ||
|---|---|---|
| 131 | 131 |
void Controller::set_gaze_target(GazeState new_gaze_target){
|
| 132 | 132 |
if (!activated){
|
| 133 | 133 |
//not yet initialized, ignore incoming targets |
| 134 |
printf("not activated\n");
|
|
| 134 | 135 |
return; |
| 135 | 136 |
} |
| 136 | 137 |
|
| 137 | 138 |
GazeState target_gaze; |
| 139 |
new_gaze_target.dump(); |
|
| 138 | 140 |
|
| 139 | 141 |
//relative or absolute gaze update? |
| 140 | 142 |
if (new_gaze_target.gaze_type == GazeState::GAZETYPE_RELATIVE){
|
Also available in: Unified diff