-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Milestone
Description
May be more a question than an issue.
From a partner lab I got the following question:
- User set JOGR to 1
- User sets JOGF to 1 (without resetting JOGR)
- Motor stops
- Set JOGF to 1 again -> nothing happens
- Set JOGF=1 again -> motor moves backward
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) ?
Metadata
Metadata
Assignees
Labels
No labels