Skip to content

Commit

Permalink
fix UP031
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s authored Nov 26, 2024
1 parent b9a9fb3 commit 4f65404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/notebooks/p2p.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
display = crocoddyl.GepettoDisplay(robot, cameraTF=cameraTF, floor=False)
gv = display.robot.viewer.gui
for i, p in enumerate(ps):
gv.addSphere("world/point%d" % i, 0.05, colors[i])
gv.applyConfiguration("world/point%d" % i, [*p.tolist(), 0.0, 0.0, 0.0, 1.0])
gv.addSphere(f"world/point{i}", 0.05, colors[i])
gv.applyConfiguration(f"world/point{i}", [*p.tolist(), 0.0, 0.0, 0.0, 1.0])
gv.refresh()

# State and control regularization costs
Expand Down

0 comments on commit 4f65404

Please sign in to comment.