start-jsk / rtmros_hironx

hironx controller and applications using rtmros packages
http://wiki.ros.org/rtmros_hironx
10 stars 27 forks source link

hironx.py fails due to CORBA.MARSHAL error on melodic #539

Closed pazeshun closed 4 years ago

pazeshun commented 4 years ago

On melodic, when I did

$ rtmlaunch hironx_ros_bridge hironx_ros_bridge_simulation.launch  # Tried multiple times to avoid https://github.com/start-jsk/rtmros_hironx/issues/538
$ ipython -i `rospack find hironx_ros_bridge`/scripts/hironx.py

, I got the following error:

Python 2.7.17 (default, Nov  7 2019, 10:07:09)
Type "copyright", "credits" or "license" for more information.                                                                       

IPython 5.5.0 -- 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.                                                               
[rtm.py] Failed to parse corba.nameservers, use 46405e9dcc2a as nshost                                                               
[rtm.py] Failed to parse corba.nameservers, use 15005 as nsport                                                                      
[rtm.py] Failed to parse corba.master_manager, use 2810                                                                              
[rtm.py] configuration ORB with 46405e9dcc2a:15005                                                                                   
[rtm.py] configuration RTCManager with 46405e9dcc2a:2810                                                                             
[hrpsys.py] waiting ModelLoader                                                                                                      
[hrpsys.py] start hrpsys                                                                                                             
[hrpsys.py] finding RTCManager and RobotHardware
[hrpsys.py]  waitForRTCManagerAndRoboHardware has renamed to waitForRTCManagerAndRoboHardware: Please update your code
[rtm.py] trying to findRTCManager on port2810
[hrpsys.py] wait for RTCmanager : None
[hrpsys.py] wait for HiroNX(Robot)0 : <hrpsys.rtm.RTcomponent instance at 0x7f9c6c015820> ( timeout 0 < 10)
[hrpsys.py] findComps -> HiroNX(Robot)0 : <hrpsys.rtm.RTcomponent instance at 0x7f9c6c015820> isActive? = True
[hrpsys.py] simulation_mode : True
[hrpsys.py]  Hrpsys controller version info:
[hrpsys.py]    ms =  <hrpsys.rtm.RTCmanager instance at 0x7f9c6c015690>
[hrpsys.py]    ref =  <RTM._objref_Manager object at 0x7f9c6bfeeed0>
------------------------------------------------------------------
MARSHAL                          Traceback (most recent call last)
/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_hironx/hironx_ros_bridge/scripts/hironx.py in <module>()
     80         args.modelfile = unknown[1]
     81     robot = hiro = hironx_client.HIRONX()
---> 82     robot.init(robotname=args.robot, url=args.modelfile)
     83
     84     # ROS Client

/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_hironx/hironx_ros_bridge/src/hironx_ros_bridge/hironx_client.pyc in init(self, robotname, url)
    343         if self.ms and self.ms.ref :
    344             print self.configurator_name, "  ref = ", self.ms.ref
--> 345         if self.ms and self.ms.ref and len(self.ms.ref.get_component_profiles()) > 0:
    346             print self.configurator_name, "  version  = ", self.ms.ref.get_component_profiles()[0].version
    347         if self.ms and self.ms.ref and len(self.ms.ref.get_component_profiles()) > 0 and StrictVersion(self.ms.ref.get_component_profiles()[0].version) < StrictVersion('315.2.0'):

/opt/ros/melodic/lib/python2.7/dist-packages/OpenRTM_aist/RTM_IDL/Manager_idl.py in get_component_profiles(self, *args)
    176
    177     def get_component_profiles(self, *args):
--> 178         return self._obj.invoke("get_component_profiles", _0_RTM.Manager._d_get_component_profiles, args)
    179
    180     def get_profile(self, *args):

MARSHAL: CORBA.MARSHAL(omniORB.MARSHAL_MessageSizeExceedLimitOnClient, CORBA.COMPLETED_YES)

In [1]: 

cc. @Kanazawanaoaki

pazeshun commented 4 years ago

I could avoid this by setting ORBgiopMaxMsgSize explicitly like

ORBgiopMaxMsgSize=2147483648 ipython -i `rospack find hironx_ros_bridge`/scripts/hironx.py

However, I couldn't understand why this setting is required from melodic, not in indigo and kinetic. I compared /etc/omniORB.cfg of Ubuntu 16.04 and Ubuntu 18.04, but both have the same setting:

giopMaxMsgSize = 2097152    # 2 MBytes.
k-okada commented 4 years ago

fixed in https://github.com/start-jsk/rtmros_hironx/pull/540

これ,なんかおかしいですね.今まではopenhrp-model-loader を立ち上げるときに

https://github.com/start-jsk/rtmros_common/blob/ad3d58ccc8cb75398bdb9f994334c5dafc2e665e/hrpsys_ros_bridge/launch/hrpsys_ros_bridge.launch#L59

<env name="ORBgiopMaxMsgSize" value="2147483648" /> で起ち上げていて, hironx_clinet.py からモデルを読み込むときに,この値を見てくれなくて,別途hironx_clinet.pyを立ち上げるときにもgiopMaxMsgSize をセットしないといけない.

最初はこのopenhrp-model-loader を立ち上げるときの<env が有効でないのかと思って,~/.ros/log/latest/roslaunch-*.log を見ると,u'ORBgiopMaxMsgSize': u'2147483648',となっていて,これはユニコードの闇か?ともって,roslaunchを直して見たんだけどダメで,/etc/omniORB.cfg を直接いじって,openhrp-model-loader のときにgiopMaxMsgSize = 2147483648 で,hironx_client.pyのときはもとに戻してもエラーになるから,もしかしたらomniorbの4.1->4.2で何か変わったかもしれない.

で,この問題hrpsys側で直したらいいのかもしれないけど(https://github.com/fkanehiro/hrpsys-base/pull/1289)とありえあず,https://github.com/start-jsk/rtmros_hironx/pull/540 で直しました.

hrpsyspy だけだとモデルは読まないんだけど,結構モデルを呼ぶ初期化ファイルもありそうで,そう言えばそういう報告なかったっけ? @naoki-hiraoka @ishigurojsk @YoheiKakiuchi

ishiguroJSK commented 4 years ago

jaxon_red_choreonoid.launchとかのいかにも通信量多そうなケースで,ORBgiopMaxMsgSizeの拡張しないとlaunch起動に失敗して,launch内のとか.bashrcとか/etc/omniORB.cfgとかで効いたり効かなかったりする話は前からありますが, launch起動が落ちるという現象しか見ていなかったので,それが**hrpsys_config.pyかとか,ModelLoaderなのかとかは把握していないです 最近は.bashrcにexport ORBgiopMaxMsgSize=2097152000と書いておくととりあえずエラーが出なくなるので安心してしまっていました

YoheiKakiuchi commented 4 years ago

jaxonはメッシュのファイルサイズ大きくて初期設定のままだとmodel-loaderで確実に落ちていたはずです。 メッシュが軽いと、なんとなく動き続けることもあるかもしれないですね。

etc とか bashrc とかなにもいじらない環境(例えばdocker環境)で16.04までは問題なかったので、 @k-okadaの推測が正しい気がします。 omniの問題か、launchの環境変数渡しの問題かということですね。

@pazeshun プロセスの環境変数が見えるようなので、これで落ちるプロセスの環境変数が適切か見てれるかな > https://qiita.com/suzutsuki0220/items/dbbe94963123b514e516

僕の知っている最少構成で落とせるのは以下になります。

rosrun openhrp3 start_omninames.sh 9999 &
sleep 1
ORBgiopMaxMsgSize=2147483648 openhrp-model-loader -ORBInitRef NameService=corbaloc:iiop:localhost:9999/NameService &
sleep 1
ORBgiopMaxMsgSize=2147483648 hrpsys-viewer $1 -ORBInitRef NameService=corbaloc:iiop:localhost:9999/NameService

$1のところにjaxonのwrlファイル
Naoki-Hiraoka commented 4 years ago

Ubuntu16.04のHRP2では,launchにORBgiopMaxMsgSizeを記入しておけば,別端末からipythonで立ち上げたconfig.pyも含めて落ちることはありませんでした.

pazeshun commented 4 years ago

@YoheiKakiuchi

@pazeshun プロセスの環境変数が見えるようなので、これで落ちるプロセスの環境変数が適切か見てれるかな >

https://github.com/start-jsk/rtmros_hironx/issues/539#issue-598511308 のipythonコマンドを実行後、そのpythonのものと思われるプロセスの環境変数を確認したところ、以下のようになり、ORBgiopMaxMsgSizeは見当たりません。

$ ps -a                                                                                                       
  PID TTY          TIME CMD                                                                                                          
   37 pts/0    00:00:00 su                                                                                                           
   38 pts/0    00:00:00 bash                                                                                                         
   68 pts/0    00:00:00 tmux: client                                                                                                 
  191 pts/1    00:00:04 rtmlaunch                                                                                                    
  195 pts/1    00:00:00 omniNames                                                                                                    
  695 pts/2    00:00:04 python                                                                                                       
  746 pts/3    00:00:00 ps                    
$ sed -e 's/\x0/\n/g' /proc/695/environ |grep ORBgiopMaxMsgSize                                                                                       
$ sed -e 's/\x0/\n/g' /proc/695/environ
TMUX=/tmp/tmux-1000/default,70,0                                                                                                     
MAIL=/var/mail/pazeshun                                                                                                              
USER=pazeshun                                                                                                                        
HOSTNAME=46405e9dcc2a                                                                                                                
EUSDIR=/opt/ros/melodic/share/euslisp/jskeus/eus/                                                                                    
ROS_PACKAGE_PATH=/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/hiro_card_demo:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robot$
cs/rtmros_hironx/hironx_calibration:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_hrp2/hrp2_models:/home/pazeshun/ros/j$
k_demo_ws/src/rtm-ros-robotics/rtmros_hrp2/jsk_models:/home/pazeshun/ros/jsk_demo_ws/src/multisense/multisense_description:/home/paz$
shun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_nextage/nextage_description:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtm$
os_nextage/nextage_gazebo:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_nextage/nextage_ik_plugin:/home/pazeshun/ros/js$
_demo_ws/src/rtm-ros-robotics/openrtm_aist:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/openhrp3:/home/pazeshun/ros/jsk_demo_$
s/src/rtm-ros-robotics/hrpsys:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_common/hrpsys_tools:/home/pazeshun/ros/jsk_$
emo_ws/src/rtm-ros-robotics/rtctree:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_common/rtmbuild:/home/pazeshun/ros/js$
_demo_ws/src/rtm-ros-robotics/rtmros_hironx/rtmros_hironx:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_nextage/rtmros_$
extage:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtshell:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtsprofile:/h$
me/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_common/openrtm_tools:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtm$
os_common/hrpsys_ros_bridge:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_hironx/hironx_ros_bridge:/home/pazeshun/ros/j$
k_demo_ws/src/rtm-ros-robotics/rtmros_hironx/hironx_moveit_config:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_tutoria$
s/hrpsys_ros_bridge_tutorials:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_nextage/nextage_ros_bridge:/home/pazeshun/r$
s/jsk_demo_ws/src/rtm-ros-robotics/rtmros_nextage/nextage_moveit_config:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_n$
xtage/nextage_calibration:/home/pazeshun/ros/jsk_demo_ws/src/turtlebot/turtlebot_description:/home/pazeshun/ros/jsk_demo_ws/devel/:/$
pt/ros/melodic/share                                                                                                                 
LD_LIBRARY_PATH=/opt/ros/melodic/share/euslisp/jskeus/eus//Linux64/lib:/home/pazeshun/ros/jsk_demo_ws/devel/lib:/opt/ros/melodic/lib$
/opt/ros/melodic/share/euslisp/jskeus/eus//Linux64/lib:/opt/ros/melodic/share/euslisp/jskeus/eus//Linux64/lib:/opt/ros/melodic/share$
euslisp/jskeus/eus//Linux64/lib                                                                                                      
ROS_ETC_DIR=/opt/ros/melodic/etc/ros                                                                                                 
SHLVL=3                                                                                                                              
HOME=/home/pazeshun
ROS_PYTHON_VERSION=2
ROS_DISTRO=melodic
LOGNAME=pazeshun
_=/usr/bin/ipython
ROS_VERSION=1
PKG_CONFIG_PATH=/home/pazeshun/ros/jsk_demo_ws/devel/lib/pkgconfig:/opt/ros/melodic/lib/pkgconfig
TERM=screen
RTCTREE_NAMESERVERS=localhost:15005
PATH=/opt/ros/melodic/share/euslisp/jskeus/eus//Linux64/bin:/home/pazeshun/ros/jsk_demo_ws/devel/bin:/opt/ros/melodic/bin:/opt/ros/me
lodic/share/euslisp/jskeus/eus//Linux64/bin:/opt/ros/melodic/share/euslisp/jskeus/eus//Linux64/bin:/usr/local/sbin:/usr/local/bin:/us
r/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games                                                                               
DISPLAY=:0                                                                                                                           
LANG=C.UTF-8                                                                                                                         
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;4
1:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;3$
:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz$
01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=0$
;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;$
1:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=$
1;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz$
01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4$
=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli$
01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00$
36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;$
6:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
ROS_ROOT=/opt/ros/melodic/share/ros
ROSLISP_PACKAGE_DIRECTORIES=/home/pazeshun/ros/jsk_demo_ws/devel/share/common-lisp
SHELL=/bin/bash
ROS_MASTER_URI=http://localhost:11311
ARCHDIR=Linux64
LC_ALL=C.UTF-8
PWD=/
PYTHONPATH=/home/pazeshun/ros/jsk_demo_ws/devel/lib/python2.7/dist-packages:/opt/ros/melodic/lib/python2.7/dist-packages
TMUX_PANE=%1
CMAKE_PREFIX_PATH=/home/pazeshun/ros/jsk_demo_ws/devel:/opt/ros/melodic

例えば、openhrp-model-loaderの環境変数を見ると、ORBgiopMaxMsgSizeが設定されています。

$ ps -A                                                                                                       
  PID TTY          TIME CMD                                                                                                          
    1 pts/0    00:00:00 bash                                                                                                         
   37 pts/0    00:00:00 su                                                                                                           
   38 pts/0    00:00:00 bash                                                                                                         
   68 pts/0    00:00:00 tmux: client                                                                                                 
   70 ?        00:00:01 tmux: server                                                                                                 
   71 pts/1    00:00:00 bash                                                                                                         
  131 pts/2    00:00:00 bash                                                                                                         
  191 pts/1    00:00:05 rtmlaunch                                                                                                    
  195 pts/1    00:00:00 omniNames                                                                                                    
  203 ?        00:00:01 rosmaster                                                                                                    
  214 ?        00:00:05 rosout                                                                                                       
  221 ?        00:00:00 openhrp-model-l                                                                                              
  226 ?        00:04:32 hrpsys-simulato                                                                                              
  228 ?        00:01:46 HrpsysSeqStateR                                                                                              
  229 ?        00:01:04 HrpsysJointTraj                                                                                              
  231 ?        00:00:16 state_publisher                                                                                              
  247 ?        00:00:17 python                                                                                                       
  258 ?        00:00:09 aggregator_node                                                                                              
  267 ?        00:00:29 python                                                                                                       
  273 ?        00:00:15 python                                                                                                       
  276 ?        00:00:18 SequencePlayerS                                                                                              
  279 ?        00:00:18 DataLoggerServi                                                                                              
  292 ?        00:00:18 ForwardKinemati                                                                                              
  318 ?        00:00:18 StateHolderServ                                                                                              
  357 ?        00:00:24 CollisionDetect                                                                                              
  359 ?        00:00:12 python                                                                                                       
  360 ?        00:00:45 python                                                                                                       
  362 ?        00:00:11 python                                                                                                       
  364 ?        00:00:14 ImageSensorROSB                                                                                              
  371 ?        00:00:14 ImageSensorROSB
  391 ?        00:00:06 ImageSensorROSB
  416 ?        00:00:06 ImageSensorROSB
  695 pts/2    00:00:04 python
  713 pts/3    00:00:00 bash
  749 pts/4    00:00:00 bash
  801 pts/4    00:00:00 ps
$ sed -e 's/\x0/\n/g' /proc/221/environ |grep ORBgiopMaxMsgSize
ORBgiopMaxMsgSize=2147483648
$ sed -e 's/\x0/\n/g' /proc/221/environ                                                                       
ROS_DISTRO=melodic                                                                                                                   
ROSLISP_PACKAGE_DIRECTORIES=/home/pazeshun/ros/jsk_demo_ws/devel/share/common-lisp                                                   
LOGNAME=pazeshun                                                                                                                     
USER=pazeshun                                                                                                                        
PATH=/opt/ros/melodic/share/euslisp/jskeus/eus//Linux64/bin:/home/pazeshun/ros/jsk_demo_ws/devel/bin:/opt/ros/melodic/bin:/opt/ros/m$
lodic/share/euslisp/jskeus/eus//Linux64/bin:/opt/ros/melodic/share/euslisp/jskeus/eus//Linux64/bin:/usr/local/sbin:/usr/local/bin:/u$
r/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games                                                                               
HOME=/home/pazeshun                                                                                                                  
CMAKE_PREFIX_PATH=/home/pazeshun/ros/jsk_demo_ws/devel:/opt/ros/melodic                                                              
ROS_LOG_FILENAME=/home/pazeshun/.ros/log/260baf22-83b0-11ea-8d51-0242ac110002/roslaunch-46405e9dcc2a-191.log                         
LANG=C                                                                                                                               
TERM=screen                                                                                                                          
SHELL=/bin/bash                                                                                                                      
SHLVL=3                                                                                                                              
LD_LIBRARY_PATH=/opt/ros/melodic/share/euslisp/jskeus/eus//Linux64/lib:/home/pazeshun/ros/jsk_demo_ws/devel/lib:/opt/ros/melodic/lib$
/opt/ros/melodic/share/euslisp/jskeus/eus//Linux64/lib:/opt/ros/melodic/share/euslisp/jskeus/eus//Linux64/lib:/opt/ros/melodic/share$
euslisp/jskeus/eus//Linux64/lib                                                                                                      
ORBgiopMaxMsgSize=2147483648                                                                                                         
RTCTREE_NAMESERVERS=localhost:15005                                                                                                  
ROS_PYTHON_VERSION=2                                                                                                                 
LC_ALL=C.UTF-8                                                                                                                       
EUSDIR=/opt/ros/melodic/share/euslisp/jskeus/eus/                                                                                    
PYTHONPATH=/home/pazeshun/ros/jsk_demo_ws/devel/lib/python2.7/dist-packages:/opt/ros/melodic/lib/python2.7/dist-packages             
TMUX=/tmp/tmux-1000/default,70,0                                                                                                     
ROS_ROOT=/opt/ros/melodic/share/ros                                                                                                  
ARCHDIR=Linux64                                                                                                                      
PKG_CONFIG_PATH=/home/pazeshun/ros/jsk_demo_ws/devel/lib/pkgconfig:/opt/ros/melodic/lib/pkgconfig                                    
ROS_PACKAGE_PATH=/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/hiro_card_demo:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-roboti
cs/rtmros_hironx/hironx_calibration:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_hrp2/hrp2_models:/home/pazeshun/ros/j$
k_demo_ws/src/rtm-ros-robotics/rtmros_hrp2/jsk_models:/home/pazeshun/ros/jsk_demo_ws/src/multisense/multisense_description:/home/paz$
shun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_nextage/nextage_description:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtm$
os_nextage/nextage_gazebo:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_nextage/nextage_ik_plugin:/home/pazeshun/ros/jsk
_demo_ws/src/rtm-ros-robotics/openrtm_aist:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/openhrp3:/home/pazeshun/ros/jsk_demo_w
s/src/rtm-ros-robotics/hrpsys:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_common/hrpsys_tools:/home/pazeshun/ros/jsk_d
emo_ws/src/rtm-ros-robotics/rtctree:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_common/rtmbuild:/home/pazeshun/ros/jsk
_demo_ws/src/rtm-ros-robotics/rtmros_hironx/rtmros_hironx:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_nextage/rtmros_n
extage:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtshell:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtsprofile:/ho
me/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_common/openrtm_tools:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmr
os_common/hrpsys_ros_bridge:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_hironx/hironx_ros_bridge:/home/pazeshun/ros/js
k_demo_ws/src/rtm-ros-robotics/rtmros_hironx/hironx_moveit_config:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_tutorial
s/hrpsys_ros_bridge_tutorials:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_nextage/nextage_ros_bridge:/home/pazeshun/ro
s/jsk_demo_ws/src/rtm-ros-robotics/rtmros_nextage/nextage_moveit_config:/home/pazeshun/ros/jsk_demo_ws/src/rtm-ros-robotics/rtmros_ne
xtage/nextage_calibration:/home/pazeshun/ros/jsk_demo_ws/src/turtlebot/turtlebot_description:/home/pazeshun/ros/jsk_demo_ws/devel/:/o
pt/ros/melodic/share
_=/home/pazeshun/ros/jsk_demo_ws/devel/bin/rtmlaunch
DISPLAY=:0
HOSTNAME=46405e9dcc2a
PWD=/
ROS_ETC_DIR=/opt/ros/melodic/etc/ros
ROS_MASTER_URI=http://localhost:11311
ROS_VERSION=1
MAIL=/var/mail/pazeshun
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;4
1:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31
:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=
01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01
;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;3
1:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=0
1;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=
01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v
=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=
01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;
36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;3
6:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
TMUX_PANE=%0
YoheiKakiuchi commented 4 years ago

問題の理解が足りてなかった気がしますが、 size指定を片側だけにすると、16.04ですが、やはり落ちるので、model-loaderだけの設定で上手く行っていた方がomniのpythonのバグかもしれませんね。

rosrun openhrp3 start_omninames.sh 9999 &
sleep 1
ORBgiopMaxMsgSize=2147483648 openhrp-model-loader -ORBInitRef NameService=corbaloc:iiop:localhost:9999/NameService &
sleep 1
hrpsys-viewer $1 -ORBInitRef NameService=corbaloc:iiop:localhost:9999/NameService