Skip to content

Commit ef9b1e3

Browse files
MegMlljorisv
authored andcommitted
Examples - Fix some linting errors
1 parent 079720e commit ef9b1e3

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

examples/spline-joint.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import pinocchio as pin
2-
import numpy as np
3-
import hppfcl
41
import time
2+
3+
import hppfcl
4+
import numpy as np
5+
import pinocchio as pin
56
from pinocchio.visualize import MeshcatVisualizer
67

78

@@ -76,11 +77,8 @@ def generate_random_se3_trajectory(num_steps, radius, num_revolutions, height):
7677
viz.initViewer(open=True)
7778
viz.loadViewerModel()
7879
except ImportError as e:
79-
print(
80-
"Error while initializing the viewer. It seems you should install Python meshcat."
81-
)
80+
print("Error while initializing the viewer.")
8281
print(e)
83-
sys.exit(0)
8482

8583

8684
time.sleep(0.1)

0 commit comments

Comments
 (0)