MCPcopy Create free account
hub / github.com/TeleHuman/TextOp / LoopState

Class LoopState

TextOpRobotMDAR/robotmdar/eval/loop_dar.py:43–50  ·  view source on GitHub ↗

State management for continuous motion generation.

Source from the content-addressed store, hash-verified

41
42
43class LoopState:
44 """State management for continuous motion generation."""
45
46 def __init__(self):
47 self.paused = False
48 self.text_prompt = "stand"
49 self.text_changed = True # Start with True to encode initial text
50 self.quit_requested = False
51
52
53def get_text_embedding(text: str, clip_model, device: str) -> torch.Tensor:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected