Skip to content

Configurable mission constants - #629

Merged
patkenneally merged 10 commits into
developfrom
feature/configurable-mission-constants
Sep 11, 2026
Merged

patkenneally merged 10 commits into
developfrom
feature/configurable-mission-constants

Conversation

@patkenneally

@patkenneally patkenneally commented Aug 7, 2026 •

Copy link
Copy Markdown
Collaborator

Description

This PR adds a CMake configuration parameter XMERA_MISSION_PARAMETERS_DIR. If this directory is set and contains a parameters.h file that completely overrides the core system macros in defaults/mission/parameters.h, then the project will build with the overriding macros. This impacts message payloads and modules generally.

Verification

All test run successfully. This change surfaced macro bugs where previous developers copy and pasted but got lucky because macros were set to the same value and then never changed.

Documentation

Updated documentation has been added for this build configuration.

Future work

This is the first step in a further features to customize spacecraft configuration at compilation.

@patkenneally patkenneally linked an issue Aug 7, 2026 that may be closed by this pull request
@patkenneally patkenneally self-assigned this Aug 7, 2026
@patkenneally
patkenneally force-pushed the feature/configurable-mission-constants branch from 021d565 to 68ac373 Compare August 7, 2026 03:43
@patkenneally
patkenneally marked this pull request as draft August 7, 2026 04:12
@patkenneally
patkenneally force-pushed the feature/configurable-mission-constants branch 3 times, most recently from b049eee to 35a6e6f Compare August 7, 2026 21:23
@patkenneally
patkenneally marked this pull request as ready for review August 7, 2026 21:29
@patkenneally
patkenneally force-pushed the feature/configurable-mission-constants branch 2 times, most recently from acf0c80 to 85c311a Compare August 7, 2026 22:39

@JulianHammerl JulianHammerl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Awesome.

@patkenneally
patkenneally force-pushed the feature/configurable-mission-constants branch from 85c311a to 4da575a Compare August 20, 2026 16:56
@patkenneally
patkenneally force-pushed the feature/configurable-mission-constants branch 2 times, most recently from 57658eb to 7aa85ae Compare September 10, 2026 19:46
@patkenneally
patkenneally merged commit 93c2369 into develop Sep 11, 2026
5 checks passed
@patkenneally
patkenneally deleted the feature/configurable-mission-constants branch September 11, 2026 20:04
@github-project-automation github-project-automation Bot moved this to Done in Xmera Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add ability to provide a mission definitions.h file

2 participants