Skip to content

Commit

Permalink
feat: explicitly print the Frame
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-cochran committed Oct 5, 2023
1 parent 855a393 commit eb3b103
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OpenSpaceToolkit/Astrodynamics/Trajectory/State.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@ void State::print(std::ostream& anOutputStream, bool displayDecorator) const

ostk::core::utils::Print::Line(anOutputStream)
<< "Instant:" << (this->instant_.isDefined() ? this->instant_.toString() : "Undefined");
ostk::core::utils::Print::Line(anOutputStream)
<< "Frame:" << (this->frameSPtr_->isDefined() ? this->frameSPtr_->getName() : "Undefined");

if (!this->isDefined())
{
Expand Down

0 comments on commit eb3b103

Please sign in to comment.