expired date & brake speed setting format modification

This commit is contained in:
2025-06-16 09:10:11 +08:00
parent eb2463b943
commit 790a4985e7
6 changed files with 10 additions and 7 deletions

View File

@ -215,7 +215,7 @@ class DoBrakeTest(QThread):
rl_cmd = f"brake_E(j{axis}_{reach}_p, j{axis}_{reach}_n, p_speed, p_tool);"
elif pon == "negative":
rl_cmd = f"brake_E(j{axis}_{reach}_n, j{axis}_{reach}_p, p_speed, p_tool);"
rl_speed = f"VelSet {speed};"
rl_speed = f"VelSet({speed});"
rl_tool = f"tool p_tool = {self.tool};"
cmd = "cd /home/luoshi/bin/controller/; "
cmd += f'sudo sed -i "/brake_E/d" projects/{prj_name}/_build/brake/main.mod; '