Skip to content

Commit ad6297c

Browse files
authored
Merge pull request #138 from ichumuh/active_connection_fix
added missing args and kwargs in create_with_dofs
2 parents 62fcc5a + 068b163 commit ad6297c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/semantic_digital_twin/world_description/connections.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ def create_with_dofs(
215215
multiplier=multiplier,
216216
offset=offset,
217217
dof_name=dof.name,
218+
*args,
219+
**kwargs,
218220
)
219221

220222
def add_to_world(self, world: World):
@@ -725,6 +727,8 @@ def create_with_dofs(
725727
parent_T_connection_expression: Optional[cas.TransformationMatrix] = None,
726728
translation_velocity_limits: float = 0.6,
727729
rotation_velocity_limits: float = 0.5,
730+
*args,
731+
**kwargs,
728732
) -> Self:
729733
"""
730734
Creates an instance of the class with automatically generated degrees of freedom
@@ -801,6 +805,8 @@ def create_with_dofs(
801805
yaw_name=yaw.name,
802806
x_velocity_name=x_vel.name,
803807
y_velocity_name=y_vel.name,
808+
*args,
809+
**kwargs,
804810
)
805811

806812
@property

0 commit comments

Comments
 (0)