refactor: remove command_mode from configuration and related files
This commit is contained in:
@@ -13,7 +13,6 @@ class RobotCfg:
|
||||
name: str
|
||||
ip: str
|
||||
port: int
|
||||
command_mode: str
|
||||
description: str
|
||||
fri_cycle_ms: int
|
||||
joint_position_tau: float
|
||||
@@ -247,7 +246,6 @@ def build_settings(settings_path: str, check_files: bool = True) -> Settings:
|
||||
name=str(require(robot_raw, "name")),
|
||||
ip=str(require(robot_raw, "ip")),
|
||||
port=int(require(robot_raw, "port")),
|
||||
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)),
|
||||
|
||||
Reference in New Issue
Block a user