pyhpp.manipulation.steering_method
Functions
| def | Description |
|---|---|
def makePiecewiseLinearTrajectory(arg1: numpy.ndarray, arg2: numpy.ndarray) -> pyhpp.core.bindings.Path | Build a piecewise linear path. See C++ documentation of class hpp::manipulation::steeringMethod::Cartesian. |
Cartesian
Build a robot trajectory from an end-effector trajectory
This class does not derive from SteeringMethod since it does not link two configurations by a path. Instead, it only takes an initial configuration and a trajectory of an end-effector.
To use this class, the user needs to provide
a constraint with value in . An easy way to create such a constraint is to use method hpp::manipulation::Handle::createGrasp. The constraint is passed to this class using method trajectoryConstraint .
the time-varying right hand side of this constraint along the path the user wants to create in the form of a hpp::core::Path instance with values in . For that, makePiecewiseLinearTrajectory method may be useful.
Once the steering method has been initialized, it can be called with and initial configuration q_init. The interval of definition of the output path is the same as the one of the path provided as the right hand side of the constraint. Note that q_init should satisfy the constraint at times 0.
| def | Description |
|---|---|
def init(self, arg2: pyhpp.core.bindings.Problem) -> None | |
def getRightHandSide(self) -> pyhpp.constraints.bindings.DifferentiableFunction | Get right hand side function of trajectory constraint. |
def planPath(self, arg2: numpy.ndarray) -> tuple | Plan a path starting from an initial configuration. |
| Set right hand side from a hpp::core::Path |
def timeRange(self) -> pyhpp.core.bindings.interval | Get interval of definition of right hand side of trajectory constraint. |
| Error threshold of numerical solver. |
| Maximal number of iterations of numerical solver. |
| Number of discretization steps in the interval of definition where configurations are computed. |
| Constraint with a time-varying right hand side. |