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

changing target location on the fly #64

Closed
dansoskin opened this issue Mar 3, 2020 · 2 comments
Closed

changing target location on the fly #64

dansoskin opened this issue Mar 3, 2020 · 2 comments

Comments

@dansoskin
Copy link

something weird is going on,
if i change the target to a smaller value than the previous one, it works ok.
if i change the target to a bigger value than the previous one, it only reaches the first value.

if i change direction on the fly, it will do emergency brake, then go back to starting position, stops, after that it will start moving to the new location.

also changing max speed on the fly acting weird (step controller)

@luni64
Copy link
Owner

luni64 commented Mar 3, 2020

You can not change target or speed or anything else while the motors are running.
See #59 and some other closed issues

The key feature of TeensyStep is to move a bunch of motors synchronized. If you would change the motor parameters of one of the motors during a move you'd necessarily loose sync between the motors.

@dansoskin
Copy link
Author

thanks alot for the quick reply

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

2 participants