Robot Homing Issue

More
06 Oct 2024 19:16 - 06 Oct 2024 19:20 #311428 by Project_Hopeless
I have a vismach sim of my hobby robot working with Axis GUI.  I'm having an issue with the homing the real robot. Both are using the same modified DH parameters.

I plan to only use witness marks to home the robot, no home or limit switches.  So Home_All should have no motion and just assume the arm is positioned at the witness marks. 

The problem is when I setup homing so there is no motion the kinematics are off and an error is generated. The cartesin XYZabc is wrong.
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_USE_INDEX = NO
HOME_SEQUENCE = 0
HOME_OFFSET = 0.0

When I use the HOME = -90 position for axis 2 the shoulder, from the sim, the kinematics are correct but it cause the robot to move even though HOME_SEARCH_VEL = 0 and HOME_LATCH_VEL = 0.
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_USE_INDEX = NO
HOME_SEQUENCE = 0
HOME_OFFSET = 0.0
HOME = -90.001

Is what I'm trying to do possible?

 

File Attachment:

File Name: moveo_swit...0-06.ini
File Size:6 KB

File Attachment:

File Name: moveo_dh.hal
File Size:1 KB
Attachments:
Last edit: 06 Oct 2024 19:20 by Project_Hopeless.

Please Log in or Create an account to join the conversation.

More
06 Oct 2024 19:48 #311433 by Aciera

Please Log in or Create an account to join the conversation.

More
07 Oct 2024 01:06 #311459 by Project_Hopeless
Replied by Project_Hopeless on topic Robot Homing Issue

Aciera post=311433 userid=25994Try:

HOME_OFFSET = 90.0
https://linuxcnc.org/docs/html/config/ini-homing.html#_home

Whoa, that was dicey, almost put the arm through the window.  It seemed like the HOME and _OFFSETT were cumulative with those settings ~180 degrees searching home.

After trial and error I think I have it working with both HOME_OFFSET and HOME set to the same value 90 & 90 or -90 & -90 depending on the specific axis. 

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum