From b26609dd3dce845604e0a3c3511f56524a7cbf95 Mon Sep 17 00:00:00 2001 From: Jose Luis Garcia del Castillo Date: Thu, 15 Nov 2018 20:56:33 -0500 Subject: [PATCH] Reverted default `ToString()` to no labels (must extend this behavior to all the other types) --- CHANGELOG.md | 4 +++- src/Machina/Types/Joints.cs | 2 +- src/Machina/Types/Quaternion.cs | 2 +- src/Machina/Types/Rotation.cs | 2 +- src/Machina/Types/Vector.cs | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4065611..cd8ce65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,8 +36,10 @@ - Improved native type stringification. - TCP position and Axes are now displayed upon connection. - Fix typos on UR compiler -- Reverted back to UR `movel` motion on online due to SW3.0 problems. +- Reverted back to UR `movel` motion on online due to SW3.0 problems: https://github.com/RobotExMachina/Machina.NET/issues/7 - Additional error handling for UR dis/connection. +- Reverted default `ToString()` to no labels (must extend this behavior to all the other types) + --- # v0.8.4 diff --git a/src/Machina/Types/Joints.cs b/src/Machina/Types/Joints.cs index 3a7969a..57c2db4 100644 --- a/src/Machina/Types/Joints.cs +++ b/src/Machina/Types/Joints.cs @@ -159,7 +159,7 @@ public static Joints Add(Joints j1, Joints j2) public override string ToString() { - return this.ToString(true); + return this.ToString(false); } public string ToString(bool labels) diff --git a/src/Machina/Types/Quaternion.cs b/src/Machina/Types/Quaternion.cs index d5030be..803d466 100644 --- a/src/Machina/Types/Quaternion.cs +++ b/src/Machina/Types/Quaternion.cs @@ -843,7 +843,7 @@ public YawPitchRoll ToYawPitchRoll() public override string ToString() { - return this.ToString(true); + return this.ToString(false); } public string ToString(bool labels) diff --git a/src/Machina/Types/Rotation.cs b/src/Machina/Types/Rotation.cs index 3f601ee..e1a901e 100644 --- a/src/Machina/Types/Rotation.cs +++ b/src/Machina/Types/Rotation.cs @@ -317,7 +317,7 @@ public Orientation ToOrientation() public override string ToString() { - return this.ToString(true); + return this.ToString(false); } public string ToString(bool labels) diff --git a/src/Machina/Types/Vector.cs b/src/Machina/Types/Vector.cs index 9f3747b..6b69dd7 100644 --- a/src/Machina/Types/Vector.cs +++ b/src/Machina/Types/Vector.cs @@ -824,7 +824,7 @@ public bool Equals(Vector other) public override string ToString() { - return this.ToString(true); + return this.ToString(false); } public string ToString(bool labels)