bugfix:cosserat rod initialization
This commit fixes a bug in Cosserat rod initialization, we were defining
`external_torques` two times instead one of them has to be
`internal_torques`. With this commit we are fixing this.
@@ -73,7 +73,7 @@ class _CosseratRodBase(RodBase):
)
# calculated in `_compute_internal_forces_and_torques`
self.internal_forces = 0 * accelerations
- self.external_torques = 0 * angular_accelerations
+ self.internal_torques = 0 * angular_accelerations
# will apply external force and torques externally
self.external_forces = 0 * accelerations
