Skip to content

Update hingedJointArrayMotor for full joint tracking control#1379

Merged
Will-Schwend merged 6 commits into
developfrom
feature/joint-array-tracking
Apr 30, 2026
Merged

Update hingedJointArrayMotor for full joint tracking control#1379
Will-Schwend merged 6 commits into
developfrom
feature/joint-array-tracking

Conversation

@Will-Schwend
Copy link
Copy Markdown
Contributor

@Will-Schwend Will-Schwend commented Apr 29, 2026

  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

This PR upgrades the hingedJointArrayMotor module to full tracking joint control.

The main additions are:

  • JointArrayStateMsgPayload is extended with stateDDots to carry desired joint accelerations.
  • hingedJointArrayMotor now uses reference joint acceleration feedforward in the commanded acceleration law
  • jointThrAllocation output payload population is updated to provide stateDDots defaults (zero) so legacy/static-reference usage remains behaviorally consistent.
  • hingedJointArrayMotor unit-test expected-torque helper was updated to match controller math (including wrapped angle error and acceleration feedforward).

Verification

Changes were validated with an updated unit test and by ensuring a scenario that used the corresponding modules were was unaffected.

Validation included:

  • updated unit test:
    • src/fswAlgorithms/effectorInterfaces/hingedJointArrayMotor/_UnitTest/test_hingedJointArrayMotor.py
  • unaffected scenario performance:
    • scenarioThrArmControl

Documentation

This PR adds and updates documentation for the upgraded controller:

  • src/fswAlgorithms/effectorInterfaces/hingedJointArrayMotor/hingedJointArrayMotor.rst
  • the release notes snippet in docs/source/Support/bskReleaseNotesSnippets/1379-joint-array-tracking.rst

Future work

N/A

@Will-Schwend
Copy link
Copy Markdown
Contributor Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5a80697e88

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@schaubh schaubh self-requested a review April 29, 2026 23:59
Copy link
Copy Markdown
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.

very minor comment to address, then good to push

@Will-Schwend Will-Schwend force-pushed the feature/joint-array-tracking branch from b4418e3 to 768251c Compare April 30, 2026 18:53
@Will-Schwend Will-Schwend merged commit 279c96d into develop Apr 30, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants