Spaces:
Running
Running
Fixed the timing problem !
Browse files- rmscript_app/main.py +1 -3
rmscript_app/main.py
CHANGED
|
@@ -222,9 +222,7 @@ class RmscriptApp(ReachyMiniApp):
|
|
| 222 |
body_yaw=action.body_yaw,
|
| 223 |
duration=action.duration,
|
| 224 |
)
|
| 225 |
-
#
|
| 226 |
-
wait_time = action.duration + 0.05
|
| 227 |
-
self._interruptible_sleep(wait_time)
|
| 228 |
elif action.type == "wait":
|
| 229 |
self._interruptible_sleep(action.duration)
|
| 230 |
elif action.type == "picture":
|
|
|
|
| 222 |
body_yaw=action.body_yaw,
|
| 223 |
duration=action.duration,
|
| 224 |
)
|
| 225 |
+
# goto_target() is blocking - it waits for task completion internally
|
|
|
|
|
|
|
| 226 |
elif action.type == "wait":
|
| 227 |
self._interruptible_sleep(action.duration)
|
| 228 |
elif action.type == "picture":
|