[Issue#123] Job duration clears out after job done

未分类 bolang 6个月前 (10-14) 46次浏览

Issue #123 | 状态: 已关闭 | 作者: mandrav | 创建时间: 2017-01-22


Hi,

I ve noticed that the “job duration” field in GCode widget is cleared after the job is done.
It would be nice if it displayed the job duration until a new job starts or a new gcode file is loaded.

Keep up the great work.


评论 (6)

#1 – f0m3 于 2017-01-28

Yes. Thats a thing i noticed too. BTW… estimated duration would be cool too :)


#2 – cheton 于 2017-01-28

The duration estimation is one of the missing features from the very beginning. May I know if there are some algorithms or sample code that can be referenced for estimating duration? It will be great if it can also compute the acceleration and deceleration for better precision.


#3 – f0m3 于 2017-01-28

I know that universal gcode sender does it. Not extremely precise but ok…
Unfortunately i am new to git and java… i didn’t find the function in the sources… only this:
https://github.com/winder/Universal-G-Code-Sender/search?utf8=%E2%9C%93&q=estimatedTimeRemaining Maybe i can learn this way how to find such a function :-)


#4 – cheton 于 2017-01-29

Looks like UGS has commented out GrblSimulator and only makes a crude estimation by calculating timePerCode in current versions. I can add similar thing in v1.9, and try to fine tune the estimation function in later versions.



#5 – f0m3 于 2017-01-29

I think thats a quite slim way to estimate the remaining time when you dont want to parse the whole gcode file and calculate the duration for each Line from way and speed.


#6 – cheton 于 2017-02-08

Fixed in 1.9.0-alpha


原始Issue: https://github.com/cncjs/cncjs/issues/123

喜欢 (0)