Revision 5d7ba19c src/server/server.cpp
| src/server/server.cpp | ||
|---|---|---|
| 100 | 100 |
|
| 101 | 101 |
printf("> one loop = %3.1fms\n",loop_delay);
|
| 102 | 102 |
|
| 103 |
printf("> waiting for incoming joint states\n");
|
|
| 104 |
|
|
| 103 | 105 |
//wait for incoming joint data: |
| 104 | 106 |
while (middleware->ok()){
|
| 105 | 107 |
//mw tick |
| ... | ... | |
| 122 | 124 |
} |
| 123 | 125 |
|
| 124 | 126 |
printf("> joint data arrived, control loop active.\n");
|
| 127 |
controller->set_activated(); |
|
| 125 | 128 |
|
| 126 | 129 |
//fine, data is arriving, activate and run control loop: |
| 127 | 130 |
while (middleware->ok()){
|
Also available in: Unified diff