Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/source/Support/bskKnownIssues.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Version |release|
3.7 upgrade.
- Monte Carlo now applies nested dispersion paths and randomized ``RNGSeed`` modifications to the actual
simulation objects.
- The :ref:`linearTranslationNDOFStateEffector` getter assertion no longer references the spinning-body-only
degree-of-freedom counter, fixing source builds where that assertion is compiled. The related
:ref:`spinningBodyNDOFStateEffector` getter assertion now rejects the first out-of-range index.
- SWIG 4.4.0 caused Basilisk build failures in some Python 3.13+ source-build configurations.
Basilisk now requires SWIG 4.4.1 or a newer supported 4.x release, which provides SWIG ABI 5 support
for Basilisk and compatible plugins. If source builds fail with SWIG 4.4.0 or emit
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fixed N-DoF getter assertions in :ref:`linearTranslationNDOFStateEffector` and :ref:`spinningBodyNDOFStateEffector`.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void LinearTranslationNDOFStateEffector::addTranslatingBody(const std::shared_pt

/*! This method is used to get a translating body. */
std::shared_ptr<TranslatingBody> LinearTranslationNDOFStateEffector::getTranslatingBody(uint64_t index) {
assert(("Index can't be greater than the number of degrees of freedom of the effector", index <= this->numberOfDegreesOfFreedom));
assert(("Index must be less than the number of translating body axes", index < static_cast<uint64_t>(this->N)));

return this->translatingBodyVec.at(index);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ void SpinningBodyNDOFStateEffector::addSpinningBody(const std::shared_ptr<Spinni
}

std::shared_ptr<SpinningBody> SpinningBodyNDOFStateEffector::getSpinningBody(uint64_t index) {
assert(("Index can't be greater than the number of degrees of freedom of the effector", index <= this->numberOfDegreesOfFreedom));
assert(("Index must be less than the number of degrees of freedom of the effector",
index < static_cast<uint64_t>(this->numberOfDegreesOfFreedom)));

return this->spinningBodyVec.at(index);
}
Expand Down
Loading