Skip to content

Commit

Permalink
really fix PVL
Browse files Browse the repository at this point in the history
  • Loading branch information
sonelu committed May 23, 2020
1 parent f8c9b6f commit b995a1d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions roboglia/base/joint.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,21 @@ def __init__(self, p=nan, v=nan, ld=nan):
self.__v = v
self.__ld = ld

@property
def p(self):
"""The position value in PVL."""
return self.__p

@property
def v(self):
"""The velocity value in PVL."""
return self.__v

@property
def ld(self):
"""The load value in PVL."""
return self.__ld

def __eq__(self, other):
"""Comparison of two PVLs with margin of error.
Expand Down

0 comments on commit b995a1d

Please sign in to comment.