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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user