diff --git a/simulation/traffic_simulator/src/helper/ostream_helpers.cpp b/simulation/traffic_simulator/src/helper/ostream_helpers.cpp index 891699327b5..c98269dfa0c 100644 --- a/simulation/traffic_simulator/src/helper/ostream_helpers.cpp +++ b/simulation/traffic_simulator/src/helper/ostream_helpers.cpp @@ -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; }