Add joint_position_tau parameter for smoother joint control and update related configurations

This commit is contained in:
Даниил Грабарь
2026-05-14 11:40:04 +10:00
parent 302eb3d8d7
commit c3d1de7b01
12 changed files with 74 additions and 11 deletions
@@ -16,6 +16,7 @@ class RobotCfg:
command_mode: str
description: str
fri_cycle_ms: int
joint_position_tau: float
@dataclass(frozen=True)
@@ -248,6 +249,7 @@ def build_settings(settings_path: str, check_files: bool = True) -> Settings:
command_mode=str(require(robot_raw, "command_mode")),
description=resolve_path(str(require(robot_raw, "description")), settings_dir),
fri_cycle_ms=int(robot_raw.get("fri_cycle_ms", 5)),
joint_position_tau=float(robot_raw.get("joint_position_tau", 0.04)),
)
# digital_twin