Joints¶
- class pyniryo_nate.models.geometry.Joints(*joints: float)[source]¶
Bases:
UserList[float]Represents joint positions for a robot.
A list of float values representing the position of each joint in radians. Can optionally include timestamp and velocity information.
- Parameters:
joints (float) – Variable number of joint positions (in radians).
Attributes
Methods
appendS.append(value) -- append value to the end of the sequence
clearcopycountextendS.extend(iterable) -- extend sequence by appending elements from the iterable
indexRaises ValueError if the value is not present.
insertS.insert(index, value) -- insert value before index
popRaise IndexError if list is empty or index is out of range.
removeS.remove(value) -- remove first occurrence of value.
reverseS.reverse() -- reverse IN PLACE
sort- timestamp: int | None = None¶
- velocities: list[float] | None = None¶
- classmethod from_transport_model(model: Joints) Joints[source]¶
- Parameters:
model (Joints)
- Return type: