You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [2]: from hrpsys.hrpsys_config import *
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-2-c5105204d0f7> in <module>()
----> 1 from hrpsys.hrpsys_config import *
/home/k-okada/ros/indigo_parent/devel/lib/python2.7/dist-packages/hrpsys/hrpsys_config.py in <module>()
20
21 import OpenHRP
---> 22 SWITCH_ON = OpenHRP.RobotHardwareService.SWITCH_ON
23 print SWITCH_ON
とするとエラーになります.
そういうものでしょうか?
The text was updated successfully, but these errors were encountered:
k-okada
changed the title
'SWITCH_ON = OpenHRP.RobotHardwareService_idl.SWITCH_ON'について
'SWITCH_ON = OpenHRP.RobotHardwareService.SWITCH_ON'について
Mar 24, 2015
あいかわらずpythonのimportがよくわかっていないんですが,
https://github.com/fkanehiro/hrpsys-base/blob/master/python/hrpsys_config.py#L1585
のSWITCH_ON, SWITCH_OFFがどこにも定義されていないので,
https://github.com/start-jsk/rtmros_hironx/blob/hydro-devel/hironx_ros_bridge/src/hironx_ros_bridge/hironx_client.py#L50
にあるように
をhrpsys_config.pyのなかでやろうとしているんですがうまく行きません.
たしかに,
として,dist-packagesのディレクとりで
とすると,OKなんですが,
とするとエラーになります.
そういうものでしょうか?
The text was updated successfully, but these errors were encountered: