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

Refactor/refactor prescribed trans msg #599

Merged
merged 6 commits into from
Feb 12, 2024

Conversation

leahkiner
Copy link
Contributor

@leahkiner leahkiner commented Feb 9, 2024

  • Tickets addressed: bsk-598
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

This PR is a simple refactor to improve the clarity of the current PrescribedTransMsgPayload message. The name of this message is changed to LinearTranslationRigidBodyMsg, and the variables scalarPos and scalarVel are changed to rho and rhoDot, respectively. Further, the new name of this message makes the use case for this message more clear; as before it appeared that this message was specific to prescribed motion (which it is not). This refactor is driven by the new PrescribedTranslationMsgPayload that will be added in a subsequent PR. Clarity is needed to distinguish these two messages.

Verification

No additional verification is needed for this refactor

Documentation

No additional documentation is needed for this refactor

Future work

N/A

@leahkiner leahkiner added the refactor Clean up with no new functionality label Feb 9, 2024
@leahkiner leahkiner self-assigned this Feb 9, 2024
@leahkiner leahkiner requested a review from pejo3543 February 9, 2024 23:44
@leahkiner leahkiner force-pushed the refactor/refactor-prescribedTransMsg branch from a4a19d6 to 2cbd75f Compare February 9, 2024 23:46
@leahkiner leahkiner force-pushed the refactor/refactor-prescribedTransMsg branch 2 times, most recently from 605d8ff to 66b6c23 Compare February 10, 2024 23:02
Copy link
Contributor

@schaubh schaubh left a comment

Choose a reason for hiding this comment

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

I'm ok with this PR

The module's PrescribedTransMsgPayload message is
replaced with the new LinearTranslationRigidBodyMsgPayload
message
The unit test PrescribedTransMsgPayload message is
replaced with the new LinearTranslationRigidBodyMsgPayload
message
@leahkiner leahkiner force-pushed the refactor/refactor-prescribedTransMsg branch from 66b6c23 to 3681485 Compare February 12, 2024 21:27
@leahkiner leahkiner force-pushed the refactor/refactor-prescribedTransMsg branch from b0395de to 7f92b76 Compare February 12, 2024 21:36
@leahkiner leahkiner merged commit cc25091 into develop Feb 12, 2024
2 checks passed
@leahkiner leahkiner deleted the refactor/refactor-prescribedTransMsg branch February 12, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Clean up with no new functionality
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Refactor PrescribedTransMsgPayload message to LinearTranslationRigidBodyMsgPayload message
4 participants