-
Notifications
You must be signed in to change notification settings - Fork 49
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
Q: What should happen when JOGR and JOGF are active #170
Comments
I think that it makes sense to take into account the New Target Monitor field ( |
Thanks for thinking about that.
|
I can see why applying If I was the user and I issued a One thing to keep in mind is that it is possible to put the motor record into a state where both |
@kmpeters You could prevent both |
@anjohnson, @kmpeters: I can rebase it onto the master branch and make a proper PR |
I don't claim to know whether all the MIP bit manipulation is correct there, but your suggestion looks like it should implement the last-put-wins behavior. I also don't know whether that's appropriate given whatever the |
As I understand it, we don't mess up the MIP: |
This looks good to me. |
The master version can be find here. |
May be more a question than an issue.
From a partner lab I got the following question:
From the code we can see, that the motor is commanded backwards if JOGR is set (pmr->jogr),
regardless of JOGF.
My understanding is, that most GUIs don't allow JOGF and JOGR to be active at the same time -
problem solved.
Beside that, is there a good way to make the motorRecord more better-behaved in this scenario?
I have some option in mind:
a) The latest JOGX command "wins". When JOGR is activated, JOGF is reset, if needed.
And vice versa
b) The first JOGX command wins. The second one is ignored.
c) Both JOGR and JOGF are reset, motor is stopped.
Are there any opinions (before I start the coding) ?
The text was updated successfully, but these errors were encountered: