movement_primitives.dmp.canonical_system_alpha

movement_primitives.dmp.canonical_system_alpha(goal_z, goal_t, start_t, int_dt=0.001)

Compute parameter alpha of canonical system.

Parameters:
goal_zfloat

Value of phase variable at the end of the execution (> 0).

goal_tfloat

Time at which the execution should be done. Make sure that goal_t > start_t.

start_tfloat

Time at which the execution should start.

int_dtfloat, optional (default: 0.001)

Time delta that is used internally for integration.

Returns:
alphafloat

Value of the alpha parameter of the canonical system.

Raises:
ValueError

If input values are invalid.