Trajectory: Joint position + velocity
The streaming mode ID for this mode is 2.
Streaming message format
| Offset | Field | Type | Unit |
|---|---|---|---|
| 0 | Index | uint8 | – |
| 1 | Mode (2) | uint8 | – |
| 2 | Number of joints n | uint8 | – |
| 3 | Joint positions, one per joint | n × double | rad |
| 3 + 8 · n | Joint velocities, one per joint | n × double | rad/s |
Message length: 3 + 16 · n bytes. n must equal the number of joints of the Robot.
In PosVel mode, the Robot is controlled by commanding the desired position as well as velocity
per joint. In order to use this mode, a trajectory generation algorithm is required that generates
a feasible trajectory satisfying each joint's dynamic limits. Please see below for suggested
limits in streaming mode:
Joint limits
Joint Position: ±270 deg
Joint Velocity:
Drive 193: ±1.25 [rad / s]
Drive 148: ±2.00 [rad / s]
Drive 116: ±4.00 [rad / s]
Drive 86: ±5.00 [rad / s]
Joint Acceleration: ± 4.0 [rad / s2]
Joint Jerk: ± 100.0 [rad / s3]
The controller will receive the streaming messages and pre-process them using a Kalman filter, in
order to obtain smooth and accurate estimates of the second derivative. The filter is tuned to the
target_frequency of the Start streaming request.
The filtered values are post-processed in the same way as in the Joint position mode, and the same stop conditions apply. In particular, streaming stops if no new message arrives for 50 ms.