Skip to content
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

Set GearRatio on SyncAxis/SyncAxisMover in Init not cyclic #102

Open
ctrostel90 opened this issue Feb 14, 2025 · 0 comments
Open

Set GearRatio on SyncAxis/SyncAxisMover in Init not cyclic #102

ctrostel90 opened this issue Feb 14, 2025 · 0 comments

Comments

@ctrostel90
Copy link

Inside the SyncToAxis and SyncToMover calls the gear ratio is locked 1-1. The simple solution for a user that wants to have a non 1-1 gear ratio is to override the method in the Application mover and re-implement in it's entirety. Which is rather cumbersome when only the assignment is all that's needed.

A proposed elegant solution is if the values are already initialized to be 1-1 in the declaration of the Sync function blocks. The user can then extend the SyncToAxis/Mover calls with a new named block (Something like SyncToAxisRatio for example) and then simply call the Super's method

Image

Thoughts? This proposed solution allows for a most users that don't need a 1-1 ratio to continue on as normal and allows users to easily expand if they want access to the optional parameters. This seemed the simplest but open to other ideas/suggestions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant