-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird initial popups in axis #9
Comments
It looks like rtapi_print treats the message as an error (which is ultimately what is getting called by hm2, see here and here). In addition, that error is then passed through to the linuxcnc.error_channel in Python, which axis is picking up. I've seen similar non errors pop up as well, such as in the lutn component. I believe at some point machinekit-hal started exposing additional error messages through to the NML error_channel, but I'm not sure when. Before, the various components that were printing debugging messages as errors were silently ignored or simply logged to some file rather than being exposed to the error_channel. I imagine the fix is going through and changing debugging messages to a more appropriate log level, such as INFO or DEBUG. |
This is definitely about machinekit/machinekit-hal#318 bullet # 3. At some point, the EMC error channel was hijacked and all logs funneled through it, but that was originally meant only for carrying EMC-related application messages. A look through the LinuxCNC code will show the original intent. That behavior should be restored, and a separate ∅MQ channel between I took a crack at it a year or so ago, but after an enormous amount of work I still couldn't quite get it all straight and mothballed the project. |
Every time I have run any hm2_soc based axis configuration I have been able to come up with in EmcApp it initially looks like this:
Exactly 11 messages I have to close each time I test on a physical hm2 setup.
The console looks like this:
And the config I have been able to come up with so far is here:
Hal log: (from DE0_Nano_soc)
The text was updated successfully, but these errors were encountered: