open_loop_dispensers¶
Submodules¶
Classes¶
- class brom_drake.motion_planning.systems.open_loop_dispensers.open_loop_plan_dispenser.OpenLoopPlanDispenser(n_dof: int, speed: float)[source]¶
Description
This LeafSystem is meant to dispense a plan that the user has given to it in an open-loop fashion. (i.e., it will proceed through the plan at a constant speed without checking the state of the robot at all).
Block Diagram
A block diagram of this system is shown below:
|---------------| | Open | plan --------> | Loop | --------> point_in_plan (np.ndarray[N,n]) | Plan | (np.ndarray[n,]) plan_ready -------->| Dispenser | --------> plan_is_set (bool) |---------------| (StateOfPlanInMemory)
where:
N is the number of points in the plan
n is the number of degrees of freedom in the plan
plan is an AbstractValuePort whose value must be an Nxn matrix expressed as a numpy array.
plan_ready is an AbstractValuePort whose value must be a boolean.
- point_in_plan is a BasicVectorPort whose value is an n-dimensional vector
expressed as a numpy array.
plan_is_set is an AbstractOutputPort whose value is a StateOfPlanInMemory.
- GetStateOfPlanInMemory(context: Context, output: AbstractValue)[source]¶
Plan is set if and only if the internal variable is not None.
- class brom_drake.motion_planning.systems.open_loop_dispensers.pose.OpenLoopPosePlanDispenser(speed: float = 0.5)[source]¶
- GetStateOfPlanInMemory(context: Context, output: AbstractValue)[source]¶
Plan is set if and only if the internal variable is not None.
Functions¶
(None found)
Variables¶
(None found)