pytransform3d.transformations
.check_pq#
- pytransform3d.transformations.check_pq(pq)[source]#
Input validation for position and orientation quaternion.
- Parameters:
- pqarray-like, shape (7,)
Position and orientation quaternion: (x, y, z, qw, qx, qy, qz)
- Returns:
- pqarray, shape (7,)
- Validated position and orientation quaternion:
(x, y, z, qw, qx, qy, qz)
- Raises:
- ValueError
If input is invalid