pyrobosim.utils.pose.Pose.from_list
- classmethod Pose.from_list(plist: list[float]) Self
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
angle units are always “radians”
- Parameters:
plist – List containing the input pose (see format above).
- Returns:
Pose object