Skip to content

Commit 20cfd3b

Browse files
committed
Errors in class docstring
1 parent e792ddf commit 20cfd3b

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

src/compas_fab/robots/trajectory.py

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class JointTrajectoryPoint(Configuration):
3939
time_from_start : :class:`Duration`, optional
4040
Duration of trajectory point counting from the start.
4141
42-
Parameters
42+
Attributes
4343
----------
4444
values : :obj:`list` of :obj:`float`
4545
Joint values expressed in radians or meters, depending on the respective
@@ -153,13 +153,8 @@ def data(self, data):
153153
class Trajectory(object):
154154
"""Base trajectory class.
155155
156-
Parameters
157-
----------
158-
planning_time : :obj:`float`
159-
Amount of time it took to complete the motion plan
160-
161-
Attributes
162-
----------
156+
Attribute
157+
---------
163158
planning_time : :obj:`float`
164159
Amount of time it took to complete the motion plan
165160
"""
@@ -173,13 +168,13 @@ class JointTrajectory(Trajectory):
173168
174169
Parameters
175170
----------
176-
points : :obj:`list` of :class:`JointTrajectoryPoint`
171+
trajectory_points : :obj:`list` of :class:`JointTrajectoryPoint`, optional
177172
List of points composing the trajectory.
178-
joint_names : :obj:`list` of :obj:`str`
173+
joint_names : :obj:`list` of :obj:`str`, optional
179174
List of joint names of the trajectory.
180-
start_configuration : :class:`Configuration`
175+
start_configuration : :class:`Configuration`, optional
181176
Start configuration for the trajectory.
182-
fraction : :obj:`float`
177+
fraction : :obj:`float`, optional
183178
Indicates the percentage of requested trajectory that was calculated,
184179
e.g. ``1`` means the full trajectory was found.
185180

0 commit comments

Comments
 (0)