Error with Planner.plan(motion_name)

✅ Closed
Alban Laflaquiere

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.

5 months ago

Activity
Yahav changed status to ✅ Closed

3 months ago

Yahav changed status to Not approved

4 months 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    4 months ago    Reply

Comment must be at least 20 characters.
Cancel

We appreciate your feedback.

One vote