Skip to content

Conversation

@guirodrigueslima
Copy link
Contributor

A new feature has been implemented in the motorParker module to define motor resolution. It is now possible to configure MRES and motor resolution separately.

@guirodrigueslima guirodrigueslima force-pushed the motorParker branch 2 times, most recently from 1789250 to 8a63179 Compare September 1, 2025 18:25
@guirodrigueslima guirodrigueslima changed the title Update motorParker module base: update motorParker module Sep 1, 2025
@gustavosr8
Copy link
Contributor

On commit message:

"The configure controller function" -> "The configureController function"

@gustavosr8
Copy link
Contributor

I'm a bit annoyed by the entry in CHANGES.md. The v0.14.1 changelog shows an update in motorParker as a bug fix (#120). Now, we are adding the same entry as a new feature. Is there a way to disambiguate these two?

@gustavosr8
Copy link
Contributor

The R1-1-1-oem-4 tag says on its release notes that "motor status was included". Wdyt about adding some reference to this feature in the commit message?

@guirodrigueslima guirodrigueslima force-pushed the motorParker branch 2 times, most recently from 3947a1b to 20d4123 Compare October 7, 2025 16:02
CHANGES.md Outdated

* base: update motorParker module. by @guirodrigueslima in
https://github.com/cnpem/epics-in-docker/pull/124
* motorParker module define motor resolution and motor status was included.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Message suggestion. Wdyt?

Added support to get motor status and to define motion resolution.

@gustavosr8
Copy link
Contributor

gustavosr8 commented Oct 7, 2025

Commit message suggestion:

base: update motorParker module.

  • The module now defines motor resolution that can be configured
    separated from MRES;
  • Motor status MSTA field was included;
  • The configureController() function was created to allow the controller
    to be reconfigured in case it is restarted.

Copy link
Collaborator

@henriquesimoes henriquesimoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please turn the commit message into non-itemized text paragraphs? That's the way we are used to have them in most Free and Open Source Software projects.

Here goes a suggestion:

base: update motorParker module.

A new feature has been implemented in the motorParker module to define
motor resolution. It is now possible to configure MRES and motor
resolution separately. In addition, the motor status MSTA field was
included. Furthermore, the configureController() function was created to
allow the controller to be reconfigured in case it is turned off and on
again.

Notice that I mostly added conjunctions, besides hard wrapping to 72 columns ;) In Vim, you should be able to wrap automatically by using gqip in normal mode.

@henriquesimoes
Copy link
Collaborator

henriquesimoes commented Oct 7, 2025

Ops. I think our reviews crossed, @gustavosr8.

Copy link
Collaborator

@henriquesimoes henriquesimoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gustavosr8, please give a second look and see if any of your suggestions are still applicable, as @guirodrigueslima applied my suggestions.

Sorry about the overlapped review.

@gustavosr8
Copy link
Contributor

gustavosr8 commented Oct 7, 2025

Just some modifications to simplify a little the commit message. Here is my suggestion:

A new feature has been implemented to define motor resolution. It is now
possible to configure it and MRES separately. In addition, the motor
status MSTA field was included. Furthermore, the configureController()
function was created to allow the controller to be reconfigured in case
it is restarted.

@gustavosr8
Copy link
Contributor

Sorry about the overlapped review.

No problem! Your suggestion was better than mine :)

@henriquesimoes
Copy link
Collaborator

@guirodrigueslima, I'm not sure you noticed, but as soon as I merged #123 a conflict resolution became necessary for this PR. When you rebase it, please also take into account the Gustavo's last suggestion (which I tweaked slightly):

 A new feature has been implemented to define motor resolution. It is now
 possible to configure it and MRES separately. In addition, the motor
 status MSTA field was included, and the configureController() function
 was created to allow the controller to be reconfigured in case it is
 restarted.

 A new feature has been implemented to define motor resolution. It is now
 possible to configure it and MRES separately. In addition, the motor
 status MSTA field was included, and the configureController() function
 was created to allow the controller to be reconfigured in case it is
 restarted.

* base: update motorParker module. by @guirodrigueslima in
https://github.com/cnpem/epics-in-docker/pull/124
* Support for motor resolution, motor status and reconfiguration upon reconnection added.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just notice a small nit here. Please wrap the text at 79 chars

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

Successfully merging this pull request may close these issues.

4 participants