Camera module handling of filename variable#1375
Merged
schaubh merged 1 commit intoApr 29, 2026
Merged
Conversation
edad8a4 to
874bbe0
Compare
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
schaubh
requested changes
Apr 29, 2026
Contributor
schaubh
left a comment
There was a problem hiding this comment.
Just a minor thing to look at.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
Moves meanRevertingNoise.h/.cpp to _GeneralModuleFiles where abstract base classes belong. Creates a dedicated MJMeanRevertingNoise SWIG module there so Python subclassing of the base class continues to work.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
Moves StochasticAtmDensity out of meanRevertingNoise/ into its own folder with a dedicated MJStochasticAtmDensity SWIG module and .rst. Updates the unit test and scenarioStochasticDrag to import from the new module name.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
Moves StochasticDragCoeff out of meanRevertingNoise/ into its own folder with a dedicated MJStochasticDragCoeff SWIG module, .rst, and a new unit test that validates OU statistics on drag coefficient.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
Renames the folder, SWIG module (MJPIDControllers -> MJJointPIDController), and test file to match the single concrete class it contains. Adds JointPIDController.rst and updates scenarioBranchingPanels to import from the new module name.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
Moves StochasticAtmDensity out of meanRevertingNoise/ into its own folder with a dedicated MJStochasticAtmDensity SWIG module and .rst. Updates the unit test and scenarioStochasticDrag to import from the new module name.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
Moves StochasticDragCoeff out of meanRevertingNoise/ into its own folder with a dedicated MJStochasticDragCoeff SWIG module, .rst, and a new unit test that validates OU statistics on drag coefficient.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
Renames the folder, SWIG module (MJPIDControllers -> MJJointPIDController), and test file to match the single concrete class it contains. Adds JointPIDController.rst and updates scenarioBranchingPanels to import from the new module name.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
Moves meanRevertingNoise.h/.cpp to _GeneralModuleFiles where abstract base classes belong. Creates a dedicated MJMeanRevertingNoise SWIG module there so Python subclassing of the base class continues to work.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
Moves StochasticAtmDensity out of meanRevertingNoise/ into its own folder with a dedicated MJStochasticAtmDensity SWIG module and .rst. Updates the unit test and scenarioStochasticDrag to import from the new module name.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
Moves StochasticDragCoeff out of meanRevertingNoise/ into its own folder with a dedicated MJStochasticDragCoeff SWIG module, .rst, and a new unit test that validates OU statistics on drag coefficient.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
Renames the folder, SWIG module (MJPIDControllers -> MJJointPIDController), and test file to match the single concrete class it contains. Adds JointPIDController.rst and updates scenarioBranchingPanels to import from the new module name.
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
juan-g-bonilla
added a commit
that referenced
this pull request
Apr 29, 2026
carlo98
added a commit
to carlo98/basilisk
that referenced
this pull request
Apr 29, 2026
874bbe0 to
a722fa0
Compare
a722fa0 to
dd74669
Compare
Contributor
Author
|
I commited a version with two BSK_ERROR, but I was thinking that a nice idea could be do emit a BSK_ERROR if loading from the filesystem fails and a BSK_WARNING+zero output msg if the failures comes from the input msg. What do you think @schaubh ? |
Contributor
|
If loading fails I would rather have a BSK_ERROR. |
schaubh
approved these changes
Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixed camera module inconsistency with its documentation where images loaded via
filenameparameter were processed through filters but never published toimageOutMsg. Refactoredcamera.cppto ensure filename-loaded images follow the same processing and publishing pipeline as images fromimageInMsg.Verification
test_no_image_zero_msg()intest_camera.pyto verify zeroed-out output message when no image source is provided.Documentation
docs/source/Support/bskKnownIssues.rstto document the fix.Future work
Would be nice to have a module that loads images from a directory without having to manually change the
filenamevariable.