modelPathPlanning6
Generate reference angles for fastest kinematic movement
Extends from Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Given
- start and end angles of every axis
- maximum speed of every axis
- maximum acceleration of every axis
this component computes the fastest movement under the given constraints. This means, that:
- Every axis accelerates with the maximum acceleration until the maximum speed is reached.
- Drives with the maximum speed as long as possible.
- Decelerates with the negative of the maximum acceleration until rest.
The acceleration, constant velocity and deceleration phase are determined in such a way that the movement starts form the start angles and ends at the end angles. The output of this block are the computed angles, angular velocities and angular acceleration and this information is stored as reference motion on the controlBus of the r3 robot.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | naxis | 6 | Number of driven axis |
| Modelica.Units.NonSI.Angle_deg[naxis] | angleBegDeg | zeros(naxis) | Start angles |
| Modelica.Units.NonSI.Angle_deg[naxis] | angleEndDeg | ones(naxis) | End angles |
| SI.AngularVelocity[naxis] | speedMax | fill(3, naxis) | Maximum axis speed |
| SI.AngularAcceleration[naxis] | accMax | fill(2.5, naxis) | Maximum axis acceleration |
| SI.Time | startTime | 0 | Start time of movement |
| SI.Time | swingTime | 0.5 | Additional time after reference motion is in rest before simulation is stopped |
| SI.Angle[:] | angleBeg | Cv.from_deg(angleBegDeg) | Start angles |
| SI.Angle[:] | angleEnd | Cv.from_deg(angleEndDeg) | End angles |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ControlBus | controlBus |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.KinematicPTP2 | path | ||
| PathToAxisControlBus | pathToAxis1 | ||
| PathToAxisControlBus | pathToAxis2 | ||
| PathToAxisControlBus | pathToAxis3 | ||
| PathToAxisControlBus | pathToAxis4 | ||
| PathToAxisControlBus | pathToAxis5 | ||
| PathToAxisControlBus | pathToAxis6 | ||
| Blocks.Logical.TerminateSimulation | terminateSimulation |