-
Notifications
You must be signed in to change notification settings - Fork 19
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
Fix trajectories velocity calculation from Velocity mode #124
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meant to place in-line comment
f2d4871
to
27e947b
Compare
e3d012f
to
09e18f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isAxisValid and isIndexValid need to be write into unique variables, or via another mean so one doesn't mask the error of the other
64f2d55
to
7a7c925
Compare
Remove call for removed subroutine (N112) Remove assignment of removed variable (VelMode) Rename clashing variables for ppmac trajectory Global variable Time clashes with Sys.Time element User defined variable Status breaks the Status screen IDE
Make the necessary changes to tpmac startAxisPointCmd to keep the same functioning
Move velocities to Q variables Fix Z_Axis definition for trajectory scan
Handle buffer rollover in trajectory velocity calculation from VelMode Rollback getVelocityMode
A_Vel_Adr was being calculated from the previous Z_Adr, which represents the Z position at the previous iteration. As the addresses are cascaded, all the velocities were shifted. Tidy up trajectory_scan_code for turbo PMAC Move the buffers addresses update to the end of subroutine making it more readable
Add comments for tScanPrevBufferPositions Add tScanGetPreviousPoint function Refactored to make obtaining the previous point for tScan velocity calculation more modular
7a7c925
to
2b5f1f8
Compare
This PR fixes the trajectories calculation from velocity mode.