PlanMotion¶
-
class
compas_fab.backends.interfaces.
PlanMotion
[source]¶ Bases:
object
Interface for a Planner’s plan motion feature. Any implementation of
PlanMotion
must define the methodplan_motion
. The__call__
magic method allows an instance of an implementation ofPlanMotion
to be treated as itsplan_motion
method. See <https://docs.python.org/3/reference/datamodel.html#object.__call__> and <https://en.wikipedia.org/wiki/Function_object#In_Python>.Methods
__init__
()Initialize self.
plan_motion
(robot, goal_constraints[, …])Calculates a motion path.