Advanced Search

Search Results (Searched for: )

  • Philip Lydin
  • Philip Lydin
01 Apr 2025 00:10
Absolute encoder homing was created by Philip Lydin

Absolute encoder homing

Category: General LinuxCNC Questions

I’m trying to get my machine to home according to the position of the absolute encoders I have. I did the regular set up with ”HOME_ABSOLUTE_ENCODER = 2”. When I turn off the machine at let’s say z=10 and then turn it back on the machine remembers that z is 10. But when I then turn on my servos the encoders which also of course says z is 10 since it is the absolute position. The machine then thinks the machine has moved 10 and therefore z is now 20 on the screen. Is there a way to make the machine start at 0. I can upload the files tomorrow if I don’t find a fix. Regards Philip
  • snowgoer540
  • snowgoer540's Avatar
31 Mar 2025 22:39 - 31 Mar 2025 22:58
Replied by snowgoer540 on topic Couldn't get the WARNING icon in LcncDialog

Couldn't get the WARNING icon in LcncDialog

Category: Qtvcp

I made a few minutes to take a look at this tonight.  

I do see the behavior you describe, although the order is not the root cause. 

In this line:  github.com/LinuxCNC/linuxcnc/blob/bd9034...ialog_widget.py#L201

elif icon == 'INFO' or isinstance(icon,str): icon = QMessageBox.Information


it's this part that is causing issue:

isinstance(icon,str)


The icon value is set correctly to 'WARNING' on the go-in, but because but because icon is of type str, the second condition "isinstance(icon, str)" evaluates to True, and therefore never gets to check for 'WARNING'.

Perhaps it’s meant to be a catch all, in that case I agree it should move to last, but I want Chris to weigh in before I change it as I'm not quite sure of the purpose (if typo should we tell the user there’s a typo?).
Displaying 17566 - 17567 out of 17567 results.
Time to create page: 0.430 seconds
Powered by Kunena Forum