pyrobosim.utils.pose.Pose.from_list
- classmethod Pose.from_list(plist)
Creates a pose from a list. The assumptions are:
2-element lists:
[x, y]
3-element lists:
[x, y, z]
4-element lists:
[x, y, z, yaw]
6-element lists:
[x, y, z, roll, pitch, yaw]
7-element lists:
[x, y, z, qw, qx, qy, qz]
other lengths: invalid
- Parameters:
plist (list[float]) – List containing the input pose (see format above).
- Returns:
Pose object
- Return type: