check start state validity and minor fixes

This commit is contained in:
Balakumar Sundaralingam
2024-05-14 22:16:12 -07:00
parent 7196be75f5
commit 911da8cb24
8 changed files with 175 additions and 44 deletions

View File

@@ -109,6 +109,11 @@ class KinematicModelState(Sequence):
@property
def link_pose(self):
"""Deprecated: Use link_poses instead."""
return self.link_poses
@property
def link_poses(self):
if self.link_names is not None:
link_pos_seq = self.link_pos_seq.contiguous()
link_quat_seq = self.link_quat_seq.contiguous()