Skip to content

Commit

Permalink
Reverted default ToString() to no labels (must extend this behavior…
Browse files Browse the repository at this point in the history
… to all the other types)
  • Loading branch information
garciadelcastillo committed Nov 16, 2018
1 parent 3f90391 commit b26609d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Machina/Types/Joints.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/Machina/Types/Quaternion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ public YawPitchRoll ToYawPitchRoll()

public override string ToString()
{
return this.ToString(true);
return this.ToString(false);
}

public string ToString(bool labels)
Expand Down
2 changes: 1 addition & 1 deletion src/Machina/Types/Rotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public Orientation ToOrientation()

public override string ToString()
{
return this.ToString(true);
return this.ToString(false);
}

public string ToString(bool labels)
Expand Down
2 changes: 1 addition & 1 deletion src/Machina/Types/Vector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b26609d

Please sign in to comment.