MCPcopy Create free account
hub / github.com/AGC-Drive/AGC-Drive / log_error

Function log_error

ToolBox/icp_python/script.py:33–34  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

31 print(f"{Colors.OKGREEN}[INFO]{Colors.ENDC} {datetime.now().strftime('%H:%M:%S')} - {msg}")
32
33def log_error(msg):
34 print(f"{Colors.FAIL}[ERROR]{Colors.ENDC} {datetime.now().strftime('%H:%M:%S')} - {msg}")
35
36def calc_trans_errors(R_true, t_true, R_est, t_est):
37 """计算变换误差"""

Callers 4

pyicpFunction · 0.70
process_single_fileFunction · 0.70
process_scenesFunction · 0.70
script.pyFile · 0.70

Calls 1

printFunction · 0.85

Tested by

no test coverage detected