Error with Planner.plan(motion_name)

✅ Closed

Hello,

I faced an issue when using

Planner.plan("motion_name")

with the cloud version of the library.

Running the following code:

robot = jacobi.robots.FrankaPanda()
scene = jacobi.Environment(robot=robot, safety_margin=0.05)
planner = jacobi.Planner(scene, delta_time=0.02)
start = jacobi.Waypoint(position=...)
goal = jacobi.Waypoint(position=...)
desired_motion = jacobi.Motion("my_motion", robot, start=start, goal=goal)
planner.add_motion(desired_motion)
trajectory = planner.plan("my_motion")

I got the following error:

jacobi.JacobiError: 
[jacobi.exception.planner]
    Please specify the Jacobi Studio project to compute motions in.

P-S: I found out that doing

planner.plan(desired_motion)

is working instead.

Alban Laflaquiere

1 year ago

Activity
Yahav changed status to ✅ Closed

11 months ago

Yahav changed status to Not approved

1 year ago

Yahav

Good catch! We'll check why "motion name" is not working, but since you've found a solution that is working for you I'm closing this issue.

0    1 year ago    Reply

Comment must be at least 20 characters.
Cancel

We appreciate your feedback.

One vote