Skip to content

Commit

Permalink
[NXO Client] Overridden getRTCList now simply calls a method from the…
Browse files Browse the repository at this point in the history
… parent class, HIRONX, to return the same RTCs and utilize whatever the logic defined.
  • Loading branch information
130s committed Mar 23, 2016
1 parent a0ff317 commit 3dd0e2d
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions nextage_ros_bridge/src/nextage_ros_bridge/nextage_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,19 +313,18 @@ def getRTCList(self):
'''
Overwriting HrpsysConfigurator.getRTCList
Returning predefined list of RT components.
As of March 2016, this method internally calls HIRONX.getRTCList() and
returns what it returns. Although we could simply remove this method
from NextageClient, we still keep it; it'd be easier
to modify an existing method than to add a new overridden method,
in case we might want to define RTC return list differently from HIRONX.
@rtype [[str]]
@rerutrn List of available components. Each element consists of a list
of abbreviated and full names of the component.
'''
return [
['seq', "SequencePlayer"],
['sh', "StateHolder"],
['fk', "ForwardKinematics"],
['el', "SoftErrorLimiter"],
# ['co', "CollisionDetector"],
# ['sc', "ServoController"],
['log', "DataLogger"]
]
return HIRONX.getRTCList()

def goInitial(self, tm=7, wait=True, init_pose_type=0):
'''
Expand Down

0 comments on commit 3dd0e2d

Please sign in to comment.