Closed GoogleCodeExporter closed 9 years ago
Hi,
That's strange, could you change gui.py as follows? also we'd like to check our
hiro's workspace if there remain some diffs that is not commited yet.
=
#!/opt/grx/bin/hrpsyspy
import os
import time
from java.lang import System
from java.awt import *
from javax.swing import *
System.setProperty('NS_OPT', '-ORBInitRef
NameService=corbaloc:iiop:hiro019:2809/NameService') ## added
from guiinfo import *
Original comment by kei.ok...@gmail.com
on 24 Feb 2012 at 4:09
Hi,
This change helped. Now guy application starts but errors still happen:
Click on restart rtcd looks OK
reconnected
[restart rtcd] 2.818000078201294 [sec]
Clicking on setup rt-system -> generates errors
nshost = hiro019
reconnected
creating components
force = None
connecting components
activating components
Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
File "<string>", line 1, in tmpfunc
File "/home/across/rosstacks/rtm-ros-robotics/rtm-ros-robotics/rtmros_common/hironx_ros_bridge/gui/gui.py", line 33, in setupRobot
File "/home/across/rosstacks/rtm-ros-robotics/rtm-ros-robotics/rtmros_common/hironx_ros_bridge/gui/sample.py", line 29, in init
File "/home/across/rosstacks/rtm-ros-robotics/rtm-ros-robotics/rtmros_common/hironx_ros_bridge/gui/sample.py", line 34, in activateComps
File "/home/across/rosstacks/rtm-ros-robotics/rtm-ros-robotics/rtmros_common/hrpsys/share/hrpsys/jython/rtm.py", line 369, in serializeComponents
AttributeError: 'NoneType' object has no attribute 'ec'
Original comment by uesna...@gmail.com
on 24 Feb 2012 at 3:19
Hi,
You don't have force sensors on your robot, right?
So we have to change following codes at createComps function in gui/sample.py
# added force sensor RTC load - 2011/10/24
force = initRTC("ForceSensor", "force")
print "force = ", force
#return [rh, seq, armR, armL, sa, grsp, log, force] ### changed
return [rh, seq, armR, armL, sa, grsp, log] ### changed
if it is lisp you can write as ;-)
return (remove nil (list rh seq armr arml sa grsp log force))
Original comment by kei.ok...@gmail.com
on 27 Feb 2012 at 4:22
Hi,
I have been travelling and could not try the solution until today. Clicking on
setup rt-system works OK now, thanks. But I have the following error when I
click on calibrateJoint:
calibrateing joints ...Exception in thread "AWT-EventQueue-0" Traceback
(innermost last):
File "<string>", line 1, in tmpfunc
File "/home/across/rosstacks/rtm-ros-robotics/rtm-ros-robotics/rtmros_common/hironx_ros_bridge/gui/sample.py", line 166, in calibrateJoint
AttributeError: calibrateJoint
Original comment by uesna...@gmail.com
on 5 Mar 2012 at 5:31
Hi
I suppose this is because of RobotHardwareService.idl for HIRONX differs from
hrpsys-common.
If this is true, currently we need to run JointCalib.sh under
/opt/grx/..../HIRONX/bin in the hiro computer. To double check, we'd better to
wait for grx's commont on this issue.
Merging RobotHardwareService.idl is not so difficult. Here is an idea:
- uncomment setServoErroLimit, addJointGroup from HIRONX's
RobotHardwareService.idl
- add calibrateInternalSensors in HIRONX or rename calibrateInternalSensor ->
calibrateSensor in hrpsys-base
- add engageProtectiveStop, disengageProtectiveStop in hrpsys-base or add new
status servoState
- add getJointPartNames or getJointNameInPart to hrpsys-base or use
addJointGroup, (getJointGroup ?)
How do you think? > saito-san
If you already have feedback from saito-san directly since I forward this issue
to him the day before yesterday, please ignore my e-mail.
Original comment by kei.ok...@gmail.com
on 7 Mar 2012 at 2:15
Hi
I suppose this is because of RobotHardwareService.idl for HIRONX differs from
hrpsys-common.
If this is true, currently we need to run JointCalib.sh under
/opt/grx/..../HIRONX/bin in the hiro computer. To double check, we'd better to
wait for grx's commont on this issue.
Merging RobotHardwareService.idl is not so difficult. Here is an idea:
- uncomment setServoErroLimit, addJointGroup from HIRONX's
RobotHardwareService.idl
- add calibrateInternalSensors in HIRONX or rename calibrateInternalSensor ->
calibrateSensor in hrpsys-base
- add engageProtectiveStop, disengageProtectiveStop in hrpsys-base or add new
status servoState
- add getJointPartNames or getJointNameInPart to hrpsys-base or use
addJointGroup, (getJointGroup ?)
How do you think? > saito-san
If you already have feedback from saito-san directly since I forward this issue
to him the day before yesterday, please ignore my e-mail.
Original comment by kei.ok...@gmail.com
on 7 Mar 2012 at 2:15
Hello,
To be honest, I didn't have time to check this out today. I'm hoping to have
time around 16:00 tomorrow.
Commenting functionality out of an IDL file that requires it will probably
cause problems later. Adding these functions to the free version and providing
methods that return "not implemented" when called would probably cause less
problems.
Best regards,
Hajime
Original comment by emijah.s
on 7 Mar 2012 at 2:24
Original comment by kei.ok...@gmail.com
on 21 Jul 2013 at 8:13
Closing due to less activity according to the request #227. Feel free to reopen
if necessary with updated information.
Original comment by gm130s
on 11 Oct 2013 at 4:16
Original issue reported on code.google.com by
uesna...@gmail.com
on 23 Feb 2012 at 5:45