Skip to content

Commit a289985

Browse files
committed
Fixed error message
1 parent a131f3d commit a289985

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

roboticstoolbox/backends/PyPlot/RobotPlot.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,14 @@ def __init__(
5353
def axes_calcs(self):
5454
# Joint and ee poses
5555
T = self.robot.fkine_all(self.robot.q)
56-
Te = self.robot.fkine(self.robot.q)
56+
5757
try:
5858
Te = self.robot.fkine(self.robot.q)
5959
except ValueError:
60-
print("Branched robot's not yet supported with PyPlot backend")
60+
print(
61+
"\nError: Branched robot's not yet supported "
62+
"with PyPlot backend\n")
63+
raise
6164

6265
Tb = self.robot.base
6366

0 commit comments

Comments
 (0)