1. tuned arrow mesh drawing

2. centralixzed arrow config in layout.py
3. seperate mesh render and display resolution to speed up (~40 fps)
This commit is contained in:
ykcheungab
2026-06-19 14:28:28 +08:00
parent 3fd9b839a9
commit 2e5c047d1e
19 changed files with 980 additions and 147 deletions
+5 -1
View File
@@ -23,9 +23,11 @@ class PipelineConfig:
threshold: float | None = None
viz_pose: str = DEFAULT_FINGER_VIZ_POSE
enable_3d: bool = True
use_color: bool = True
use_color: bool = False
lowpass_cutoff_hz: float = 5.0
force_sample_rate_hz: float = 30.0
profile: bool = False
profile_every: int = 30
@classmethod
def from_args(cls, args) -> "PipelineConfig":
@@ -39,6 +41,8 @@ class PipelineConfig:
viz_pose=args.viz_pose,
enable_3d=not args.no_3d,
lowpass_cutoff_hz=getattr(args, "cutoff", 5.0),
profile=getattr(args, "profile", False),
profile_every=getattr(args, "profile_every", 30),
)
@property