hrpsys halts at 'wait for ModelLoader' for Nextage
Hi,
I have the following setup:
- on the QNX, I run
roslaunch nextage_ros_bridge nextage_ros_bridge_real.launch MODEL_FILE:=/opt/jsk/etc/HIRONX/model/main.wrl
(and another path for CONF_FILE_COLLISIONDETECT as a colleage told me, but not sure if this is actually relevant here) - I can then do two things: on another machine, set the right ROS_MASTER_URI and start MoveIt using
roslaunch nextage_moveit_config moveit_planning_execution.launch
. And it is also possible to stay on QNX and start in interactive iPython session withipython -i /opt/ros/indigo/share/nextage_ros_bridge/script/nextage.py -- --host %HOST% --port %PORT% --modelfile /opt/jsk/etc/HIRONX/model/main.wrl
. - What does not work, however, is to start the iPython session from another machine. I assume I would have to pass a hostname and port both for the ros master core + ros bridge which run on the QNX as well as hostname and port for the nextage robot. Is that correct? How can I do this? I tried with different --host and --port arguements to the ipython command, but it either halts after 'configuration ORB with nxconsole:%PORT%' or it gets stuck in a seemingly endless loop printing 'wait for ModelLoader'.
Any thoughts?
UPDATE After giving this some more hours of thought, this should be a clarification and more precise questions: Is it correct that the nextage_ros_bridge MUST run on the QNX while the iPyhton session could run elsewhere? If I pass the hostname (as set in /etc/hosts) and the port that is labeled corbaloc using nmap, the program freezes at "wait for ModelLoader". This seems to be the same issue that was described here but sadly the links to the solution (?) do not work anymore. Could someone point me to the right place?
UPDATE 2
Running roslaunch nextage_ros_bridge nextage_ros_bridge_real.launch MODEL_FILE:=/opt/jsk/etc/HIRONX/model/main.wrl
or the same without the MODEL_FILE argument on a separate machine (i.e. not on QNX), leads to CORBA::SystemException raised by ModelLoader: IDL:omg.org/CORBA/INV_OBJREF:1.0
omniORB: ERROR -- the application attempted to invoke an operation
on a nil reference.
like here with and without the MODEL_FILE argument.
UPDATE 3 (in response to the first answer) So I actually thought I was running stuff ON the QNX. At least I run it on a computer that is positioned inside the robot's physical socket. But there are two machines (set up by previous students or so ...) Now I can ping the machine I thought was the QNX from another machine and using nmap I found that it has exactly one open port called corbaloc (and not 15005). The other IP address (called nextage I think in /etc/hosts) does not answer pings nor has open ports. Maybe this 'nextage' is the real QNX? What can I do if pinging this does not work? How can I verify the IP address?