LinuxCNC / linuxcnc

LinuxCNC controls CNC machines. It can drive milling machines, lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and more.
http://linuxcnc.org/
GNU General Public License v2.0
1.82k stars 1.17k forks source link

show_errors prints kernel log when using rt_preempt #657

Open rene-dev opened 5 years ago

rene-dev commented 5 years ago

kernel log is not required when using rt_preempt. the simulator flag should be changed to userspace, but I dont know where it comes from. https://github.com/LinuxCNC/linuxcnc/blob/master/tcl/show_errors.tcl#L97

andypugh commented 5 years ago

Looks like here: https://github.com/LinuxCNC/linuxcnc/blob/e4495fe04b4a1310a75ddece7f407e97f7f27476/tcl/linuxcnc.tcl.in#L18

Maybe printing linuxcnc::REALTIME at that point would show the available values?