Skip to content

Commit

Permalink
connect data ports of wrenches for EmergencyStopper.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmurooka committed Nov 22, 2015
1 parent 9fdef26 commit bb96af1
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions python/hrpsys_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,12 +384,22 @@ def connectComps(self):
if self.st:
connectPorts(self.abc.port(sen),
self.st.port(sen + "Ref"))
if self.ic:
connectPorts(self.sh.port(sen+"Out"),
self.ic.port("ref_" + sen+"In"))
if self.abc:
if self.es:
connectPorts(self.sh.port(sen+"Out"),
self.abc.port("ref_" + sen))
self.es.port(sen+"In"))
if self.ic:
connectPorts(self.es.port(sen+"Out"),
self.ic.port("ref_" + sen+"In"))
if self.abc:
connectPorts(self.es.port(sen+"Out"),
self.abc.port("ref_" + sen))
else:
if self.ic:
connectPorts(self.sh.port(sen+"Out"),
self.ic.port("ref_" + sen+"In"))
if self.abc:
connectPorts(self.sh.port(sen+"Out"),
self.abc.port("ref_" + sen))
if self.abc and self.st:
connectPorts(self.abc.port("limbCOPOffset_"+sen),
self.st.port("limbCOPOffset_"+sen))
Expand Down

0 comments on commit bb96af1

Please sign in to comment.