- Configuring LinuxCNC
- Advanced Configuration
- robot joint offsets required to overcome internal absolute encoder
robot joint offsets required to overcome internal absolute encoder
Maybe try the "HOME" or "HOME_OFFSET" values in the [JOINT_n] sections or the "HOME" values in the [TRAJ] of the ini file to compensate for those theta rotations.We need a way to add back into the system the "theta" values for following so the robot poses correctly in sim and kinematics work correctly.
The simulation model needs to reflect any joint rotations that were made to accommodate the lack of theta values in genserkins dh-parameters.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It is certainly part of the calculation, though I would have to experiment to see what the result is as the description in the docs is a little unclear:Not sure HOME_OFFSET works with absolute encoders.
linuxcnc.org/docs/stable/html/config/ini...t__lt_num_gt_section
Please Log in or Create an account to join the conversation.
[JOINT_1] ... HOME = -90.001 ...
[JOINT_4] ... HOME = 90.001 ...
but I just checked the [TRAJ] HOME setting and using this might actually be preferable as that sets the zero pose (all joints at zero position) to be the same as is usually used in serial manipulator documentation:
[TRAJ]
...
HOME 0 -90 0 0 90 0
...
And again your vismach model's inital joint (zero) positions need to be the same as what you had to rotate the joints to in order to derive the dh-parameters. ie if you had to rotate joint1 by 90° as in the dh-parameter documentation (due to the lack of theta parameter in genserkins) then your model's inital position needs to have its arm pointing to the floor and not straight out.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
And again your vismach model's inital joint (zero) positions need to be the same as what you had to rotate the joints to in order to derive the dh-parameters. ie if you had to rotate joint1 by 90° as in the dh-parameter documentation (due to the lack of theta
parameter in genserkins) then your model's inital position needs to have its arm pointing to the floor and not straight out.
In hindsight should have used the melfa-sim/melfa.ini from the start. Would have saved me a lot of time.
Making some progress now.
I could really do with someone that knows exactly what they are doing. I'm happy to pay for a review and code changes to get me over the line. I'm struggling with the last 1% of effort that is really hurting my brain and general wellbeing.
Please Log in or Create an account to join the conversation.
github.com/djsftree/linuxcnc_meca500
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- robot joint offsets required to overcome internal absolute encoder