Skip to content

Commit d6dae14

Browse files
urmahpurfeex
andauthored
Apply suggestions from code review
Co-authored-by: Felix Exner <[email protected]>
1 parent e4c88e7 commit d6dae14

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/primary/robot_state/configuration_data.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,24 +92,25 @@ bool ConfigurationData::consumeWith(AbstractPrimaryConsumer& consumer)
9292
std::string ConfigurationData::toString() const
9393
{
9494
std::stringstream os;
95-
os << "Joint position limits: [";
95+
os << "ConfigurationData:" << std::endl;
96+
os << "Joint position limits: [" << std::endl;
9697
for (auto& limits : joint_position_limits_)
9798
{
98-
os << " {min: " << limits.joint_min_limit << ", max " << limits.joint_max_limit << "} ";
99+
os << " {min: " << limits.joint_min_limit << ", max " << limits.joint_max_limit << "} " << std::endl;
99100
}
100101
os << "]" << std::endl;
101-
os << "Joint motion limits: [";
102+
os << "Joint motion limits: [" << std::endl;
102103
for (auto& limits : joint_motion_limits_)
103104
{
104-
os << " {max joint speed: " << limits.joint_max_speed
105-
<< ", max joint acceleration: " << limits.joint_max_acceleration << "} ";
105+
os << " {max joint speed: " << limits.joint_max_speed
106+
<< ", max joint acceleration: " << limits.joint_max_acceleration << "} " << std::endl;
106107
}
107108
os << "]" << std::endl;
108109
os << "Velocity joint default: " << v_joint_default_ << std::endl;
109110
os << "Acceleration joint default: " << a_joint_default_ << std::endl;
110111
os << "Velocity tool default: " << v_tool_default_ << std::endl;
111112
os << "Acceleration tool default: " << a_tool_default_ << std::endl;
112-
os << "Eq radius: " << eq_radius_ << std::endl;
113+
os << "Equivalent radius: " << eq_radius_ << std::endl;
113114
os << "dh_a: [";
114115
for (size_t i = 0; i < dh_a_.size(); ++i)
115116
{

0 commit comments

Comments
 (0)