reachy.trajectory.mixer
¶
Utility module to automatically merge trajectories.
You should always check the result of the combination of your trajectories before applying it to the robot. Indeed, the code below is by no mean safe. Artefacts could notably be introduced in the process.
Module Contents¶
Functions¶
|
Compute sigmoid function. |
|
Compute a normalized sigmoid function with specified range. |
|
|
|
Transform a trajectory dict into a numpy 2D array. |
|
Combine multiple trajectory into a single one. |
- reachy.trajectory.mixer.sigmoid(x)¶
Compute sigmoid function.
- reachy.trajectory.mixer.norm_sigmoid(n, r)¶
Compute a normalized sigmoid function with specified range.
- reachy.trajectory.mixer._combine(m1, m2, overlap, r)¶