-
Notifications
You must be signed in to change notification settings - Fork 38
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
"omniORB.BAD_OPERATION_UnRecognisedOperationName" error upon calling readDigitalOutput #343
Comments
I have no idea about this error. A few thoughts:
I close this for now but if there'll turn out to be anything specific to this repo, please reopen. |
This problem seems very nextage specific problem for me.....
1. please provide all python output since you start ipython ....
2. when did you last see the robot moves gripper , and what did you do then.
3. please check with following command from your ubuntu client PC
```
rtls nextage:15005/
rtcat -l nextage:15005/RobotHardware0.rtc
```
…--
◉ Kei Okada
2017-06-28 8:56 GMT+09:00 Isaac I.Y. Saito <[email protected]>:
I have no idea about this error. A few thoughts:
- readDigitalOutput
<http://fkanehiro.github.io/hrpsys-base/df/d98/classpython_1_1hrpsys__config_1_1HrpsysConfigurator.html#a7322eed06c2bd19890498b635098fd97>
and writeDigitalOutput
<http://fkanehiro.github.io/hrpsys-base/df/d98/classpython_1_1hrpsys__config_1_1HrpsysConfigurator.html#ab0beb81c5b130145524e97f5f5bd5fa1>
are methods from upstream library hrpsys as I linked to the document of
each. I would suggest we'll keep tracking this down on their repository. I initiated
a conversation for you
<fkanehiro/hrpsys-base#1170>, so please go
ahead continue there.
- Make sure other DIO-related methods work for you (e.g. this tutorial
<http://wiki.ros.org/rtmros_nextage/Tutorials/Using%20digital%20IO%20%28NXO%20only%29>).
If they don't, you might have other hindering issues that need to be fixed.
I close this for now but if there'll turn out to be anything specific to
this repo, please reopen.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#343 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAeG3MCDZ7oB9D8hRiz-bCokiprS6p1Sks5sIZaTgaJpZM4OHS3e>
.
|
The full python output is provided attached in this message. It is the first time that I use the grippers and/or DIO on the robot. ipython -i IPython 0.12.1 -- An enhanced Interactive Python. In [1]: robot.servoOn() In [2]: robot.checkEncoders() In [3]: robot.goInitial() In [4]: b=robot.readDigitalOutput()BAD_OPERATION Traceback (most recent call last) /opt/ros/hydro/lib/python2.7/dist-packages/hrpsys/hrpsys_config.pyc in readDigitalOutput(self) /opt/ros/hydro/lib/python2.7/dist-packages/hrpsys/RobotHardwareService_idl.pyc in readDigitalOutput(self, *args) BAD_OPERATION: CORBA.BAD_OPERATION(omniORB.BAD_OPERATION_UnRecognisedOperationName, CORBA.COMPLETED_NO) |
configuration ORB with hiro:15005
Are you using hiro? Or nextage?
Anyway can you send us the picture of your robot and gripper ?
2017年6月28日(水) 22:24 antgarmun <[email protected]>:
The full python output is provided attached in this message. It is the
first time that I use the grippers and/or DIO on the robot.
ipython -i rospack find nextage_ros_bridge/script/nextage.py -- --host
hiro --robot RobotHardware0 --port 15005 --modelfile
/opt/jsk/etc/HIRONX/model/main.wrl
Python 2.7.3 (default, Oct 26 2016, 21:01:49)
Type "copyright", "credits" or "license" for more information.
IPython 0.12.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 hiro:15005
[hrpsys.py] wait for RTCmanager : None
[hrpsys.py] wait for RobotHardware0 : <hrpsys.rtm.RTcomponent instance at
0x4af5ab8> ( timeout 0 < 10)
[hrpsys.py] findComps -> RobotHardware : <hrpsys.rtm.RTcomponent instance
at 0x4af5ab8> isActive? = False
[hrpsys.py] simulation_mode : False
[hrpsys.py] Hrpsys controller version info:
[hrpsys.py] ms = <hrpsys.rtm.RTCmanager instance at 0x4af5830>
[hrpsys.py] ref = <RTM._objref_Manager instance at 0x4af5758>
[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
0x4af5ab8> ( timeout 0 < 10)
[hrpsys.py] findComps -> RobotHardware : <hrpsys.rtm.RTcomponent instance
at 0x4af5ab8> isActive? = False
[hrpsys.py] simulation_mode : False
[hrpsys.py] bodyinfo URL = file:///opt/jsk/etc/HIRONX/model/main.wrl
[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 0x4afef38> (1.0)
[hrpsys.py] create CompSvc -> SequencePlayer Service :
<OpenHRP._objref_SequencePlayerService instance at 0x4b0b1b8>
[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 0x4aedf80> (1.0)
[hrpsys.py] create CompSvc -> StateHolder Service :
<OpenHRP._objref_StateHolderService instance at 0x4b0d7a0>
[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 0x4b0a5f0> (1.0)
[hrpsys.py] create CompSvc -> ForwardKinematics Service :
<OpenHRP._objref_ForwardKinematicsService instance at 0x4af9488>
[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 0x4afea70> (1.0)
[hrpsys.py] create CompSvc -> SoftErrorLimiter Service :
<OpenHRP._objref_SoftErrorLimiterService instance at 0x4b02758>
[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 0x4af5950> (1.0)
[hrpsys.py] create CompSvc -> DataLogger Service :
<OpenHRP._objref_DataLoggerService instance at 0x4b0a098>
[hrpsys.py] connecting components
[rtm.py] Connect sh.qOut - 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] Failed to connect None to None
[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 - el.qCurrent
[hrpsys.py] activating components
[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 = 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 = 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 : 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
[WARN] [WallTime: 1498655967.874591] ROS Bridge is not started yet,
Assuming you want just to use RTM
In [1]: robot.servoOn()
Out[1]: -1
In [2]: robot.checkEncoders()
[hrpsys.py] calib-joint all
[hrpsys.py] done
Turn on Hand Servo
In [3]: robot.goInitial()
[hrpsys.py] , JntAnglesOfGr=torso, INITPOSE[i]=[0], tm=7, wait=True
[hrpsys.py] , JntAnglesOfGr=head, INITPOSE[i]=[0, 0], tm=7, wait=True
[hrpsys.py] , JntAnglesOfGr=rarm, INITPOSE[i]=[-0.6, 0, -100, 15.2, 9.4,
3.2], tm=7, wait=True
[hrpsys.py] , JntAnglesOfGr=larm, INITPOSE[i]=[0.6, 0, -100, -15.2, 9.4,
-3.2], tm=7, wait=True
Out[3]: True
In [4]: b=robot.readDigitalOutput()
BAD_OPERATION Traceback (most recent call last)
/home/kwduser/ros/hydro/catkin_ws/devel/openCV_tests/ in ()
----> 1 b=robot.readDigitalOutput()
/opt/ros/hydro/lib/python2.7/dist-packages/hrpsys/hrpsys_config.pyc in
readDigitalOutput(self)
1554 @return <https://github.com/return> list of int: List of the values
in digital input register. Range: 0 or 1.
1555 '''
-> 1556 ret, dout = self.rh_svc.readDigitalOutput()
1557 retList = []
1558 for item in dout:
/opt/ros/hydro/lib/python2.7/dist-packages/hrpsys/RobotHardwareService_idl.pyc
in readDigitalOutput(self, *args)
273
274 def readDigitalOutput(self, *args):
--> 275 return _omnipy.invoke(self, "readDigitalOutput",
_0_OpenHRP.RobotHardwareService._d_readDigitalOutput, args)
276
277 def getStatus2(self, *args):
BAD_OPERATION:
CORBA.BAD_OPERATION(omniORB.BAD_OPERATION_UnRecognisedOperationName,
CORBA.COMPLETED_NO)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#343 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAeG3JOFSVW5psq1IJAuAHVdsSFtgrGCks5sIlPzgaJpZM4OHS3e>
.
--
--
◉ Kei Okada
|
I am using HIRO but I can't sent you pictures. |
I'm afraid hiro does not have DIO systems
2017年6月28日(水) 22:42 antgarmun <[email protected]>:
I am using HIRO but I can't sent you pictures.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#343 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAeG3GLoIFkrx82OGbmNe3yxXLEdnqrpks5sIlhYgaJpZM4OHS3e>
.
--
--
◉ Kei Okada
|
I follow the robot manual and It has DIO systems. The manual talks about NEXTAGE robot however, in some places of the documentation that I have talks about HIRO. It is possible that the robot is a NEXTAGE but use some things from HIRO development. All works ok following the documentation but not the DIO system. |
It seems you're trying to control root gripper via DIO fkanehiro/hrpsys-base#1170 (comment), but |
Just to be clear, is that a hardcopy or is it online? If online can you send the URL?
By default NEXTAGE has the letter on its chest it's NEXTAGE as in the picture in #343 (comment) unless the sticker is ripped off etc. |
The manual is a hardcopy which was provided us with the robot. There is a sticker in the robot's chest that says: "HIRO", but the manual has the name of NEXTAGE, the robot works with NEXTAGE commands and it's simulation model is NEXTAGE. On the other hand, the manual talks about HIRO in some parts and some commands are refered to HIRO too. |
The manual talks about DIO system and the API commands for control he hands are: |
Reported at #340 (comment) from @antgarmun:
The text was updated successfully, but these errors were encountered: