Skip to content

Commit

Permalink
fix: add missing ")" and structured output
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo authored Mar 3, 2025
1 parent 21531df commit 63abd17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion simulation/traffic_simulator/src/helper/ostream_helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ std::ostream & operator<<(std::ostream & os, const geometry_msgs::msg::Quaternio

std::ostream & operator<<(std::ostream & os, const geometry_msgs::msg::Pose & pose)
{
os << "Pose(position: " << pose.position << ", orientation: " << pose.orientation;
os << "Pose(\n";
os << " position: " << pose.position << "\n";
os << " orientation: " << pose.orientation << "\n";
os << ")";
return os;
}

Expand Down

0 comments on commit 63abd17

Please sign in to comment.