Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

宿題 #423

Open
k-okada opened this issue Jan 22, 2016 · 84 comments
Open

宿題 #423

k-okada opened this issue Jan 22, 2016 · 84 comments

Comments

@k-okada
Copy link
Member

k-okada commented Jan 22, 2016

1。普通にlaunchを立ち上げるとcollisiondetectorのコンポーネントが入らないです。なので入れるようにするにはどうしたらいいかしらべて、入れてみてください。
2。その時に両腕の前腕がセルフコリジョンする動作をつくってください。いきなりだと危ないので、まず10cmぐらい離れたし姿勢になって、1cmづつ、ちょっとづつ近づくようにしてみてください。
3。たぶん、手のモデルが入っていないので、手のモデルをいれてください。BoundingBoxでよいです。ちょっとおおきいぐらいでよいです。1、2cmぐらい。で、両腕の手と手がぶつかる動作を2と同じようにして動かして見てください。

できたら実機で試しましょう。
@pazeshun

@k-okada
Copy link
Member Author

k-okada commented Jan 22, 2016

@pazeshun
Copy link
Contributor

@k-okada
screenshot from 2016-01-27 18 32 59
一応、左手と右手が衝突するような目標座標を与えて腕を動かしてやると、このようにモデルが接触した時点で止まるようになりました。

@pazeshun
Copy link
Contributor

rtmros_hironx/hironx_ros_bridge/src/hironx_ros_bridge/hironx_client.pyの、248行目

 # ['co', "CollisionDetector"],

のコメントアウトを外して

['co', "CollisionDetector"],

としてみて実行しただけです。
ただ、なにやら実行時に見たことないエラーが出ているので、またご報告します気のせいでした

@pazeshun
Copy link
Contributor

とりあえず、実機につなげるかどうかだけ試したのですが、

$ ipython -i `rospack find hironx_ros_bridge`/scripts/hironx.py -- --host hiro014

を実行した所、変更前には出なかったエラーが2つ出ました。

[hrpsys.py] Fail to createComps CORBA.UNKNOWN(omniORB.UNKNOWN_UserException, CORBA.COMPLETED_MAYBE)

というものと、

[hrpsys.py] Fail to find instance (['co', 'CollisionDetector']) for getRTCInstanceList

です。
以下はログ全体です。

Python 2.7.6 (default, Jun 22 2015, 17:58:13) 
Type "copyright", "credits" or "license" for more information.

IPython 1.2.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
configuration ORB with hiro014:15005
[hrpsys.py] wait for RTCmanager : None
[hrpsys.py] wait for RobotHardware0 : <hrpsys.rtm.RTcomponent instance at 0x7fa5b1aacdd0> ( timeout 0 < 10)
[hrpsys.py] findComps -> RobotHardware : <hrpsys.rtm.RTcomponent instance at 0x7fa5b1aacdd0> isActive? = False 
[hrpsys.py] simulation_mode : False
[hrpsys.py]  Hrpsys controller version info: 
[hrpsys.py]    ms =  <hrpsys.rtm.RTCmanager instance at 0x7fa5b1aaca28>
[hrpsys.py]    ref =  <RTM._objref_Manager instance at 0x7fa5b1aacd40>
[hrpsys.py]    version  =  1.0
;;
;; Loading ImpedanceController < 315.1.9
;;
[hrpsys.py] waiting ModelLoader
[hrpsys.py] start hrpsys
[hrpsys.py] finding RTCManager and RobotHardware
[hrpsys.py] wait for RTCmanager : None
[hrpsys.py] wait for RobotHardware0 : <hrpsys.rtm.RTcomponent instance at 0x7fa5b1aacdd0> ( timeout 0 < 10)
[hrpsys.py] findComps -> RobotHardware : <hrpsys.rtm.RTcomponent instance at 0x7fa5b1aacdd0> isActive? = False 
[hrpsys.py] simulation_mode : False
[hrpsys.py] creating components
[hrpsys.py]   eval : [self.seq, self.seq_svc, self.seq_version] = self.createComp("SequencePlayer","seq")
[hrpsys.py] create Comp -> SequencePlayer : <hrpsys.rtm.RTcomponent instance at 0x7fa5b1ab70e0> (1.0)
[hrpsys.py] create CompSvc -> SequencePlayer Service : <OpenHRP._objref_SequencePlayerService instance at 0x7fa5977c00e0>
[hrpsys.py]   eval : [self.sh, self.sh_svc, self.sh_version] = self.createComp("StateHolder","sh")
[hrpsys.py] create Comp -> StateHolder : <hrpsys.rtm.RTcomponent instance at 0x7fa5b1ac1f38> (1.0)
[hrpsys.py] create CompSvc -> StateHolder Service : <OpenHRP._objref_StateHolderService instance at 0x7fa5b202c0e0>
[hrpsys.py]   eval : [self.fk, self.fk_svc, self.fk_version] = self.createComp("ForwardKinematics","fk")
[hrpsys.py] create Comp -> ForwardKinematics : <hrpsys.rtm.RTcomponent instance at 0x7fa5977c0440> (1.0)
[hrpsys.py] create CompSvc -> ForwardKinematics Service : <OpenHRP._objref_ForwardKinematicsService instance at 0x7fa5b1ac67a0>
[hrpsys.py]   eval : [self.ic, self.ic_svc, self.ic_version] = self.createComp("ImpedanceController","ic")
[hrpsys.py] create Comp -> ImpedanceController : <hrpsys.rtm.RTcomponent instance at 0x7fa5b1acfdd0> (1.0)
[hrpsys.py] create CompSvc -> ImpedanceController Service : <OpenHRP._objref_ImpedanceControllerService instance at 0x7fa5b2038050>
[hrpsys.py]   eval : [self.el, self.el_svc, self.el_version] = self.createComp("SoftErrorLimiter","el")
[hrpsys.py] create Comp -> SoftErrorLimiter : <hrpsys.rtm.RTcomponent instance at 0x7fa5b1ac18c0> (1.0)
[hrpsys.py] create CompSvc -> SoftErrorLimiter Service : <OpenHRP._objref_SoftErrorLimiterService instance at 0x7fa5b1ac6950>
[hrpsys.py]   eval : [self.co, self.co_svc, self.co_version] = self.createComp("CollisionDetector","co")
[hrpsys.py] Fail to createComps CORBA.UNKNOWN(omniORB.UNKNOWN_UserException, CORBA.COMPLETED_MAYBE)
[hrpsys.py]   eval : [self.sc, self.sc_svc, self.sc_version] = self.createComp("ServoController","sc")
[hrpsys.py] create Comp -> ServoController : <hrpsys.rtm.RTcomponent instance at 0x7fa5b1abdb48> (1.0)
[hrpsys.py] create CompSvc -> ServoController Service : <OpenHRP._objref_ServoControllerService instance at 0x7fa5b1ab7320>
[hrpsys.py]   eval : [self.log, self.log_svc, self.log_version] = self.createComp("DataLogger","log")
[hrpsys.py] create Comp -> DataLogger : <hrpsys.rtm.RTcomponent instance at 0x7fa5b1ac1488> (1.0)
[hrpsys.py] create CompSvc -> DataLogger Service : <OpenHRP._objref_DataLoggerService instance at 0x7fa5b1ab7518>
[hrpsys.py]   eval : [self.rmfo, self.rmfo_svc, self.rmfo_version] = self.createComp("AbsoluteForceSensor","rmfo")
[hrpsys.py] create Comp -> AbsoluteForceSensor : <hrpsys.rtm.RTcomponent instance at 0x7fa5977c0ef0> (1.0)
[hrpsys.py] create CompSvc -> AbsoluteForceSensor Service : <OpenHRP._objref_AbsoluteForceSensorService instance at 0x7fa5b1adac68>
[hrpsys.py] connecting components
[rtm.py]    Connect sh.qOut - ic.qRef
[rtm.py]    Connect ic.q - el.qRef
[rtm.py]    Connect el.q - RobotHardware0.qRef
[rtm.py]    Connect RobotHardware0.servoState - el.servoStateIn
[rtm.py]    Connect RobotHardware0.q - sh.currentQIn
[rtm.py]    Connect RobotHardware0.q - fk.q
[rtm.py]    Connect sh.qOut - fk.qRef
[rtm.py]    Connect seq.qRef - sh.qIn
[rtm.py]    Connect seq.tqRef - sh.tqIn
[rtm.py]    Connect seq.basePos - sh.basePosIn
[rtm.py]    Connect seq.baseRpy - sh.baseRpyIn
[rtm.py]    Connect seq.zmpRef - sh.zmpIn
[rtm.py]    Connect sh.basePosOut - seq.basePosInit
[rtm.py]    Connect sh.basePosOut - fk.basePosRef
[rtm.py]    Connect sh.baseRpyOut - seq.baseRpyInit
[rtm.py]    Connect sh.baseRpyOut - fk.baseRpyRef
[rtm.py]    Connect sh.qOut - seq.qInit
[rtm.py]    Connect RobotHardware0.q - rmfo.qCurrent
[rtm.py]    Connect RobotHardware0.q - ic.qCurrent
[rtm.py]    Connect RobotHardware0.q - el.qCurrent
[hrpsys.py] activating components
[hrpsys.py] Fail to find instance (['co', 'CollisionDetector']) for getRTCInstanceList
[hrpsys.py] setup logger
[hrpsys.py]   setupLogger : record type = TimedDoubleSeq, name = q to RobotHardware0_q
[rtm.py]    Connect RobotHardware0.q - log.RobotHardware0_q
[hrpsys.py]   setupLogger : record type = TimedDoubleSeq, name = dq to RobotHardware0_dq
[rtm.py]    Connect RobotHardware0.dq - log.RobotHardware0_dq
[hrpsys.py]   setupLogger : record type = TimedDoubleSeq, name = tau to RobotHardware0_tau
[rtm.py]    Connect RobotHardware0.tau - log.RobotHardware0_tau
[hrpsys.py] sensor names for DataLogger
[hrpsys.py]   setupLogger : record type = TimedDoubleSeq, name = qOut to sh_qOut
[rtm.py]    Connect sh.qOut - log.sh_qOut
[hrpsys.py]   setupLogger : record type = TimedDoubleSeq, name = tqOut to sh_tqOut
[rtm.py]    Connect sh.tqOut - log.sh_tqOut
[hrpsys.py]   setupLogger : record type = TimedPoint3D, name = basePosOut to sh_basePosOut
[rtm.py]    Connect sh.basePosOut - log.sh_basePosOut
[hrpsys.py]   setupLogger : record type = TimedOrientation3D, name = baseRpyOut to sh_baseRpyOut
[rtm.py]    Connect sh.baseRpyOut - log.sh_baseRpyOut
[hrpsys.py]   setupLogger : record type = TimedPoint3D, name = zmpOut to sh_zmpOut
[rtm.py]    Connect sh.zmpOut - log.sh_zmpOut
[hrpsys.py]   setupLogger : record type = TimedDoubleSeq, name = q to ic_q
[rtm.py]    Connect ic.q - log.ic_q
[hrpsys.py]   setupLogger : record type = TimedDoubleSeq, name = q to el_q
[rtm.py]    Connect el.q - log.el_q
[hrpsys.py]   setupLogger : emergencySignal arleady exists in DataLogger
[rtm.py]    Connect RobotHardware0.emergencySignal - log.emergencySignal
[hrpsys.py]   setupLogger : record type = TimedLongSeqSeq, name = servoState to RobotHardware0_servoState
[rtm.py]    Failed to connect RobotHardware0.servoState to None([None])
[hrpsys.py] setup joint groups
[hrpsys.py] initialized successfully
[rtm.py]    Connect RobotHardware0.lhsensor - ic.lhsensor
[rtm.py]    Connect RobotHardware0.rhsensor - ic.rhsensor
[ros_client] ros master is not running, so do not create ros client...

@pazeshun
Copy link
Contributor

以下は、変更前に戻した時のログです。

Python 2.7.6 (default, Jun 22 2015, 17:58:13) 
Type "copyright", "credits" or "license" for more information.

IPython 1.2.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
configuration ORB with hiro014:15005
[hrpsys.py] wait for RTCmanager : None
[hrpsys.py] wait for RobotHardware0 : <hrpsys.rtm.RTcomponent instance at 0x7fc7e3d90dd0> ( timeout 0 < 10)
[hrpsys.py] findComps -> RobotHardware : <hrpsys.rtm.RTcomponent instance at 0x7fc7e3d90dd0> isActive? = True 
[hrpsys.py] simulation_mode : False
[hrpsys.py]  Hrpsys controller version info: 
[hrpsys.py]    ms =  <hrpsys.rtm.RTCmanager instance at 0x7fc7e3d90a28>
[hrpsys.py]    ref =  <RTM._objref_Manager instance at 0x7fc7e3d90d40>
[hrpsys.py]    version  =  1.0
;;
;; Loading ImpedanceController < 315.1.9
;;
[hrpsys.py] waiting ModelLoader
[hrpsys.py] start hrpsys
[hrpsys.py] finding RTCManager and RobotHardware
[hrpsys.py] wait for RTCmanager : None
[hrpsys.py] wait for RobotHardware0 : <hrpsys.rtm.RTcomponent instance at 0x7fc7e3d9b1b8> ( timeout 0 < 10)
[hrpsys.py] findComps -> RobotHardware : <hrpsys.rtm.RTcomponent instance at 0x7fc7e3d9b1b8> isActive? = True 
[hrpsys.py] simulation_mode : False
[hrpsys.py] creating components
[hrpsys.py]   eval : [self.seq, self.seq_svc, self.seq_version] = self.createComp("SequencePlayer","seq")
RTC named "seq" already exists.
[hrpsys.py] create Comp -> SequencePlayer : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda3dbd8> (1.0)
[hrpsys.py] create CompSvc -> SequencePlayer Service : <OpenHRP._objref_SequencePlayerService instance at 0x7fc7cda2eef0>
[hrpsys.py]   eval : [self.sh, self.sh_svc, self.sh_version] = self.createComp("StateHolder","sh")
RTC named "sh" already exists.
[hrpsys.py] create Comp -> StateHolder : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda3df80> (1.0)
[hrpsys.py] create CompSvc -> StateHolder Service : <OpenHRP._objref_StateHolderService instance at 0x7fc7cda60050>
[hrpsys.py]   eval : [self.fk, self.fk_svc, self.fk_version] = self.createComp("ForwardKinematics","fk")
RTC named "fk" already exists.
[hrpsys.py] create Comp -> ForwardKinematics : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda41b90> (1.0)
[hrpsys.py] create CompSvc -> ForwardKinematics Service : <OpenHRP._objref_ForwardKinematicsService instance at 0x7fc7e4316560>
[hrpsys.py]   eval : [self.ic, self.ic_svc, self.ic_version] = self.createComp("ImpedanceController","ic")
RTC named "ic" already exists.
[hrpsys.py] create Comp -> ImpedanceController : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda3d1b8> (1.0)
[hrpsys.py] create CompSvc -> ImpedanceController Service : <OpenHRP._objref_ImpedanceControllerService instance at 0x7fc7cda2a3b0>
[hrpsys.py]   eval : [self.el, self.el_svc, self.el_version] = self.createComp("SoftErrorLimiter","el")
RTC named "el" already exists.
[hrpsys.py] create Comp -> SoftErrorLimiter : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda3d2d8> (1.0)
[hrpsys.py] create CompSvc -> SoftErrorLimiter Service : <OpenHRP._objref_SoftErrorLimiterService instance at 0x7fc7cda9d050>
[hrpsys.py]   eval : [self.sc, self.sc_svc, self.sc_version] = self.createComp("ServoController","sc")
RTC named "sc" already exists.
[hrpsys.py] create Comp -> ServoController : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda5a518> (1.0)
[hrpsys.py] create CompSvc -> ServoController Service : <OpenHRP._objref_ServoControllerService instance at 0x7fc7e3d90b90>
[hrpsys.py]   eval : [self.log, self.log_svc, self.log_version] = self.createComp("DataLogger","log")
RTC named "log" already exists.
[hrpsys.py] create Comp -> DataLogger : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda41950> (1.0)
[hrpsys.py] create CompSvc -> DataLogger Service : <OpenHRP._objref_DataLoggerService instance at 0x7fc7cda34830>
[hrpsys.py]   eval : [self.rmfo, self.rmfo_svc, self.rmfo_version] = self.createComp("AbsoluteForceSensor","rmfo")
RTC named "rmfo" already exists.
[hrpsys.py] create Comp -> AbsoluteForceSensor : <hrpsys.rtm.RTcomponent instance at 0x7fc7cdaa57a0> (1.0)
[hrpsys.py] create CompSvc -> AbsoluteForceSensor Service : <OpenHRP._objref_AbsoluteForceSensorService instance at 0x7fc7e4310128>
[hrpsys.py] connecting components
[rtm.py]    Connect sh.qOut - ic.qRef
[rtm.py]    Connect ic.q - el.qRef
[rtm.py]    Connect el.q - RobotHardware0.qRef
[rtm.py]    Connect RobotHardware0.servoState - el.servoStateIn
[rtm.py]    Connect RobotHardware0.q - sh.currentQIn
[rtm.py]    Connect RobotHardware0.q - fk.q
[rtm.py]    Connect sh.qOut - fk.qRef
[rtm.py]    Connect seq.qRef - sh.qIn
[rtm.py]    Connect seq.tqRef - sh.tqIn
[rtm.py]    Connect seq.basePos - sh.basePosIn
[rtm.py]    Connect seq.baseRpy - sh.baseRpyIn
[rtm.py]    Connect seq.zmpRef - sh.zmpIn
[rtm.py]    Connect sh.basePosOut - seq.basePosInit
[rtm.py]    Connect sh.basePosOut - fk.basePosRef
[rtm.py]    Connect sh.baseRpyOut - seq.baseRpyInit
[rtm.py]    Connect sh.baseRpyOut - fk.baseRpyRef
[rtm.py]    Connect sh.qOut - seq.qInit
[rtm.py]    Connect RobotHardware0.q - rmfo.qCurrent
[rtm.py]    Connect RobotHardware0.q - ic.qCurrent
[rtm.py]    Connect RobotHardware0.q - el.qCurrent
[hrpsys.py] activating components
seqis already serialized
shis already serialized
fkis already serialized
icis already serialized
elis already serialized
scis already serialized
logis already serialized
rmfois already serialized
[hrpsys.py] setup logger
[hrpsys.py]   setupLogger : q arleady exists in DataLogger
[rtm.py]    Connect RobotHardware0.q - log.RobotHardware0_q
[hrpsys.py]   setupLogger : dq arleady exists in DataLogger
[rtm.py]    Connect RobotHardware0.dq - log.RobotHardware0_dq
[hrpsys.py]   setupLogger : tau arleady exists in DataLogger
[rtm.py]    Connect RobotHardware0.tau - log.RobotHardware0_tau
[hrpsys.py] sensor names for DataLogger
[hrpsys.py]   setupLogger : qOut arleady exists in DataLogger
[rtm.py]    Connect sh.qOut - log.sh_qOut
[hrpsys.py]   setupLogger : tqOut arleady exists in DataLogger
[rtm.py]    Connect sh.tqOut - log.sh_tqOut
[hrpsys.py]   setupLogger : basePosOut arleady exists in DataLogger
[rtm.py]    Connect sh.basePosOut - log.sh_basePosOut
[hrpsys.py]   setupLogger : baseRpyOut arleady exists in DataLogger
[rtm.py]    Connect sh.baseRpyOut - log.sh_baseRpyOut
[hrpsys.py]   setupLogger : zmpOut arleady exists in DataLogger
[rtm.py]    Connect sh.zmpOut - log.sh_zmpOut
[hrpsys.py]   setupLogger : q arleady exists in DataLogger
[rtm.py]    Connect ic.q - log.ic_q
[hrpsys.py]   setupLogger : q arleady exists in DataLogger
[rtm.py]    Connect el.q - log.el_q
[hrpsys.py]   setupLogger : emergencySignal arleady exists in DataLogger
[rtm.py]    Connect RobotHardware0.emergencySignal - log.emergencySignal
[hrpsys.py]   setupLogger : record type = TimedLongSeqSeq, name = servoState to RobotHardware0_servoState
[rtm.py]    Failed to connect RobotHardware0.servoState to None([None])
[hrpsys.py] setup joint groups
[hrpsys.py] initialized successfully
[ros_client] ros master is not running, so do not create ros client...

@k-okada
Copy link
Member Author

k-okada commented Jan 29, 2016

qnx側の/opt/jsk
かな?のしたにCollisionDetector.soがあるかどうか見てみてくダサい.例えば,DataLogger.soがあるディレクトリと同じ所に有るはずです.

◉ Kei Okada

On Wed, Jan 27, 2016 at 7:55 PM, pazeshun [email protected] wrote:

以下は、変更前に戻した時のログです。

Python 2.7.6 (default, Jun 22 2015, 17:58:13)
Type "copyright", "credits" or "license" for more information.

IPython 1.2.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
configuration ORB with hiro014:15005
[hrpsys.py] wait for RTCmanager : None
[hrpsys.py] wait for RobotHardware0 : <hrpsys.rtm.RTcomponent instance at 0x7fc7e3d90dd0> ( timeout 0 < 10)
[hrpsys.py] findComps -> RobotHardware : <hrpsys.rtm.RTcomponent instance at 0x7fc7e3d90dd0> isActive? = True
[hrpsys.py] simulation_mode : False
[hrpsys.py] Hrpsys controller version info:
[hrpsys.py] ms = <hrpsys.rtm.RTCmanager instance at 0x7fc7e3d90a28>
[hrpsys.py] ref = <RTM._objref_Manager instance at 0x7fc7e3d90d40>
[hrpsys.py] version = 1.0
;;
;; Loading ImpedanceController < 315.1.9
;;
[hrpsys.py] waiting ModelLoader
[hrpsys.py] start hrpsys
[hrpsys.py] finding RTCManager and RobotHardware
[hrpsys.py] wait for RTCmanager : None
[hrpsys.py] wait for RobotHardware0 : <hrpsys.rtm.RTcomponent instance at 0x7fc7e3d9b1b8> ( timeout 0 < 10)
[hrpsys.py] findComps -> RobotHardware : <hrpsys.rtm.RTcomponent instance at 0x7fc7e3d9b1b8> isActive? = True
[hrpsys.py] simulation_mode : False
[hrpsys.py] creating components
[hrpsys.py] eval : [self.seq, self.seq_svc, self.seq_version] = self.createComp("SequencePlayer","seq")
RTC named "seq" already exists.
[hrpsys.py] create Comp -> SequencePlayer : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda3dbd8> (1.0)
[hrpsys.py] create CompSvc -> SequencePlayer Service : <OpenHRP._objref_SequencePlayerService instance at 0x7fc7cda2eef0>
[hrpsys.py] eval : [self.sh, self.sh_svc, self.sh_version] = self.createComp("StateHolder","sh")
RTC named "sh" already exists.
[hrpsys.py] create Comp -> StateHolder : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda3df80> (1.0)
[hrpsys.py] create CompSvc -> StateHolder Service : <OpenHRP._objref_StateHolderService instance at 0x7fc7cda60050>
[hrpsys.py] eval : [self.fk, self.fk_svc, self.fk_version] = self.createComp("ForwardKinematics","fk")
RTC named "fk" already exists.
[hrpsys.py] create Comp -> ForwardKinematics : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda41b90> (1.0)
[hrpsys.py] create CompSvc -> ForwardKinematics Service : <OpenHRP._objref_ForwardKinematicsService instance at 0x7fc7e4316560>
[hrpsys.py] eval : [self.ic, self.ic_svc, self.ic_version] = self.createComp("ImpedanceController","ic")
RTC named "ic" already exists.
[hrpsys.py] create Comp -> ImpedanceController : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda3d1b8> (1.0)
[hrpsys.py] create CompSvc -> ImpedanceController Service : <OpenHRP._objref_ImpedanceControllerService instance at 0x7fc7cda2a3b0>
[hrpsys.py] eval : [self.el, self.el_svc, self.el_version] = self.createComp("SoftErrorLimiter","el")
RTC named "el" already exists.
[hrpsys.py] create Comp -> SoftErrorLimiter : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda3d2d8> (1.0)
[hrpsys.py] create CompSvc -> SoftErrorLimiter Service : <OpenHRP._objref_SoftErrorLimiterService instance at 0x7fc7cda9d050>
[hrpsys.py] eval : [self.sc, self.sc_svc, self.sc_version] = self.createComp("ServoController","sc")
RTC named "sc" already exists.
[hrpsys.py] create Comp -> ServoController : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda5a518> (1.0)
[hrpsys.py] create CompSvc -> ServoController Service : <OpenHRP._objref_ServoControllerService instance at 0x7fc7e3d90b90>
[hrpsys.py] eval : [self.log, self.log_svc, self.log_version] = self.createComp("DataLogger","log")
RTC named "log" already exists.
[hrpsys.py] create Comp -> DataLogger : <hrpsys.rtm.RTcomponent instance at 0x7fc7cda41950> (1.0)
[hrpsys.py] create CompSvc -> DataLogger Service : <OpenHRP._objref_DataLoggerService instance at 0x7fc7cda34830>
[hrpsys.py] eval : [self.rmfo, self.rmfo_svc, self.rmfo_version] = self.createComp("AbsoluteForceSensor","rmfo")
RTC named "rmfo" already exists.
[hrpsys.py] create Comp -> AbsoluteForceSensor : <hrpsys.rtm.RTcomponent instance at 0x7fc7cdaa57a0> (1.0)
[hrpsys.py] create CompSvc -> AbsoluteForceSensor Service : <OpenHRP._objref_AbsoluteForceSensorService instance at 0x7fc7e4310128>
[hrpsys.py] connecting components
[rtm.py] Connect sh.qOut - ic.qRef
[rtm.py] Connect ic.q - el.qRef
[rtm.py] Connect el.q - RobotHardware0.qRef
[rtm.py] Connect RobotHardware0.servoState - el.servoStateIn
[rtm.py] Connect RobotHardware0.q - sh.currentQIn
[rtm.py] Connect RobotHardware0.q - fk.q
[rtm.py] Connect sh.qOut - fk.qRef
[rtm.py] Connect seq.qRef - sh.qIn
[rtm.py] Connect seq.tqRef - sh.tqIn
[rtm.py] Connect seq.basePos - sh.basePosIn
[rtm.py] Connect seq.baseRpy - sh.baseRpyIn
[rtm.py] Connect seq.zmpRef - sh.zmpIn
[rtm.py] Connect sh.basePosOut - seq.basePosInit
[rtm.py] Connect sh.basePosOut - fk.basePosRef
[rtm.py] Connect sh.baseRpyOut - seq.baseRpyInit
[rtm.py] Connect sh.baseRpyOut - fk.baseRpyRef
[rtm.py] Connect sh.qOut - seq.qInit
[rtm.py] Connect RobotHardware0.q - rmfo.qCurrent
[rtm.py] Connect RobotHardware0.q - ic.qCurrent
[rtm.py] Connect RobotHardware0.q - el.qCurrent
[hrpsys.py] activating components
seqis already serialized
shis already serialized
fkis already serialized
icis already serialized
elis already serialized
scis already serialized
logis already serialized
rmfois already serialized
[hrpsys.py] setup logger
[hrpsys.py] setupLogger : q arleady exists in DataLogger
[rtm.py] Connect RobotHardware0.q - log.RobotHardware0_q
[hrpsys.py] setupLogger : dq arleady exists in DataLogger
[rtm.py] Connect RobotHardware0.dq - log.RobotHardware0_dq
[hrpsys.py] setupLogger : tau arleady exists in DataLogger
[rtm.py] Connect RobotHardware0.tau - log.RobotHardware0_tau
[hrpsys.py] sensor names for DataLogger
[hrpsys.py] setupLogger : qOut arleady exists in DataLogger
[rtm.py] Connect sh.qOut - log.sh_qOut
[hrpsys.py] setupLogger : tqOut arleady exists in DataLogger
[rtm.py] Connect sh.tqOut - log.sh_tqOut
[hrpsys.py] setupLogger : basePosOut arleady exists in DataLogger
[rtm.py] Connect sh.basePosOut - log.sh_basePosOut
[hrpsys.py] setupLogger : baseRpyOut arleady exists in DataLogger
[rtm.py] Connect sh.baseRpyOut - log.sh_baseRpyOut
[hrpsys.py] setupLogger : zmpOut arleady exists in DataLogger
[rtm.py] Connect sh.zmpOut - log.sh_zmpOut
[hrpsys.py] setupLogger : q arleady exists in DataLogger
[rtm.py] Connect ic.q - log.ic_q
[hrpsys.py] setupLogger : q arleady exists in DataLogger
[rtm.py] Connect el.q - log.el_q
[hrpsys.py] setupLogger : emergencySignal arleady exists in DataLogger
[rtm.py] Connect RobotHardware0.emergencySignal - log.emergencySignal
[hrpsys.py] setupLogger : record type = TimedLongSeqSeq, name = servoState to RobotHardware0_servoState
[rtm.py] Failed to connect RobotHardware0.servoState to None([None])
[hrpsys.py] setup joint groups
[hrpsys.py] initialized successfully
[ros_client] ros master is not running, so do not create ros client...


Reply to this email directly or view it on GitHub
#423 (comment)
.

@pazeshun
Copy link
Contributor

$ find /opt/jsk -name DataLogger.so
/opt/jsk/src/hrpsys-base-source-315.1.7/rtc/DataLogger/CMakeFiles/CMakeRelink.dir/DataLogger.so
/opt/jsk/src/hrpsys-base-source-315.1.7/lib/DataLogger.so
/opt/jsk/lib/DataLogger.so

となり、どのディレクトリを調べてもCollisionDetector.soらしきものはありませんでした

@pazeshun
Copy link
Contributor

/opt/jsk/src/hrpsys-base-source-315.1.7/rtc/CollisionDetectorはありましたが、その中にCMakeFilesはありませんでした。
これ、コンパイルするとできるってことなんですかね

@k-okada
Copy link
Member Author

k-okada commented Jan 29, 2016

/opt/jsk のどっかにbuildというディレクトリかCMakefilesが有るディレクトリがあるんだけどわかるかな.

◉ Kei Okada

On Fri, Jan 29, 2016 at 5:55 PM, pazeshun [email protected] wrote:

/opt/jsk/src/hrpsys-base-source-315.1.7/rtc/CollisionDetector
はありましたが、その中にCMakeFilesはありませんでした。
これ、コンパイルするとできるってことなんですかね


Reply to this email directly or view it on GitHub
#423 (comment)
.

@pazeshun
Copy link
Contributor

pazeshun commented Feb 9, 2016

$ pwd                             
/opt/jsk
$ find . -type d -name CMakeFiles 
./src/hrpsys-base-source-315.1.7/test/CMakeFiles
./src/hrpsys-base-source-315.1.7/python/CMakeFiles
./src/hrpsys-base-source-315.1.7/sample/HRP4C/data/CMakeFiles
./src/hrpsys-base-source-315.1.7/sample/HRP4C/CMakeFiles
./src/hrpsys-base-source-315.1.7/sample/PA10/CMakeFiles
./src/hrpsys-base-source-315.1.7/sample/CMakeFiles
./src/hrpsys-base-source-315.1.7/ec/hrpEC/CMakeFiles
./src/hrpsys-base-source-315.1.7/ec/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/Range2PointCloud/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/GraspController/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/TorqueController/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/ThermoLimiter/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/ThermoEstimator/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/AbsoluteForceSensor/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/NullComponent/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/ServoController/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/HGcontroller/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/RobotHardware/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/KalmanFilter/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/DataLogger/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/SoftErrorLimiter/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/TorqueFilter/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/SequencePlayer/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/ImpedanceController/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/VirtualForceSensor/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/AutoBalancer/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/Stabilizer/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/WavPlayer/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/ForwardKinematics/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/StateHolder/CMakeFiles
./src/hrpsys-base-source-315.1.7/rtc/CMakeFiles
./src/hrpsys-base-source-315.1.7/lib/io/CMakeFiles
./src/hrpsys-base-source-315.1.7/lib/CMakeFiles
./src/hrpsys-base-source-315.1.7/idl/CMakeFiles
./src/hrpsys-base-source-315.1.7/CMakeFiles
./src/hrpsys-base-source-315.1.7/CMakeFiles/CMakeTmp/CMakeFiles
./src/OpenHRP-3.1.5/hrplib/hrpCorba/CMakeFiles
./src/OpenHRP-3.1.5/hrplib/hrpCollision/Opcode/Ice/CMakeFiles
./src/OpenHRP-3.1.5/hrplib/hrpCollision/Opcode/CMakeFiles
./src/OpenHRP-3.1.5/hrplib/hrpCollision/CMakeFiles
./src/OpenHRP-3.1.5/hrplib/hrpUtil/CMakeFiles
./src/OpenHRP-3.1.5/hrplib/hrpModel/CMakeFiles
./src/OpenHRP-3.1.5/hrplib/hrpRTM/CMakeFiles
./src/OpenHRP-3.1.5/hrplib/CMakeFiles
./src/OpenHRP-3.1.5/sample/JoystickControl/CMakeFiles
./src/OpenHRP-3.1.5/sample/controller/SampleHG/CMakeFiles
./src/OpenHRP-3.1.5/sample/controller/PD_HGtest/CMakeFiles
./src/OpenHRP-3.1.5/sample/controller/SampleCrawler/CMakeFiles
./src/OpenHRP-3.1.5/sample/controller/SampleLF/CMakeFiles
./src/OpenHRP-3.1.5/sample/controller/SamplePD_HG/CMakeFiles
./src/OpenHRP-3.1.5/sample/controller/PA10Controller/CMakeFiles
./src/OpenHRP-3.1.5/sample/controller/SampleController/CMakeFiles
./src/OpenHRP-3.1.5/sample/controller/SamplePD/CMakeFiles
./src/OpenHRP-3.1.5/sample/controller/SampleSV/CMakeFiles
./src/OpenHRP-3.1.5/sample/controller/SampleRH2/CMakeFiles
./src/OpenHRP-3.1.5/sample/controller/CMakeFiles
./src/OpenHRP-3.1.5/sample/example/clap/CMakeFiles
./src/OpenHRP-3.1.5/sample/example/move_ankle/CMakeFiles
./src/OpenHRP-3.1.5/sample/example/customizer/CMakeFiles
./src/OpenHRP-3.1.5/sample/example/viewSimulator/CMakeFiles
./src/OpenHRP-3.1.5/sample/example/simulationEC/CMakeFiles
./src/OpenHRP-3.1.5/sample/example/scheduler/CMakeFiles
./src/OpenHRP-3.1.5/sample/example/CMakeFiles
./src/OpenHRP-3.1.5/sample/CMakeFiles
./src/OpenHRP-3.1.5/script/CMakeFiles
./src/OpenHRP-3.1.5/server/CollisionDetector/CMakeFiles
./src/OpenHRP-3.1.5/server/ModelLoader/CMakeFiles
./src/OpenHRP-3.1.5/server/AistDynamicsSimulator/CMakeFiles
./src/OpenHRP-3.1.5/server/CMakeFiles
./src/OpenHRP-3.1.5/idl/OpenRTM/1.1.0/CMakeFiles
./src/OpenHRP-3.1.5/idl/OpenRTM/CMakeFiles
./src/OpenHRP-3.1.5/idl/OpenHRP/CMakeFiles
./src/OpenHRP-3.1.5/idl/CMakeFiles
./src/OpenHRP-3.1.5/CMakeFiles
./src/OpenHRP-3.1.5/CMakeFiles/CMakeTmp/CMakeFiles

という出力が得られました。意味が違ってたらごめんなさい。

@pazeshun
Copy link
Contributor

こないだ、

# make install

がうまく行ったと思っていたのですが、再起動を忘れていたためのようで、起動してPCから接続しようとすると以下のようなログが出てきて接続が失敗しました。

$ ipython -i `rospack find hironx_ros_bridge`/scripts/hironx.py -- --host hiro014
Python 2.7.6 (default, Jun 22 2015, 17:58:13) 
Type "copyright", "credits" or "license" for more information.

IPython 1.2.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
configuration ORB with hiro014:15005
[hrpsys.py] wait for RTCmanager : None
[hrpsys.py] wait for RobotHardware0 : None ( timeout 0 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 1 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 2 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 3 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 4 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 5 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 6 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 7 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 8 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 9 < 10)
[hrpsys.py] Could not find RobotHardware0
---------------------------------------------------------------------------
TRANSIENT                                 Traceback (most recent call last)
/usr/lib/python2.7/dist-packages/IPython/utils/py3compat.pyc in execfile(fname, *where)
    202             else:
    203                 filename = fname
--> 204             __builtin__.execfile(filename, *where)

/opt/ros/indigo/share/hironx_ros_bridge/scripts/hironx.py in <module>()
     73         args.modelfile = unknown[1]
     74     robot = hiro = hironx_client.HIRONX()
---> 75     robot.init(robotname=args.robot, url=args.modelfile)
     76 
     77     # ROS Client

/opt/ros/indigo/lib/python2.7/dist-packages/hironx_ros_bridge/hironx_client.pyc in init(self, robotname, url)
    157         # reload for hrpsys 315.1.8
    158         HrpsysConfigurator.waitForModelLoader(self)
--> 159         HrpsysConfigurator.waitForRTCManagerAndRoboHardware(self, robotname=robotname)
    160         print self.configurator_name, "Hrpsys controller version info: "
    161         if self.ms :

/opt/ros/indigo/lib/python2.7/dist-packages/hrpsys/hrpsys_config.py in waitForRTCManagerAndRoboHardware(self, robotname, managerhost)
    914         '''
    915         self.waitForRTCManager(managerhost)
--> 916         self.waitForRobotHardware(robotname)
    917         self.checkSimulationMode()
    918 

/opt/ros/indigo/lib/python2.7/dist-packages/hrpsys/hrpsys_config.py in waitForRobotHardware(self, robotname)
    881             print(self.configurator_name + "Could not find " + robotname)
    882             if self.ms:
--> 883                 print(self.configurator_name + "Candidates are .... " + str([x.name()  for x in self.ms.get_components()]))
    884             print(self.configurator_name + "Exitting.... " + robotname)
    885             exit(1)

/opt/ros/indigo/lib/python2.7/dist-packages/hrpsys/rtm.py in get_components(self)
    251     def get_components(self):
    252         cs = []
--> 253         crefs = self.ref.get_components()
    254         for cref in crefs:
    255             c = RTcomponent(cref)

/opt/ros/indigo/lib/python2.7/dist-packages/OpenRTM_aist/RTM_IDL/Manager_idl.pyc in get_components(self, *args)
    163 
    164     def get_components(self, *args):
--> 165         return _omnipy.invoke(self, "get_components", _0_RTM.Manager._d_get_components, args)
    166 
    167     def get_component_profiles(self, *args):

TRANSIENT: CORBA.TRANSIENT(omniORB.TRANSIENT_ConnectFailed, CORBA.COMPLETED_NO)

この時、Hiroにsshでログインしてログを確認すると、以下のようになってました。

$ cat jsk/var/log/rtcd.log 
Logger::Logger: streambuf address = 0x805fc70
Memory fault (core dumped) 
$ pwd                       
/opt

なお、# make install前にコピーしておいたjskディレクトリと、現在のjskディレクトリを入れ替えて再起動すると、Hiro内部のログは以下のようになっていました。

$ cat /opt/jsk/var/log/rtcd.log 
Logger::Logger: streambuf address = 0x805fc70
hrpExecutionContext is registered
pdgains.file_name: /opt/jsk/etc/HIRONX/hrprtc/PDgains.sav
dof = 15
client: msg_no: _IO_MAX + 4
client: msg_reply:
rom # 4, soft # 300, 28/9/2011
serial # 5171, model # 129, cal day 28/9/2011
Newton, Newton*meter*10, mm*10, 14 bits, 255 ch
(Crom # 4, soft # 300, 4/10/2011
serial # 5172, model # 129, cal day 4/10/2011
Newton, Newton*meter*10, mm*10, 14 bits, 255 ch
(C
open_iob - shmif instance at 0x80ca0e8
the number of gyros = 0
the number of accelerometers = 0
the number of force sensors = 2
lhsensor
rhsensor
period = 5[ms], priority = 49

この時は、おそらく問題なく起動できているものと思われます。

@k-okada
Copy link
Member Author

k-okada commented Feb 19, 2016

お,古いディレクトリに新しい所に出来たcollision detctorだけコピーするとどうなるかな.

◉ Kei Okada

On Fri, Feb 19, 2016 at 5:10 PM, pazeshun [email protected] wrote:

こないだ、

make install

がうまく行ったと思っていたのですが、再起動を忘れていたためのようで、起動してPCから接続しようとすると以下のようなログが出てきて接続が失敗しました。

$ ipython -i rospack find hironx_ros_bridge/scripts/hironx.py -- --host hiro014
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
Type "copyright", "credits" or "license" for more information.

IPython 1.2.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
configuration ORB with hiro014:15005
[hrpsys.py] wait for RTCmanager : None
[hrpsys.py] wait for RobotHardware0 : None ( timeout 0 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 1 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 2 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 3 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 4 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 5 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 6 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 7 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 8 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 9 < 10)

[hrpsys.py] Could not find RobotHardware0

TRANSIENT Traceback (most recent call last)
/usr/lib/python2.7/dist-packages/IPython/utils/py3compat.pyc in execfile(fname, *where)
202 else:
203 filename = fname
--> 204 builtin.execfile(filename, *where)

/opt/ros/indigo/share/hironx_ros_bridge/scripts/hironx.py in ()
73 args.modelfile = unknown[1]
74 robot = hiro = hironx_client.HIRONX()
---> 75 robot.init(robotname=args.robot, url=args.modelfile)
76
77 # ROS Client

/opt/ros/indigo/lib/python2.7/dist-packages/hironx_ros_bridge/hironx_client.pyc in init(self, robotname, url)
157 # reload for hrpsys 315.1.8
158 HrpsysConfigurator.waitForModelLoader(self)
--> 159 HrpsysConfigurator.waitForRTCManagerAndRoboHardware(self, robotname=robotname)
160 print self.configurator_name, "Hrpsys controller version info: "
161 if self.ms :

/opt/ros/indigo/lib/python2.7/dist-packages/hrpsys/hrpsys_config.py in waitForRTCManagerAndRoboHardware(self, robotname, managerhost)
914 '''
915 self.waitForRTCManager(managerhost)
--> 916 self.waitForRobotHardware(robotname)
917 self.checkSimulationMode()
918

/opt/ros/indigo/lib/python2.7/dist-packages/hrpsys/hrpsys_config.py in waitForRobotHardware(self, robotname)
881 print(self.configurator_name + "Could not find " + robotname)
882 if self.ms:
--> 883 print(self.configurator_name + "Candidates are .... " + str([x.name() for x in self.ms.get_components()]))
884 print(self.configurator_name + "Exitting.... " + robotname)
885 exit(1)

/opt/ros/indigo/lib/python2.7/dist-packages/hrpsys/rtm.py in get_components(self)
251 def get_components(self):
252 cs = []
--> 253 crefs = self.ref.get_components()
254 for cref in crefs:
255 c = RTcomponent(cref)

/opt/ros/indigo/lib/python2.7/dist-packages/OpenRTM_aist/RTM_IDL/Manager_idl.pyc in get_components(self, *args)
163
164 def get_components(self, *args):
--> 165 return _omnipy.invoke(self, "get_components", _0_RTM.Manager._d_get_components, args)
166
167 def get_component_profiles(self, *args):

TRANSIENT: CORBA.TRANSIENT(omniORB.TRANSIENT_ConnectFailed, CORBA.COMPLETED_NO)

この時、Hiroにsshでログインしてログを確認すると、以下のようになってました。

$ cat jsk/var/log/rtcd.log
Logger::Logger: streambuf address = 0x805fc70
Memory fault (core dumped)
$ pwd
/opt

なお、# make install
前にコピーしておいたjskディレクトリと、現在のjskディレクトリを入れ替えて再起動すると、Hiro内部のログは以下のようになっていました。

$ cat /opt/jsk/var/log/rtcd.log
Logger::Logger: streambuf address = 0x805fc70
hrpExecutionContext is registered
pdgains.file_name: /opt/jsk/etc/HIRONX/hrprtc/PDgains.sav
dof = 15
client: msg_no: _IO_MAX + 4
client: msg_reply:
rom # 4, soft # 300, 28/9/2011
serial # 5171, model # 129, cal day 28/9/2011
Newton, Newton_meter_10, mm_10, 14 bits, 255 ch
(Crom # 4, soft # 300, 4/10/2011
serial # 5172, model # 129, cal day 4/10/2011
Newton, Newton_meter_10, mm_10, 14 bits, 255 ch
(C
open_iob - shmif instance at 0x80ca0e8
the number of gyros = 0
the number of accelerometers = 0
the number of force sensors = 2
lhsensor
rhsensor
period = 5[ms], priority = 49

この時は、おそらく問題なく起動できているものと思われます。


Reply to this email directly or view it on GitHub
#423 (comment)
.

@k-okada
Copy link
Member Author

k-okada commented Feb 19, 2016

後,古いディレクトリと新しいディレクトリで diff -r したい

◉ Kei Okada

On Fri, Feb 19, 2016 at 5:11 PM, Kei Okada [email protected]
wrote:

お,古いディレクトリに新しい所に出来たcollision detctorだけコピーするとどうなるかな.

◉ Kei Okada

On Fri, Feb 19, 2016 at 5:10 PM, pazeshun [email protected]
wrote:

こないだ、

make install

がうまく行ったと思っていたのですが、再起動を忘れていたためのようで、起動してPCから接続しようとすると以下のようなログが出てきて接続が失敗しました。

$ ipython -i rospack find hironx_ros_bridge/scripts/hironx.py -- --host hiro014
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
Type "copyright", "credits" or "license" for more information.

IPython 1.2.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
configuration ORB with hiro014:15005
[hrpsys.py] wait for RTCmanager : None
[hrpsys.py] wait for RobotHardware0 : None ( timeout 0 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 1 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 2 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 3 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 4 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 5 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 6 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 7 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 8 < 10)
[hrpsys.py] wait for RobotHardware0 : None ( timeout 9 < 10)

[hrpsys.py] Could not find RobotHardware0

TRANSIENT Traceback (most recent call last)
/usr/lib/python2.7/dist-packages/IPython/utils/py3compat.pyc in execfile(fname, *where)
202 else:
203 filename = fname
--> 204 builtin.execfile(filename, *where)

/opt/ros/indigo/share/hironx_ros_bridge/scripts/hironx.py in ()
73 args.modelfile = unknown[1]
74 robot = hiro = hironx_client.HIRONX()
---> 75 robot.init(robotname=args.robot, url=args.modelfile)
76
77 # ROS Client

/opt/ros/indigo/lib/python2.7/dist-packages/hironx_ros_bridge/hironx_client.pyc in init(self, robotname, url)
157 # reload for hrpsys 315.1.8
158 HrpsysConfigurator.waitForModelLoader(self)
--> 159 HrpsysConfigurator.waitForRTCManagerAndRoboHardware(self, robotname=robotname)
160 print self.configurator_name, "Hrpsys controller version info: "
161 if self.ms :

/opt/ros/indigo/lib/python2.7/dist-packages/hrpsys/hrpsys_config.py in waitForRTCManagerAndRoboHardware(self, robotname, managerhost)
914 '''
915 self.waitForRTCManager(managerhost)
--> 916 self.waitForRobotHardware(robotname)
917 self.checkSimulationMode()
918

/opt/ros/indigo/lib/python2.7/dist-packages/hrpsys/hrpsys_config.py in waitForRobotHardware(self, robotname)
881 print(self.configurator_name + "Could not find " + robotname)
882 if self.ms:
--> 883 print(self.configurator_name + "Candidates are .... " + str([x.name() for x in self.ms.get_components()]))
884 print(self.configurator_name + "Exitting.... " + robotname)
885 exit(1)

/opt/ros/indigo/lib/python2.7/dist-packages/hrpsys/rtm.py in get_components(self)
251 def get_components(self):
252 cs = []
--> 253 crefs = self.ref.get_components()
254 for cref in crefs:
255 c = RTcomponent(cref)

/opt/ros/indigo/lib/python2.7/dist-packages/OpenRTM_aist/RTM_IDL/Manager_idl.pyc in get_components(self, *args)
163
164 def get_components(self, *args):
--> 165 return _omnipy.invoke(self, "get_components", _0_RTM.Manager._d_get_components, args)
166
167 def get_component_profiles(self, *args):

TRANSIENT: CORBA.TRANSIENT(omniORB.TRANSIENT_ConnectFailed, CORBA.COMPLETED_NO)

この時、Hiroにsshでログインしてログを確認すると、以下のようになってました。

$ cat jsk/var/log/rtcd.log
Logger::Logger: streambuf address = 0x805fc70
Memory fault (core dumped)
$ pwd
/opt

なお、# make install
前にコピーしておいたjskディレクトリと、現在のjskディレクトリを入れ替えて再起動すると、Hiro内部のログは以下のようになっていました。

$ cat /opt/jsk/var/log/rtcd.log
Logger::Logger: streambuf address = 0x805fc70
hrpExecutionContext is registered
pdgains.file_name: /opt/jsk/etc/HIRONX/hrprtc/PDgains.sav
dof = 15
client: msg_no: _IO_MAX + 4
client: msg_reply:
rom # 4, soft # 300, 28/9/2011
serial # 5171, model # 129, cal day 28/9/2011
Newton, Newton_meter_10, mm_10, 14 bits, 255 ch
(Crom # 4, soft # 300, 4/10/2011
serial # 5172, model # 129, cal day 4/10/2011
Newton, Newton_meter_10, mm_10, 14 bits, 255 ch
(C
open_iob - shmif instance at 0x80ca0e8
the number of gyros = 0
the number of accelerometers = 0
the number of force sensors = 2
lhsensor
rhsensor
period = 5[ms], priority = 49

この時は、おそらく問題なく起動できているものと思われます。


Reply to this email directly or view it on GitHub
#423 (comment)
.

@pazeshun
Copy link
Contributor

$ ldd /opt/jsk.20160219/lib/libhrpIo.so 
/opt/jsk.20160219/lib/libhrpIo.so:
    libhrpIo.so => /opt/jsk.20160219/lib/libhrpIo.so (0xb8200000)
    libboost_filesystem.so => /usr/pkg/lib/libboost_filesystem.so.1.42.0 (0xb820d000)
    libboost_thread.so => /usr/pkg/lib/libboost_thread.so.1.42.0 (0xb8225000)
    libboost_regex.so => /usr/pkg/lib/libboost_regex.so.1.42.0 (0xb823a000)
    libf2c.so => /usr/pkg/lib/libf2c.so (0xb8320000)
    libcpp.so.4 => /lib/libcpp.so.4 (0xb833d000)
    libboost_system.so => /usr/pkg/lib/libboost_system.so.1.42.0 (0xb83a3000)
    libm.so.2 => /lib/libm.so.2 (0xb83a7000)
$ ldd /opt/jsk/lib/libhrpIo.so           
/opt/jsk/lib/libhrpIo.so:
    libhrpIo.so => /opt/jsk/lib/libhrpIo.so (0xb8200000)
    libboost_system.so => /usr/pkg/lib/libboost_system.so.1.42.0 (0xb8219000)
    libboost_signals.so => /usr/pkg/lib/libboost_signals.so.1.42.0 (0xb821d000)
    libboost_filesystem.so => /usr/pkg/lib/libboost_filesystem.so.1.42.0 (0xb823a000)
    libboost_thread.so => /usr/pkg/lib/libboost_thread.so.1.42.0 (0xb8252000)
    libboost_regex.so => /usr/pkg/lib/libboost_regex.so.1.42.0 (0xb8267000)
    libf2c.so => /usr/pkg/lib/libf2c.so.0 (0xb834d000)
    libcpp.so.4 => /lib/libcpp.so.4 (0xb836a000)
    libm.so.2 => /lib/libm.so.2 (0xb83d0000)

@pazeshun
Copy link
Contributor

/opt/jsk/src/hrpsys-base-source-315.1.7/cmake_modules/FindQuickHull.cmakeを以下のように編集してみました。

FIND_PATH(
QHULL_DIR
# NAMES include/qhull/qhull.h
# PATHS /usr /usr/local
NAMES include/libqhull/libqhull.h
PATHS /usr /usr/local /opt/jsk
DOC "the top directory of qhull")

IF ( QHULL_DIR )
    MESSAGE(STATUS "Found Qhull in ${QHULL_DIR}")
    set(QHULL_INCLUDE_DIR ${QHULL_DIR}/include)
    if (APPLE)
      set(QHULL_LIBRARIES qhull)
    else()
      set(QHULL_LIBRARIES qhull)
    endif()
    set(QHULL_FOUND true)
ELSE ( QHULL_INCLUDE_DIR )
    MESSAGE(STATUS "Qhull not found")
    set(QHULL_FOUND false)
ENDIF ( QHULL_DIR )

で、cmakeしようとしたのですが、以下のようなエラーが出てきました。

$ cmake /opt/jsk/src/hrpsys-base-source-315.1.7
-- Found OpenRTM-aist 1.1.0 in /opt/jsk
Package openhrp3.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `openhrp3.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openhrp3.1' found
Package openhrp3.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `openhrp3.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openhrp3.1' found
Package openhrp3.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `openhrp3.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openhrp3.1' found
Package openhrp3.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `openhrp3.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openhrp3.1' found
CMake Error at cmake_modules/FindOpenHRP.cmake:76 (message):
  OpenHRP required, please specify it's location.
Call Stack (most recent call first):
  CMakeLists.txt:38 (find_package)


-- Configuring incomplete, errors occurred!

@k-okada
Copy link
Member Author

k-okada commented Feb 19, 2016

echo $PKG_CONFIG_PATH
して,optがない気がするので,

export PKG_CONFIG_PATH=/opt/jsk/lib/pkgconfig:/usr/pkg/lib/pkgconfig;

みたいなかんじかな.

◉ Kei Okada

On Fri, Feb 19, 2016 at 7:44 PM, pazeshun [email protected] wrote:

/opt/jsk/src/hrpsys-base-source-315.1.7/cmake_modules/FindQuickHull.cmakeを以下のように編集してみました。

FIND_PATH(
QHULL_DIR

NAMES include/qhull/qhull.h

PATHS /usr /usr/local

NAMES include/libqhull/libqhull.h
PATHS /usr /usr/local /opt/jsk
DOC "the top directory of qhull")

IF ( QHULL_DIR )
MESSAGE(STATUS "Found Qhull in ${QHULL_DIR}")
set(QHULL_INCLUDE_DIR ${QHULL_DIR}/include)
if (APPLE)
set(QHULL_LIBRARIES qhull)
else()
set(QHULL_LIBRARIES qhull)
endif()
set(QHULL_FOUND true)
ELSE ( QHULL_INCLUDE_DIR )
MESSAGE(STATUS "Qhull not found")
set(QHULL_FOUND false)
ENDIF ( QHULL_DIR )

で、cmakeしようとしたのですが、以下のようなエラーが出てきました。

$ cmake /opt/jsk/src/hrpsys-base-source-315.1.7
-- Found OpenRTM-aist 1.1.0 in /opt/jsk
Package openhrp3.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing openhrp3.1.pc' to the PKG_CONFIG_PATH environment variable No package 'openhrp3.1' found Package openhrp3.1 was not found in the pkg-config search path. Perhaps you should add the directory containingopenhrp3.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openhrp3.1' found
Package openhrp3.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing openhrp3.1.pc' to the PKG_CONFIG_PATH environment variable No package 'openhrp3.1' found Package openhrp3.1 was not found in the pkg-config search path. Perhaps you should add the directory containingopenhrp3.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openhrp3.1' found
CMake Error at cmake_modules/FindOpenHRP.cmake:76 (message):
OpenHRP required, please specify it's location.
Call Stack (most recent call first):
CMakeLists.txt:38 (find_package)

-- Configuring incomplete, errors occurred!


Reply to this email directly or view it on GitHub.

@pazeshun
Copy link
Contributor

echo $PKG_CONFIG_PATHしても何も出てこなかったので、

$ export PKG_CONFIG_PATH=/opt/jsk/lib/pkgconfig:/usr/pkg/lib/pkgconfig; 
$ cmake /opt/jsk/src/hrpsys-base-source-315.1.7

すると、

$ make
[ 32%] Built target hrpsysBaseStub
[ 32%] Built target hrpIo
[ 33%] Built target hrpEC
[ 34%] Built target NullComponent
[ 36%] Built target NullComponentComp
[ 37%] Built target RobotHardware
[ 39%] Built target RobotHardwareComp
[ 40%] Built target StateHolder
[ 42%] Built target StateHolderComp
[ 43%] Built target WavPlayer
[ 44%] Built target WavPlayerComp
[ 46%] Built target SequencePlayer
[ 49%] Built target SequencePlayerComp
[ 50%] Built target DataLogger
[ 51%] Built target DataLoggerComp
[ 52%] Built target ForwardKinematics
[ 53%] Built target ForwardKinematicsComp
[ 54%] Built target HGcontroller
[ 55%] Built target HGcontrollerComp
[ 55%] Built target Range2PointCloud
[ 56%] Built target Range2PointCloudComp
[ 57%] Built target ImpedanceController
[ 59%] Built target ImpedanceControllerComp
[ 62%] Built target AutoBalancer
[ 65%] Built target AutoBalancerComp
[ 67%] Built target testGaitGenerator
[ 68%] Built target testPreviewController
[ 70%] Built target SoftErrorLimiter
[ 72%] Built target SoftErrorLimiterComp
[ 73%] Built target VirtualForceSensor
[ 74%] Built target VirtualForceSensorComp
[ 75%] Built target GraspController
[ 76%] Built target GraspControllerComp
[ 77%] Built target TorqueFilter
[ 78%] Built target TorqueFilterComp
[ 79%] Built target KalmanFilter
[ 80%] Built target KalmanFilterComp
[ 82%] Built target Stabilizer
[ 85%] Built target StabilizerComp
[ 86%] Built target AbsoluteForceSensor
[ 87%] Built target AbsoluteForceSensorComp
[ 88%] Built target ServoController
[ 89%] Built target ServoControllerComp
[ 90%] Built target testServoSerial
[ 90%] Built target ThermoEstimator
[ 91%] Built target ThermoEstimatorComp
[ 92%] Built target ThermoLimiter
[ 94%] Built target ThermoLimiterComp
[ 96%] Built target TorqueController
[ 98%] Built target TorqueControllerComp
[100%] Built target testMotorTorqueController

となります。これ、CollisionDetector入ってないですよね

@k-okada
Copy link
Member Author

k-okada commented Feb 19, 2016

cwd はどこになっている.既に一回cmakeされているかな?
catkin b --force-cmake 的なことをやらなければいけないので,
CMakeFiles みたいなデレクトリの中のCollisionDetector のディレクトリを消してみて下さい.わからんければ
cmake を打ったディレクトリで find | grep Collision してみて

◉ Kei Okada

On Fri, Feb 19, 2016 at 8:02 PM, pazeshun [email protected] wrote:

echo $PKG_CONFIG_PATHしても何も出てこなかったので、

$ export PKG_CONFIG_PATH=/opt/jsk/lib/pkgconfig:/usr/pkg/lib/pkgconfig;
$ cmake /opt/jsk/src/hrpsys-base-source-315.1.7

すると、

$ make
[ 32%] Built target hrpsysBaseStub
[ 32%] Built target hrpIo
[ 33%] Built target hrpEC
[ 34%] Built target NullComponent
[ 36%] Built target NullComponentComp
[ 37%] Built target RobotHardware
[ 39%] Built target RobotHardwareComp
[ 40%] Built target StateHolder
[ 42%] Built target StateHolderComp
[ 43%] Built target WavPlayer
[ 44%] Built target WavPlayerComp
[ 46%] Built target SequencePlayer
[ 49%] Built target SequencePlayerComp
[ 50%] Built target DataLogger
[ 51%] Built target DataLoggerComp
[ 52%] Built target ForwardKinematics
[ 53%] Built target ForwardKinematicsComp
[ 54%] Built target HGcontroller
[ 55%] Built target HGcontrollerComp
[ 55%] Built target Range2PointCloud
[ 56%] Built target Range2PointCloudComp
[ 57%] Built target ImpedanceController
[ 59%] Built target ImpedanceControllerComp
[ 62%] Built target AutoBalancer
[ 65%] Built target AutoBalancerComp
[ 67%] Built target testGaitGenerator
[ 68%] Built target testPreviewController
[ 70%] Built target SoftErrorLimiter
[ 72%] Built target SoftErrorLimiterComp
[ 73%] Built target VirtualForceSensor
[ 74%] Built target VirtualForceSensorComp
[ 75%] Built target GraspController
[ 76%] Built target GraspControllerComp
[ 77%] Built target TorqueFilter
[ 78%] Built target TorqueFilterComp
[ 79%] Built target KalmanFilter
[ 80%] Built target KalmanFilterComp
[ 82%] Built target Stabilizer
[ 85%] Built target StabilizerComp
[ 86%] Built target AbsoluteForceSensor
[ 87%] Built target AbsoluteForceSensorComp
[ 88%] Built target ServoController
[ 89%] Built target ServoControllerComp
[ 90%] Built target testServoSerial
[ 90%] Built target ThermoEstimator
[ 91%] Built target ThermoEstimatorComp
[ 92%] Built target ThermoLimiter
[ 94%] Built target ThermoLimiterComp
[ 96%] Built target TorqueController
[ 98%] Built target TorqueControllerComp
[100%] Built target testMotorTorqueController

となります。これ、CollisionDetector入ってないですよね


Reply to this email directly or view it on GitHub
#423 (comment)
.

@pazeshun
Copy link
Contributor

$ pwd
/opt/jsk/src/hrpsys-base-source-315.1.7
$ find | grep Collision  
./rtc/CollisionDetector
./rtc/CollisionDetector/.svn
./rtc/CollisionDetector/.svn/text-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetectorComp.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetector.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/GLscene.h.svn-base
./rtc/CollisionDetector/.svn/text-base/VclipLinkPair.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetectorViewer.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetectorService_impl.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/SetupCollisionPair.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/TimedPosture.h.svn-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetector.h.svn-base
./rtc/CollisionDetector/.svn/text-base/CMakeLists.txt.svn-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetectorService_impl.h.svn-base
./rtc/CollisionDetector/.svn/text-base/VclipLinkPair.h.svn-base
./rtc/CollisionDetector/.svn/text-base/GLscene.cpp.svn-base
./rtc/CollisionDetector/.svn/prop-base
./rtc/CollisionDetector/.svn/props
./rtc/CollisionDetector/.svn/tmp
./rtc/CollisionDetector/.svn/tmp/text-base
./rtc/CollisionDetector/.svn/tmp/prop-base
./rtc/CollisionDetector/.svn/tmp/props
./rtc/CollisionDetector/.svn/dir-prop-base
./rtc/CollisionDetector/.svn/all-wcprops
./rtc/CollisionDetector/.svn/entries
./rtc/CollisionDetector/vclip_1.0
./rtc/CollisionDetector/vclip_1.0/.svn
./rtc/CollisionDetector/vclip_1.0/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/.svn/text-base/Makefile.svn-base
./rtc/CollisionDetector/vclip_1.0/.svn/text-base/ii_files.svn-base
./rtc/CollisionDetector/vclip_1.0/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/.svn/props
./rtc/CollisionDetector/vclip_1.0/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/.svn/entries
./rtc/CollisionDetector/vclip_1.0/ptrees
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/ring.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/sixspike.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/ring2.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/mitsu.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/grid.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/sphere.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/jack.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/simple.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/platonics.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/platonics2.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/props
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/entries
./rtc/CollisionDetector/vclip_1.0/ptrees/ring.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/sixspike.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/ring2.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/mitsu.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/grid.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/sphere.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/jack.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/simple.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/Readme
./rtc/CollisionDetector/vclip_1.0/ptrees/platonics.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/platonics2.pt
./rtc/CollisionDetector/vclip_1.0/include
./rtc/CollisionDetector/vclip_1.0/include/.svn
./rtc/CollisionDetector/vclip_1.0/include/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/text-base/mv.h.svn-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/text-base/vclip.h.svn-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/props
./rtc/CollisionDetector/vclip_1.0/include/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/include/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/include/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/include/.svn/entries
./rtc/CollisionDetector/vclip_1.0/include/mv.h
./rtc/CollisionDetector/vclip_1.0/include/Readme
./rtc/CollisionDetector/vclip_1.0/include/vclip.h
./rtc/CollisionDetector/vclip_1.0/doc
./rtc/CollisionDetector/vclip_1.0/doc/.svn
./rtc/CollisionDetector/vclip_1.0/doc/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/text-base/vclip.ps.svn-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/text-base/manual.ps.svn-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/props
./rtc/CollisionDetector/vclip_1.0/doc/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/doc/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/doc/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/doc/.svn/entries
./rtc/CollisionDetector/vclip_1.0/doc/vclip.ps
./rtc/CollisionDetector/vclip_1.0/doc/manual.ps
./rtc/CollisionDetector/vclip_1.0/doc/Readme
./rtc/CollisionDetector/vclip_1.0/lib
./rtc/CollisionDetector/vclip_1.0/lib/.svn
./rtc/CollisionDetector/vclip_1.0/lib/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/lib/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/lib/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/lib/.svn/props
./rtc/CollisionDetector/vclip_1.0/lib/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/lib/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/lib/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/lib/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/lib/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/lib/.svn/entries
./rtc/CollisionDetector/vclip_1.0/lib/Readme
./rtc/CollisionDetector/vclip_1.0/src
./rtc/CollisionDetector/vclip_1.0/src/.svn
./rtc/CollisionDetector/vclip_1.0/src/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/text-base/PolyTree.C.svn-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/text-base/vclip.C.svn-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/text-base/mv.C.svn-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/props
./rtc/CollisionDetector/vclip_1.0/src/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/src/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/src/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/src/.svn/entries
./rtc/CollisionDetector/vclip_1.0/src/PolyTree.C
./rtc/CollisionDetector/vclip_1.0/src/Readme
./rtc/CollisionDetector/vclip_1.0/src/vclip.C
./rtc/CollisionDetector/vclip_1.0/src/mv.C
./rtc/CollisionDetector/vclip_1.0/iv_examples
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/HpanedUI.h.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/Hpaned.h.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/main.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/vcdemo.uil.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/VkwindowMainWindow.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/VkwindowMainWindow.h.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/inventorize.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/transformBoxDragger.iv.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/Makefile.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/HpanedUI.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/materials.iv.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/vcdemo.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/Hpaned.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/props
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/entries
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/mitsu.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/rings.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/stuff.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/grids.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/spheres.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/jacks.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/platonics.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/sixspike.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/lots.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/props
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/entries
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/mitsu.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/rings.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/stuff.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/grids.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/spheres.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/jacks.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/platonics.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/sixspike.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/lots.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/HpanedUI.h
./rtc/CollisionDetector/vclip_1.0/iv_examples/Hpaned.h
./rtc/CollisionDetector/vclip_1.0/iv_examples/main.C
./rtc/CollisionDetector/vclip_1.0/iv_examples/vcdemo.uil
./rtc/CollisionDetector/vclip_1.0/iv_examples/VkwindowMainWindow.C
./rtc/CollisionDetector/vclip_1.0/iv_examples/VkwindowMainWindow.h
./rtc/CollisionDetector/vclip_1.0/iv_examples/inventorize.C
./rtc/CollisionDetector/vclip_1.0/iv_examples/Readme
./rtc/CollisionDetector/vclip_1.0/iv_examples/transformBoxDragger.iv
./rtc/CollisionDetector/vclip_1.0/iv_examples/Makefile
./rtc/CollisionDetector/vclip_1.0/iv_examples/HpanedUI.C
./rtc/CollisionDetector/vclip_1.0/iv_examples/materials.iv
./rtc/CollisionDetector/vclip_1.0/iv_examples/vcdemo.C
./rtc/CollisionDetector/vclip_1.0/iv_examples/Hpaned.C
./rtc/CollisionDetector/vclip_1.0/examples
./rtc/CollisionDetector/vclip_1.0/examples/.svn
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base/allpairs.C.svn-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base/print.C.svn-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base/Makefile.svn-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base/ap1.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/props
./rtc/CollisionDetector/vclip_1.0/examples/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/examples/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/examples/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/examples/.svn/entries
./rtc/CollisionDetector/vclip_1.0/examples/allpairs.C
./rtc/CollisionDetector/vclip_1.0/examples/print.C
./rtc/CollisionDetector/vclip_1.0/examples/Readme
./rtc/CollisionDetector/vclip_1.0/examples/Makefile
./rtc/CollisionDetector/vclip_1.0/examples/ap1.txt
./rtc/CollisionDetector/vclip_1.0/Readme
./rtc/CollisionDetector/vclip_1.0/Makefile
./rtc/CollisionDetector/vclip_1.0/ii_files
./rtc/CollisionDetector/CollisionDetectorComp.cpp
./rtc/CollisionDetector/CollisionDetector.cpp
./rtc/CollisionDetector/GLscene.h
./rtc/CollisionDetector/VclipLinkPair.cpp
./rtc/CollisionDetector/CollisionDetectorViewer.cpp
./rtc/CollisionDetector/CollisionDetectorService_impl.cpp
./rtc/CollisionDetector/SetupCollisionPair.cpp
./rtc/CollisionDetector/TimedPosture.h
./rtc/CollisionDetector/CollisionDetector.h
./rtc/CollisionDetector/CMakeLists.txt
./rtc/CollisionDetector/CollisionDetectorService_impl.h
./rtc/CollisionDetector/VclipLinkPair.h
./rtc/CollisionDetector/GLscene.cpp
./idl/.svn/text-base/CollisionDetectorService.idl.svn-base
./idl/CollisionDetectorService.idl
./idl/CMakeFiles/hrpsysBaseStub.dir/CollisionDetectorServiceSk.o
./idl/CMakeFiles/hrpsysBaseStub.dir/CollisionDetectorServiceDynSk.o
./idl/CollisionDetectorService.hh
./idl/CollisionDetectorServiceSk.cpp
./idl/CollisionDetectorServiceDynSk.cpp

/opt/jsk/src/hrpsys-base-source-315.1.7/rtc/CollisionDetectorしかない気がするのですが・・・

@k-okada
Copy link
Member Author

k-okada commented Feb 19, 2016

cmakeってコマンドを打ったディレクトリでお願いします

◉ Kei Okada

2016/02/19 20:12、pazeshun [email protected] のメッセージ:

$ pwd
/opt/jsk/src/hrpsys-base-source-315.1.7
$ find | grep Collision
./rtc/CollisionDetector
./rtc/CollisionDetector/.svn
./rtc/CollisionDetector/.svn/text-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetectorComp.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetector.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/GLscene.h.svn-base
./rtc/CollisionDetector/.svn/text-base/VclipLinkPair.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetectorViewer.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetectorService_impl.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/SetupCollisionPair.cpp.svn-base
./rtc/CollisionDetector/.svn/text-base/TimedPosture.h.svn-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetector.h.svn-base
./rtc/CollisionDetector/.svn/text-base/CMakeLists.txt.svn-base
./rtc/CollisionDetector/.svn/text-base/CollisionDetectorService_impl.h.svn-base
./rtc/CollisionDetector/.svn/text-base/VclipLinkPair.h.svn-base
./rtc/CollisionDetector/.svn/text-base/GLscene.cpp.svn-base
./rtc/CollisionDetector/.svn/prop-base
./rtc/CollisionDetector/.svn/props
./rtc/CollisionDetector/.svn/tmp
./rtc/CollisionDetector/.svn/tmp/text-base
./rtc/CollisionDetector/.svn/tmp/prop-base
./rtc/CollisionDetector/.svn/tmp/props
./rtc/CollisionDetector/.svn/dir-prop-base
./rtc/CollisionDetector/.svn/all-wcprops
./rtc/CollisionDetector/.svn/entries
./rtc/CollisionDetector/vclip_1.0
./rtc/CollisionDetector/vclip_1.0/.svn
./rtc/CollisionDetector/vclip_1.0/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/.svn/text-base/Makefile.svn-base
./rtc/CollisionDetector/vclip_1.0/.svn/text-base/ii_files.svn-base
./rtc/CollisionDetector/vclip_1.0/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/.svn/props
./rtc/CollisionDetector/vclip_1.0/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/.svn/entries
./rtc/CollisionDetector/vclip_1.0/ptrees
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/ring.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/sixspike.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/ring2.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/mitsu.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/grid.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/sphere.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/jack.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/simple.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/platonics.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/text-base/platonics2.pt.svn-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/props
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/ptrees/.svn/entries
./rtc/CollisionDetector/vclip_1.0/ptrees/ring.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/sixspike.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/ring2.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/mitsu.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/grid.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/sphere.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/jack.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/simple.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/Readme
./rtc/CollisionDetector/vclip_1.0/ptrees/platonics.pt
./rtc/CollisionDetector/vclip_1.0/ptrees/platonics2.pt
./rtc/CollisionDetector/vclip_1.0/include
./rtc/CollisionDetector/vclip_1.0/include/.svn
./rtc/CollisionDetector/vclip_1.0/include/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/text-base/mv.h.svn-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/text-base/vclip.h.svn-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/props
./rtc/CollisionDetector/vclip_1.0/include/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/include/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/include/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/include/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/include/.svn/entries
./rtc/CollisionDetector/vclip_1.0/include/mv.h
./rtc/CollisionDetector/vclip_1.0/include/Readme
./rtc/CollisionDetector/vclip_1.0/include/vclip.h
./rtc/CollisionDetector/vclip_1.0/doc
./rtc/CollisionDetector/vclip_1.0/doc/.svn
./rtc/CollisionDetector/vclip_1.0/doc/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/text-base/vclip.ps.svn-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/text-base/manual.ps.svn-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/props
./rtc/CollisionDetector/vclip_1.0/doc/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/doc/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/doc/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/doc/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/doc/.svn/entries
./rtc/CollisionDetector/vclip_1.0/doc/vclip.ps
./rtc/CollisionDetector/vclip_1.0/doc/manual.ps
./rtc/CollisionDetector/vclip_1.0/doc/Readme
./rtc/CollisionDetector/vclip_1.0/lib
./rtc/CollisionDetector/vclip_1.0/lib/.svn
./rtc/CollisionDetector/vclip_1.0/lib/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/lib/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/lib/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/lib/.svn/props
./rtc/CollisionDetector/vclip_1.0/lib/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/lib/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/lib/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/lib/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/lib/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/lib/.svn/entries
./rtc/CollisionDetector/vclip_1.0/lib/Readme
./rtc/CollisionDetector/vclip_1.0/src
./rtc/CollisionDetector/vclip_1.0/src/.svn
./rtc/CollisionDetector/vclip_1.0/src/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/text-base/PolyTree.C.svn-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/text-base/vclip.C.svn-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/text-base/mv.C.svn-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/props
./rtc/CollisionDetector/vclip_1.0/src/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/src/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/src/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/src/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/src/.svn/entries
./rtc/CollisionDetector/vclip_1.0/src/PolyTree.C
./rtc/CollisionDetector/vclip_1.0/src/Readme
./rtc/CollisionDetector/vclip_1.0/src/vclip.C
./rtc/CollisionDetector/vclip_1.0/src/mv.C
./rtc/CollisionDetector/vclip_1.0/iv_examples
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/HpanedUI.h.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/Hpaned.h.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/main.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/vcdemo.uil.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/VkwindowMainWindow.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/VkwindowMainWindow.h.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/inventorize.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/transformBoxDragger.iv.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/Makefile.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/HpanedUI.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/materials.iv.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/vcdemo.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/text-base/Hpaned.C.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/props
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/iv_examples/.svn/entries
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/mitsu.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/rings.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/stuff.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/grids.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/spheres.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/jacks.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/platonics.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/sixspike.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/text-base/lots.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/props
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/.svn/entries
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/mitsu.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/rings.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/stuff.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/grids.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/spheres.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/jacks.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/platonics.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/sixspike.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/demos/lots.txt
./rtc/CollisionDetector/vclip_1.0/iv_examples/HpanedUI.h
./rtc/CollisionDetector/vclip_1.0/iv_examples/Hpaned.h
./rtc/CollisionDetector/vclip_1.0/iv_examples/main.C
./rtc/CollisionDetector/vclip_1.0/iv_examples/vcdemo.uil
./rtc/CollisionDetector/vclip_1.0/iv_examples/VkwindowMainWindow.C
./rtc/CollisionDetector/vclip_1.0/iv_examples/VkwindowMainWindow.h
./rtc/CollisionDetector/vclip_1.0/iv_examples/inventorize.C
./rtc/CollisionDetector/vclip_1.0/iv_examples/Readme
./rtc/CollisionDetector/vclip_1.0/iv_examples/transformBoxDragger.iv
./rtc/CollisionDetector/vclip_1.0/iv_examples/Makefile
./rtc/CollisionDetector/vclip_1.0/iv_examples/HpanedUI.C
./rtc/CollisionDetector/vclip_1.0/iv_examples/materials.iv
./rtc/CollisionDetector/vclip_1.0/iv_examples/vcdemo.C
./rtc/CollisionDetector/vclip_1.0/iv_examples/Hpaned.C
./rtc/CollisionDetector/vclip_1.0/examples
./rtc/CollisionDetector/vclip_1.0/examples/.svn
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base/allpairs.C.svn-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base/print.C.svn-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base/Readme.svn-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base/Makefile.svn-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/text-base/ap1.txt.svn-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/prop-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/props
./rtc/CollisionDetector/vclip_1.0/examples/.svn/tmp
./rtc/CollisionDetector/vclip_1.0/examples/.svn/tmp/text-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/tmp/prop-base
./rtc/CollisionDetector/vclip_1.0/examples/.svn/tmp/props
./rtc/CollisionDetector/vclip_1.0/examples/.svn/all-wcprops
./rtc/CollisionDetector/vclip_1.0/examples/.svn/entries
./rtc/CollisionDetector/vclip_1.0/examples/allpairs.C
./rtc/CollisionDetector/vclip_1.0/examples/print.C
./rtc/CollisionDetector/vclip_1.0/examples/Readme
./rtc/CollisionDetector/vclip_1.0/examples/Makefile
./rtc/CollisionDetector/vclip_1.0/examples/ap1.txt
./rtc/CollisionDetector/vclip_1.0/Readme
./rtc/CollisionDetector/vclip_1.0/Makefile
./rtc/CollisionDetector/vclip_1.0/ii_files
./rtc/CollisionDetector/CollisionDetectorComp.cpp
./rtc/CollisionDetector/CollisionDetector.cpp
./rtc/CollisionDetector/GLscene.h
./rtc/CollisionDetector/VclipLinkPair.cpp
./rtc/CollisionDetector/CollisionDetectorViewer.cpp
./rtc/CollisionDetector/CollisionDetectorService_impl.cpp
./rtc/CollisionDetector/SetupCollisionPair.cpp
./rtc/CollisionDetector/TimedPosture.h
./rtc/CollisionDetector/CollisionDetector.h
./rtc/CollisionDetector/CMakeLists.txt
./rtc/CollisionDetector/CollisionDetectorService_impl.h
./rtc/CollisionDetector/VclipLinkPair.h
./rtc/CollisionDetector/GLscene.cpp
./idl/.svn/text-base/CollisionDetectorService.idl.svn-base
./idl/CollisionDetectorService.idl
./idl/CMakeFiles/hrpsysBaseStub.dir/CollisionDetectorServiceSk.o
./idl/CMakeFiles/hrpsysBaseStub.dir/CollisionDetectorServiceDynSk.o
./idl/CollisionDetectorService.hh
./idl/CollisionDetectorServiceSk.cpp
./idl/CollisionDetectorServiceDynSk.cpp

Reply to this email directly or view it on GitHub.

@pazeshun
Copy link
Contributor

そこで打ちました

@k-okada
Copy link
Member Author

k-okada commented Feb 19, 2016

CMakeFilesみたいなディレクトリない?

◉ Kei Okada

2016/02/19 20:19、pazeshun [email protected] のメッセージ:

そこで打ちました


Reply to this email directly or view it on GitHub.

@pazeshun
Copy link
Contributor

$ pwd
/opt/jsk/src/hrpsys-base-source-315.1.7
$ cd CMakeFiles/
$ ls -l
total 394
-rw-r--r--  1 hiro      users          1259 Jul 09  2014 CMakeCCompiler.cmake
-rw-r--r--  1 hiro      users          1375 Jul 09  2014 CMakeCXXCompiler.cmake
-rwxrwxr-x  1 hiro      users          5045 Jul 09  2014 CMakeDetermineCompilerABI_C.bin
-rwxrwxr-x  1 hiro      users          5339 Jul 09  2014 CMakeDetermineCompilerABI_CXX.bin
-rw-rw-r--  1 hiro      users          1056 Jul 09  2014 CMakeDirectoryInformation.cmake
-rw-rw-rw-  1 hiro      users          3073 Jul 09  2014 CMakeError.log
-rw-rw-rw-  1 hiro      users         15908 Jul 09  2014 CMakeOutput.log
-rw-rw-r--  1 hiro      users          1526 Feb 19 19:38 CMakeRuleHashes.txt
-rw-r--r--  1 hiro      users           340 Jul 09  2014 CMakeSystem.cmake
drwxrwxr-x  3 hiro      users          1024 Jan 19  2014 CMakeTmp
drwxrwxr-x  2 hiro      users          1024 Jan 19  2014 CompilerIdC
drwxrwxr-x  2 hiro      users          1024 Jan 19  2014 CompilerIdCXX
-rw-rw-r--  1 hiro      users          9423 Feb 19 19:38 Makefile.cmake
-rw-rw-r--  1 hiro      users        145475 Feb 19 19:38 Makefile2
-rw-rw-r--  1 hiro      users          4589 Feb 19 19:38 TargetDirectories.txt
-rw-rw-r--  1 hiro      users            85 Feb 19 19:38 cmake.check_cache
-rw-rw-r--  1 hiro      users             4 Feb 19 19:38 progress.marks

@k-okada
Copy link
Member Author

k-okada commented Feb 19, 2016

$ cmake /opt/jsk/src/hrpsys-base-source-315.1.7
すたらなんてひょうじがでたの?

◉ Kei Okada

2016/02/19 20:22、pazeshun [email protected] のメッセージ:

$ pwd
/opt/jsk/src/hrpsys-base-source-315.1.7
$ cd CMakeFiles/
$ ls -l
total 394
-rw-r--r-- 1 hiro users 1259 Jul 09 2014 CMakeCCompiler.cmake
-rw-r--r-- 1 hiro users 1375 Jul 09 2014 CMakeCXXCompiler.cmake
-rwxrwxr-x 1 hiro users 5045 Jul 09 2014 CMakeDetermineCompilerABI_C.bin
-rwxrwxr-x 1 hiro users 5339 Jul 09 2014 CMakeDetermineCompilerABI_CXX.bin
-rw-rw-r-- 1 hiro users 1056 Jul 09 2014 CMakeDirectoryInformation.cmake
-rw-rw-rw- 1 hiro users 3073 Jul 09 2014 CMakeError.log
-rw-rw-rw- 1 hiro users 15908 Jul 09 2014 CMakeOutput.log
-rw-rw-r-- 1 hiro users 1526 Feb 19 19:38 CMakeRuleHashes.txt
-rw-r--r-- 1 hiro users 340 Jul 09 2014 CMakeSystem.cmake
drwxrwxr-x 3 hiro users 1024 Jan 19 2014 CMakeTmp
drwxrwxr-x 2 hiro users 1024 Jan 19 2014 CompilerIdC
drwxrwxr-x 2 hiro users 1024 Jan 19 2014 CompilerIdCXX
-rw-rw-r-- 1 hiro users 9423 Feb 19 19:38 Makefile.cmake
-rw-rw-r-- 1 hiro users 145475 Feb 19 19:38 Makefile2
-rw-rw-r-- 1 hiro users 4589 Feb 19 19:38 TargetDirectories.txt
-rw-rw-r-- 1 hiro users 85 Feb 19 19:38 cmake.check_cache
-rw-rw-r-- 1 hiro users 4 Feb 19 19:38 progress.marks

Reply to this email directly or view it on GitHub.

@pazeshun
Copy link
Contributor

$ cmake /opt/jsk/src/hrpsys-base-source-315.1.7
-- Found OpenRTM-aist 1.1.0 in /opt/jsk
-- Found OpenHRP 3.1.5 in /opt/jsk
-- Found Qhull in /opt/jsk
-- checking for module 'opencv'
--   package 'opencv' not found
-- checking for module 'glew'
--   package 'glew' not found
-- checking for module 'opencv-2.3.1'
--   package 'opencv-2.3.1' not found
CMake Warning at CMakeLists.txt:111 (message):
  opencv not found


Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/DataLoggerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/StateHolderService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/RobotHardwareService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/WavPlayerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/SequencePlayerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/ForwardKinematicsService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/ExecutionProfileService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/OGMap3DService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/NullService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/TimeKeeperService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/Img.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/HRPDataTypes.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/pointcloud.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/ImpedanceControllerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/SoftErrorLimiterService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/CollisionDetectorService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/GraspControllerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/TorqueFilterService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/KalmanFilterService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/VirtualForceSensorService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/StabilizerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/AutoBalancerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/AbsoluteForceSensorService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/ServoControllerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/TorqueControllerService.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/ClockGenerator.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/CollisionDetector.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/Controller.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/DynamicsSimulator.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/ModelLoader.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/OnlineViewer.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/OpenHRPCommon.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/ViewSimulator.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/World.idl exists
CMake Warning (dev) at ec/hrpEC/CMakeLists.txt:4 (link_directories):
  This command specifies the relative path

    io

  as a link directory.

  Policy CMP0015 is not set: link_directories() treats paths relative to the
  source dir.  Run "cmake --help-policy CMP0015" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at rtc/RobotHardware/CMakeLists.txt:3 (link_directories):
  This command specifies the relative path

    io

  as a link directory.

  Policy CMP0015 is not set: link_directories() treats paths relative to the
  source dir.  Run "cmake --help-policy CMP0015" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Irrlicht not found
-- checking for module 'octomap'
--   package 'octomap' not found
CMake Warning at test/CMakeLists.txt:29 (message):
  GTest not found; C++ tests will fail to build.


-- Configuring done
-- Generating done
-- Build files have been written to: /opt/jsk/src/hrpsys-base-source-315.1.7

@k-okada
Copy link
Member Author

k-okada commented Feb 19, 2016

CollisionDetectorのCMakeLists.txtに
message("hoge hoge")
と書いてデバッグかな。

◉ Kei Okada

2016/02/19 20:26、pazeshun [email protected] のメッセージ:

$ cmake /opt/jsk/src/hrpsys-base-source-315.1.7
-- Found OpenRTM-aist 1.1.0 in /opt/jsk
-- Found OpenHRP 3.1.5 in /opt/jsk
-- Found Qhull in /opt/jsk
-- checking for module 'opencv'
-- package 'opencv' not found
-- checking for module 'glew'
-- package 'glew' not found
-- checking for module 'opencv-2.3.1'
-- package 'opencv-2.3.1' not found
CMake Warning at CMakeLists.txt:111 (message):
opencv not found

Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/DataLoggerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/StateHolderService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/RobotHardwareService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/WavPlayerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/SequencePlayerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/ForwardKinematicsService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/ExecutionProfileService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/OGMap3DService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/NullService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/TimeKeeperService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/Img.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/HRPDataTypes.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/pointcloud.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/ImpedanceControllerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/SoftErrorLimiterService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/CollisionDetectorService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/GraspControllerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/TorqueFilterService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/KalmanFilterService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/VirtualForceSensorService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/StabilizerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/AutoBalancerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/AbsoluteForceSensorService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/ServoControllerService.idl exists
Check if /opt/jsk/src/hrpsys-base-source-315.1.7/idl/TorqueControllerService.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/ClockGenerator.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/CollisionDetector.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/Controller.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/DynamicsSimulator.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/ModelLoader.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/OnlineViewer.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/OpenHRPCommon.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/ViewSimulator.idl exists
Check if /opt/jsk/share/OpenHRP-3.1/idl/OpenHRP/World.idl exists
CMake Warning (dev) at ec/hrpEC/CMakeLists.txt:4 (link_directories):
This command specifies the relative path

io

as a link directory.

Policy CMP0015 is not set: link_directories() treats paths relative to the
source dir. Run "cmake --help-policy CMP0015" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at rtc/RobotHardware/CMakeLists.txt:3 (link_directories):
This command specifies the relative path

io

as a link directory.

Policy CMP0015 is not set: link_directories() treats paths relative to the
source dir. Run "cmake --help-policy CMP0015" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Irrlicht not found
-- checking for module 'octomap'
-- package 'octomap' not found
CMake Warning at test/CMakeLists.txt:29 (message):
GTest not found; C++ tests will fail to build.

-- Configuring done
-- Generating done
-- Build files have been written to: /opt/jsk/src/hrpsys-base-source-315.1.7

Reply to this email directly or view it on GitHub.

@pazeshun
Copy link
Contributor

わかりました。
もう帰らないといけないので、来週やります。

@k-okada
Copy link
Member Author

k-okada commented Feb 19, 2016

はい。了解。

◉ Kei Okada

2016/02/19 20:32、pazeshun [email protected] のメッセージ:

わかりました。
もう帰らないといけないので、来週やります。


Reply to this email directly or view it on GitHub.

@pazeshun
Copy link
Contributor

pazeshun commented Sep 7, 2016

Runningになっている気がするのですが、あっているのでしょうか?

@k-okada
Copy link
Member Author

k-okada commented Sep 7, 2016

inactive なんじゃないかな.ここでactivateするとactivate状態になる.rtactというコマンドラインもある.http://www.openrtm.org/pub/OpenRTM-aist/tools/rtshell/3.0/ja/rtact.html

@k-okada
Copy link
Member Author

k-okada commented Sep 7, 2016

activateするとはじめてonExecuteが毎周期うごく.コンポーネントってやつ.ROS2はこのスタイルになるので経験しておくのが大吉.

@pazeshun
Copy link
Contributor

pazeshun commented Sep 7, 2016

前の状態から、

$ rtcon hiro014:15005/RobotHardware0.rtc:q hiro014:15005/co.rtc:qCurrent
$ rtact hiro014:15005/co.rtc
$ rtcat -l hiro014:15005/co.rtc
rtcat: CORBA.BAD_PARAM(omniORB.BAD_PARAM_IndexOutOfRange, CORBA.COMPLETED_NO)
rtcat: Zombie object: hiro014:15005/co.rtc

となり、activeにするとコンポーネントがゾンビ化しました。それで、コンポーネントを実行してるQNXのターミナルを見てみたところ、

CollisionDetector0: onActivated(0)
ModelLoaderException :  cannot be found.
failed to load model[]
CollisionDetector0: onDeactivated(0)
Memory fault (core dumped) 

ということで、モデルがなくてロードできず、死んでいたみたいです。

@k-okada
Copy link
Member Author

k-okada commented Sep 7, 2016

/opt/jsk/etc/HIROINX/hrprtc/Robot.conf
がちょんと読み込まれて,このRobot.confに
model: ....main.wrl
となっていればいいはずだけど,

@pazeshun
Copy link
Contributor

pazeshun commented Sep 7, 2016

/opt/jsk/etc/HIROINX/hrprtc/Robot.confにはmodel: /opt/jsk/etc/HIRONX/model/main.wrlとなっており、

$ pwd
/opt/jsk/etc/HIRONX/model
$ ls
BASE.wrl                               RWP.wrl
BASE_BASE.wrl                          RWR-00.wrl
BODY.wrl                               RWR-J0.wrl
CY.wrl                                 RWR-J1.wrl
DemoTray.wrl                           RWR-J2.wrl
DemoTray_Base.wrl                      RWR-J3.wrl
DemoTray_Tray.wrl                      RWY.wrl
LEP.wrl                                WR.wrl
LHANDCAM_01.wrl                        ball_blue.wrl
LRWR.wrl                               ball_orange.wrl
LSP.wrl                                dice.wrl
LSY.wrl                                hironx.dae
LWP.wrl                                hironx.robot.xml
LWR-00.wrl                             kawada-hironx.dae
LWR-J0.wrl                             main.wrl
LWR-J1.wrl                             main.wrl.bak20140222
LWR-J2.wrl                             main.wrl.bak20140707
LWR-J3.wrl                             main.wrl.bak20140819
LWY.wrl                                main.wrl~
MODEL_B.wrl                            main_dof15.wrl
NP.wrl                                 main_dof15_fs.wrl
NY.wrl                                 main_dof15_fs.wrl.bak20140819
REP.wrl                                main_dof23.wrl
RHANDCAM_01.wrl                        main_fs_hrpsys.wrl
RSP.wrl                                main_fs_ivplan.wrl
RSY.wrl

なので、読み込めないはずはないと思うのですが・・・。

@k-okada
Copy link
Member Author

k-okada commented Sep 7, 2016

 example.CollisionDetector.config_file://opt/jsk/etc/HIROINX/hrprtc/Robot.conf
 example.CollisionDetector.config_file:/opt/jsk/etc/HIROINX/hrprtc/Robot.conf

???

@k-okada
Copy link
Member Author

k-okada commented Sep 7, 2016

rtcdRobotMode.conf
で,
example.CollisionDetector.config_file://opt/jsk/etc/HIROINX/hrprtc/Robot.conf
に切り替えるてみてみるのかな.

@pazeshun
Copy link
Contributor

pazeshun commented Sep 7, 2016

rtcdRobotMode.confは、

corba.nameservers: localhost:15005
logger.enable: YES
logger.log_level: NORMAL
#logger.log_level: DEBUG
#logger.log_level: TRACE
#logger.log_level: VERBOSE
#logger.log_level: PARANOID
logger.file_name: stdout
exec_cxt.periodic.type: hrpExecutionContext
exec_cxt.periodic.rate: 200

manager.is_master: YES
manager.modules.load_path: /opt/jsk/lib
manager.modules.preload: hrpEC.so,RobotHardware.so
manager.components.precreate: RobotHardware

## All Robots
example.RobotHardware.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
example.SequencePlayer.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
example.StateHolder.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
example.ForwardKinematics.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
example.DataLogger.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
## Walking
example.AutoBalancer.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
example.Stabilizer.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
## Impedance
example.AbsoluteForceSensor.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
example.ImpedanceController.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
example.RemoveForceSensorLinkOffset.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robo
t.conf
## SoftErrorLimit
example.VirtualForceSensor.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
example.TorqueFilter.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
## SoftErrorLimit
example.KalmanFilter.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
example.SoftErrorLimiter.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
## Collision
example.CollisionDetector.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf
## Grasper
example.ServoController.config_file: /opt/jsk/etc/HIRONX/hrprtc/Robot.conf

となっているのですが、これらすべて書き換えでしょうか?

@k-okada
Copy link
Member Author

k-okada commented Sep 7, 2016

コピペミス
logger.log_level: VERBOSE
にしてみようか.だめならPARANOIDで

@pazeshun
Copy link
Contributor

pazeshun commented Sep 7, 2016

コピペミスを修正しましたが、同じ症状が発生し、VERBOSEやPARANOIDにしても同じエラー表示しかされませんでした。今日はもう帰らないといけないので、一旦切り上げます。

@k-okada
Copy link
Member Author

k-okada commented Sep 7, 2016

はい
VERBOSEにしたらrtcdから大量にログが書かれているはずなので明日またlogファイルを確認してみてください

2016年9月7日水曜日、[email protected]さんは書きました:

コピペミスを修正しましたが、同じ症状が発生し、VERBOSEやPARANOIDにしても同じエラー表示しかさ
れませんでした。今日はもう帰らないといけないので、一旦切り上げます。


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#423 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeG3IrP_s8vm2twLcxH99wj6YlQKSlBks5qnodigaJpZM4HKIzB
.

◉ Kei Okada

@emijah
Copy link
Contributor

emijah commented Sep 7, 2016

@pazeshun 「様」は不要ですよ。:)

すでに解決しているところに茶々を入れてしまいますが、math.hはC用のヘッダなので、どちらかというとextern ”C"の中に入っていた方がいいかもしれませんね。c++のヘッダはmathなのですが、sin, cosなどが見えず、std::sin, std::cosが見えるように
using std::sin;
using std::cos;
を追記する必要が出てくることが多々あります。

@pazeshun
Copy link
Contributor

pazeshun commented Sep 13, 2016

@emijah

math.hはC用のヘッダなので、どちらかというとextern ”C"の中に入っていた方がいいかもしれませんね

こうすると、前に上げたエラーが出てきます。下のリンク先と同じように、古いシステムゆえの問題だと思います。
http://www.sourceware.org/ml/gsl-discuss/2000/msg00224.html

@pazeshun
Copy link
Contributor

@k-okada
PARANOIDにして、ログを確認してみたのですが、CollisionDetector周りででているエラーについての新規情報はありませんでした。

Sep 13 06:06:40.236 PARANOID: SoftErrorLimiter0: on_state_update(1000)
Sep 13 06:06:40.236 PARANOID: SoftErrorLimiter0: onStateUpdate(1000)
Sep 13 06:06:40.236 TRACE: CollisionDetector0: on_activated(1000)
co: onActivated(1000)
Sep 13 06:06:40.236 TRACE: manager: Manager::getORB()
Sep 13 06:06:40.236 TRACE: CollisionDetector0: getProperties()
Sep 13 06:06:40.241 TRACE: hrpEC: get_component_state()
Sep 13 06:06:40.252 TRACE: hrpEC: get_component_state()
Sep 13 06:06:40.264 TRACE: hrpEC: get_component_state()
Sep 13 06:06:40.274 TRACE: hrpEC: get_component_state()
Sep 13 06:06:40.285 TRACE: hrpEC: get_component_state()
Memory fault (core dumped)

@k-okada
Copy link
Member Author

k-okada commented Sep 13, 2016

https://github.com/fkanehiro/hrpsys-base/blob/315.1.10/rtc/CollisionDetector/CollisionDetector.cpp#L144
の直後に
std::cerr << prop["dt"] << std::endl;
みたいにしてみよう.
できれば,
(dolist (p prop) (print p))
してみよう.

◉ Kei Okada

On Tue, Sep 13, 2016 at 3:59 PM, pazeshun [email protected] wrote:

@k-okada https://github.com/k-okada
PARANOIDにして、ログを確認してみたのですが、CollisionDetector周りででているエラーについての新規情報はありませんでした。

Sep 13 06:06:40.236 PARANOID: SoftErrorLimiter0: on_state_update(1000)
Sep 13 06:06:40.236 PARANOID: SoftErrorLimiter0: onStateUpdate(1000)
Sep 13 06:06:40.236 TRACE: CollisionDetector0: on_activated(1000)
co: onActivated(1000)
Sep 13 06:06:40.236 TRACE: manager: Manager::getORB()
Sep 13 06:06:40.236 TRACE: CollisionDetector0: getProperties()
Sep 13 06:06:40.241 TRACE: hrpEC: get_component_state()
Sep 13 06:06:40.252 TRACE: hrpEC: get_component_state()
Sep 13 06:06:40.264 TRACE: hrpEC: get_component_state()
Sep 13 06:06:40.274 TRACE: hrpEC: get_component_state()
Sep 13 06:06:40.285 TRACE: hrpEC: get_component_state()
Memory fault (core dumped)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#423 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeG3CZPhHwtjmLr5CF-ozhg8Q2UrR9Lks5qpknBgaJpZM4HKIzB
.

@pazeshun
Copy link
Contributor

pazeshun commented May 31, 2018

詳細は次のコメントで述べますが、実機でcollision detectorが動くようになりました。

(追記)
hironx_client.py#423 (comment) と同じ編集をし、実機をつないで

$ ipython -i `rospack find hironx_ros_bridge`/scripts/hironx.py -- --host hiro014

とした後、robot.checkEncorders(), robot.startImpedance("rarm"), robot.startImpedance("larm")として、両腕をインピーダンス制御にします。
この状態で両腕を人間が動かし、衝突する姿勢に持ってこうとしても、衝突直前で腕が止まり、それ以上動かせなくなることを確認しました。
collision detectorが動いていないと、腕が衝突し、サーボが切れて胸の赤LEDが点滅するようになります。
(追記終わり)

まず、hironx_client.py#423 (comment) と同じ編集をした上で、実機に接続してroslaunch hironx_ros_bridge hironx_ros_bridge_real.launch nameserver:=hiro014とジョイントキャリブを済ませます。

実機が左上の姿勢の時に、右上のエンドエフェクタが干渉する姿勢を指令すると、エンドエフェクタが実際に衝突する前に動きが止まるようになりました。
動画はhttps://drive.google.com/open?id=1PYSGffMFfJ8-qGJIbNIV5sfEw7chQCCv です。
また、停止直後にHiro内部のQNXでcat /opt/jsk/var/log/rtcd.logとして確認したログはhttps://drive.google.com/open?id=1q6B09Udz_zoHs3ODChFyvQiqD5ZWT5Pd です。
ログ最後の方は、

58/59 pair: RARM_JOINT5/LARM_JOINT5(13), distance = -5.51963e-09

となっており、collisionが検知されていることがわかります。

Euslispを使っている場合は、以下の方法で指令値を再現できます。

3.irteusgl$ send *hironx* :angle-vector #f(-0.5995 0.0 -100.0 15.1993 9.39961 3.18924 0.5995 0.0 -99.9995 -15.1993 9.39961 -3.19971 0.0 0.0 0.0)
4.irteusgl$ send *ri* :angle-vector (send *hironx* :angle-vector) 5000
5.irteusgl$ send *hironx* :rarm :inverse-kinematics (send *hironx* :larm :end-coords)
8.irteusgl$ progn (unix::sleep 10) (send *ri* :angle-vector (send *hironx* :angle-vector) 10000)

@pazeshun
Copy link
Contributor

以前の作業は、#423 (comment) の時点で止まっていましたが、このときモデルがロードできなかったのはtypoしていたからで、正しいコマンドは

RTCTREE_NAMESERVERS=hiro014:15005 SIMULATOR_NAME=RobotHardware0 ./CollisionDetectorComp -o corba.nameservers:hiro014:15005 -o naming.formats:co.rtc -o exec_cxt.periodic.type:PeriodicExecutionContext -o exec_cxt.periodic.rate:2000 -o logger.file_name:/tmp/collision_detector%p.log -o example.CollisionDetector.config_file:/opt/jsk/etc/HIRONX/hrprtc/Robot.conf

でした。
これをQNXの/opt/jsk/bin上で実行し、

Logger::Logger: streambuf address = 0x80bd938
Error: cannot open logfile: ./rtc4235301.log
CollisionDetector0: onInitialize()
Number of Ports: 4

Port0 (name): CollisionDetector0.qRef
---interfaces---
---properties---
port.port_type: DataInPort
dataport.data_type: IDL:RTC/TimedDoubleSeq:1.0
dataport.subscription_type: Any
dataport.dataflow_type: push,pull
dataport.interface_type: corba_cdr
----------------

Port1 (name): CollisionDetector0.qCurrent
---interfaces---
---properties---
port.port_type: DataInPort
dataport.data_type: IDL:RTC/TimedDoubleSeq:1.0
dataport.subscription_type: Any
dataport.dataflow_type: push,pull
dataport.interface_type: corba_cdr
----------------

Port2 (name): CollisionDetector0.q
---interfaces---
---properties---
port.port_type: DataOutPort
dataport.data_type: IDL:RTC/TimedDoubleSeq:1.0
dataport.subscription_type: flush,new,periodic
dataport.dataflow_type: push,pull
dataport.interface_type: corba_cdr
----------------

Port3 (name): CollisionDetector0.CollisionDetectorService
---interfaces---
I/F name: service0
I/F type: CollisionDetectorService
Polarity: PROVIDED
---properties---
port.port_type: CorbaPort
----------------

と表示された状態で、クライアントPC側からRTCを確認すると、

$ rtls hiro014:15005/
CollisionDetector0.rtc  ModelLoader  RobotHardware0.rtc  hiro014.host_cxt/

のようにCollisionDetector0.rtcが生成されているので、

$ rtcon hiro014:15005/RobotHardware0.rtc:q hiro014:15005/CollisionDetector0.rtc:qCurrent
$ rtact hiro014:15005/CollisionDetector0.rtc

としてactivateしてみると、QNX側で

CollisionDetector0: onActivated(0)
Memory fault (core dumped)

と表示され、モデルロードのエラーは出なくなりましたがやはりコアダンプしました。
print文デバッグの結果、fkanehiro/hrpsys-base#1247 のような修正を加え、/opt/jsk/src/hrpsys-base-source-315.1.7で# make installすると、コアダンプしなくなりました。


後は、https://github.com/start-jsk/rtmros_hironx/blob/indigo-devel/hironx_ros_bridge/conf/conf.in にならって、/opt/jsk/etc/HIRONX/hrprtc/Robot.confにcollision checkするリンクのペアを以下のように定義し、

collision_pair: HEAD_JOINT0:RARM_JOINT2 HEAD_JOINT0:RARM_JOINT3 HEAD_JOINT0:RARM_JOINT4 HEAD_JOINT0:RARM_JOINT5 HEAD_JOINT0:LARM_JOINT2 HEAD_JOINT0:LARM_JOINT3 HEAD_JOINT0:LARM_JOINT4 HEAD_JOINT0:LARM_JOINT5 HEAD_JOINT1:RARM_JOINT2 HEAD_JOINT1:RARM_JOINT3 HEAD_JOINT1:RARM_JOINT4 HEAD_JOINT1:RARM_JOINT5 HEAD_JOINT1:LARM_JOINT2 HEAD_JOINT1:LARM_JOINT3 HEAD_JOINT1:LARM_JOINT4 HEAD_JOINT1:LARM_JOINT5 CHEST_JOINT0:RARM_JOINT2 CHEST_JOINT0:RARM_JOINT3 CHEST_JOINT0:RARM_JOINT4 CHEST_JOINT0:RARM_JOINT5 CHEST_JOINT0:LARM_JOINT2 CHEST_JOINT0:LARM_JOINT3 CHEST_JOINT0:LARM_JOINT4 CHEST_JOINT0:LARM_JOINT5 RARM_JOINT0:LARM_JOINT1 RARM_JOINT0:LARM_JOINT2 RARM_JOINT0:LARM_JOINT3 RARM_JOINT0:LARM_JOINT4 RARM_JOINT0:LARM_JOINT5 RARM_JOINT1:LARM_JOINT0 RARM_JOINT1:LARM_JOINT1 RARM_JOINT1:LARM_JOINT2 RARM_JOINT1:LARM_JOINT3 RARM_JOINT1:LARM_JOINT4 RARM_JOINT1:LARM_JOINT5 RARM_JOINT2:LARM_JOINT0 RARM_JOINT2:LARM_JOINT1 RARM_JOINT2:LARM_JOINT2 RARM_JOINT2:LARM_JOINT3 RARM_JOINT2:LARM_JOINT4 RARM_JOINT2:LARM_JOINT5 RARM_JOINT3:LARM_JOINT0 RARM_JOINT3:LARM_JOINT1 RARM_JOINT3:LARM_JOINT2 RARM_JOINT3:LARM_JOINT3 RARM_JOINT3:LARM_JOINT4 RARM_JOINT3:LARM_JOINT5 RARM_JOINT4:LARM_JOINT0 RARM_JOINT4:LARM_JOINT1 RARM_JOINT4:LARM_JOINT2 RARM_JOINT4:LARM_JOINT3 RARM_JOINT4:LARM_JOINT4 RARM_JOINT4:LARM_JOINT5 RARM_JOINT5:LARM_JOINT0 RARM_JOINT5:LARM_JOINT1 RARM_JOINT5:LARM_JOINT2 RARM_JOINT5:LARM_JOINT3 RARM_JOINT5:LARM_JOINT4 RARM_JOINT5:LARM_JOINT5

make installすると上書かれるダミーのhrpIoを以下のように純正品に置き換えることで、実機がcollision check入りで動かせるようになりました。

# cp /opt/hiro/lib/libhrpIo.so /opt/jsk/lib/libhrpIo.so

@pazeshun
Copy link
Contributor

/opt/jsk/src/hrpsys-base-source-315.1.7の現在のdiffは、https://drive.google.com/open?id=12RFBSlq2lDJ1NbaPKQUkl3wQSzzxfnBX のようになっています。
collision detectorを入れる作業を入れる前のdiffはhttps://drive.google.com/open?id=1dg-SLyRsRoKptBKoYSdzUgb4Owl1zqaa で、この二つの差が必要だった変更になります。

#423 (comment) で言及したパッチと、#423 (comment)fkanehiro/hrpsys-base#1247 で構成されています。

@longjie
Copy link
Contributor

longjie commented May 31, 2018

👍

pazeshun added a commit to pazeshun/hrpsys-base that referenced this issue Nov 7, 2019
pazeshun added a commit to pazeshun/hrpsys-base that referenced this issue Nov 7, 2019
pazeshun added a commit to pazeshun/hrpsys-base that referenced this issue Nov 13, 2019
pazeshun added a commit to pazeshun/hrpsys-base that referenced this issue Nov 13, 2019
pazeshun added a commit to pazeshun/hrpsys-base that referenced this issue Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants