v0.4.0.7 interpreter improvement

This commit is contained in:
2025-05-29 16:15:14 +08:00
parent 66df4edbed
commit eb2463b943
9 changed files with 80 additions and 334 deletions

View File

@ -114,7 +114,7 @@ username, password = "luoshi", "luoshi2019"
INTERVAL, RADIAN, MAX_FRAME_SIZE, MAX_LOG_NUMBER, CYCLE = 1, 57.3, 1024, 10, 30
c_md, c_hr, c_ec, c_pd, conn, cursor, search_records, logger, count = None, None, None, None, None, None, None, None, 0
status = {"mysql": 0, "hmi": 0, "md": 0, "ec": 0}
c_joint_vel, c_servo_trq, c_sensor_trq, c_estimate_trans_trq, c_safety_estop = 1, 2, 3, 4, 3 # 各个指标所在列
c_joint_vel, c_servo_trq, c_sensor_trq, c_estimate_trans_trq, c_real_trq_res, c_predict_trq_res, c_safety_estop = 1, 2, 3, 4, 5, 6, 3 # 各个指标所在列
init_logdb()
t = threading.Thread(target=detect_db_size)