Skip to content

Commit e0a5fd2

Browse files
committed
update docstrings
1 parent 9f68dd5 commit e0a5fd2

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

src/compas/robots/configuration.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -605,10 +605,3 @@ def merged(self, other):
605605
joint_types = [_type_dict[name] for name in joint_names]
606606

607607
return Configuration(joint_values, joint_types, joint_names)
608-
609-
610-
if __name__ == "__main__":
611-
import math # noqa F401
612-
from compas.geometry import allclose # noqa F401
613-
import doctest
614-
doctest.testmod(globs=globals())

src/compas/robots/model/robot.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ def compute_transformations(self, joint_state, link=None, parent_transformation=
766766
767767
Parameters
768768
----------
769-
joint_state : dict or :class:`compas.robots.Configuration`
769+
:class:`compas.robots.Configuration` or joint_state : dict
770770
A dictionary with the joint names as keys and values in radians and
771771
meters (depending on the joint type).
772772
link : :class:`compas.robots.Link`
@@ -812,7 +812,7 @@ def transformed_frames(self, joint_state):
812812
813813
Parameters
814814
----------
815-
joint_state : dict or :class:`compas.robots.Configuration`
815+
:class:`compas.robots.Configuration` or joint_state : dict
816816
A dictionary with the joint names as keys and values in radians and
817817
meters (depending on the joint type).
818818
@@ -837,7 +837,7 @@ def transformed_axes(self, joint_state):
837837
838838
Parameters
839839
----------
840-
joint_state : dict or :class:`compas.robots.Configuration`
840+
:class:`compas.robots.Configuration` or joint_state : dict
841841
A dictionary with the joint names as keys and values in radians and
842842
meters (depending on the joint type).
843843
@@ -861,7 +861,7 @@ def forward_kinematics(self, joint_state, link_name=None):
861861
862862
Parameters
863863
----------
864-
joint_state : dict or :class:`compas.robots.Configuration`
864+
:class:`compas.robots.Configuration` or joint_state : dict
865865
A dictionary with the joint names as keys and values in radians and
866866
meters (depending on the joint type).
867867
link_name : str, optional

0 commit comments

Comments
 (0)