Revision dff8ce51 src/server/server.cpp
src/server/server.cpp | ||
---|---|---|
97 | 97 |
//calculate loop delay: |
98 | 98 |
float loop_delay = 1000.0 / MOTION_UPDATERATE; |
99 | 99 |
boost::system_time timeout = get_system_time() + posix_time::milliseconds(loop_delay); |
100 |
|
|
100 |
/* |
|
101 | 101 |
//wait for incoming joint data: |
102 | 102 |
while (middleware->ok()){ |
103 | 103 |
//mw tick |
... | ... | |
120 | 120 |
} |
121 | 121 |
|
122 | 122 |
printf("> joint data arrived, will activate control loop now.\n"); |
123 |
|
|
123 |
*/ |
|
124 | 124 |
//fine, data is arriving, activate and run control loop: |
125 | 125 |
while (middleware->ok()){ |
126 | 126 |
//mw tick |
Also available in: Unified diff