Robotics StackExchange | Archived questions

Turtlebot "minimal_launch" Interactions-13 error message:Unable to start rapp manager services

ubuntu 14.04 ROS Indigo

ross@copernicus:~$ env | grep ROS
ROS_ROOT=/opt/ros/indigo/share/ros
ROS_PACKAGE_PATH=/home/ross/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks
ROS_MASTER_URI=http://copernicus.local:11311
ROS_HOSTNAME=copernicus.local
ROSLISP_PACKAGE_DIRECTORIES=/home/ross/catkin_ws/devel/share/common-lisp
ROS_DISTRO=indigo
ROS_IP=copernicus.local
ROS_ETC_DIR=/opt/ros/indigo/etc/ros

After minimallaunch sucessful connect to turtlebot, rapp manger error, which doesn't allow remocon nor android Remocon and Teleop to work. This after verifying installation of remocon package. Turtlebot keyboard teleop and rviz view_model.launch works good.

Here are what I believe are correct network settings on RemotePc (copernicus) and Netbook(herschel)

Netbook (turtlebot ros_host) ....part of .bashrc

## ROS Master(roscore)/ROS_Host on Copernicus/Herschel
export ROS_MASTER_URI=http://copernicus.local:11311
export ROS_HOSTNAME=herschel.local
export ROS_IP=copernicus.local

ross@copernicus:~$ cat /etc/hosts
127.0.0.1   localhost
127.0.1.1   herschel

RemotePC (roscore ros master) ....part of .basic

## ROS Master (roscore) & Host on ross-Copernicus workstation (zeroconf)
export ROS_HOSTNAME=copernicus.local
export ROS_MASTER_URI=http://copernicus.local:11311
export ROS_IP=copernicus.local

turtlebot@herschel:~$ cat /etc/hosts
127.0.0.1   localhost
127.0.1.1   copernicus

NetbookPC (ROS_HOST) minimal.launch log after connection to base.

[ERROR] [WallTime: 1517262625.364694] Interactions : timed out trying to find the rapp manager start_rapp, stop_rapp services and status topic [unable to communicate with the master [no provider]]
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/rocon_interactions/interactions_manager.py", line 20, in <module>
    interactions_manager = rocon_interactions.InteractionsManager()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rocon_interactions/manager.py", line 75, in __init__
    self._rapp_handler = RappHandler(self._rapp_manager_status_update_callback)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rocon_interactions/rapp_handler.py", line 74, in __init__
    thread = threading.Thread(target=self._setup_rapp_manager_connections())
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rocon_interactions/rapp_handler.py", line 85, in _setup_rapp_manager_connections
    self.start_rapp = rospy.ServiceProxy(start_rapp_service_name, rocon_app_manager_srvs.StartRapp)
UnboundLocalError: local variable 'start_rapp_service_name' referenced before assignment

[kinect_breaker_enabler-5] process has finished cleanly
log file: /home/turtlebot/.ros/log/4ad22d60-053e-11e8-ab0e-0023146ef6f0/kinect_breaker_enabler-5*.log

[interactions-13] process has died [pid 14154, exit code 1, cmd /opt/ros/indigo/lib/rocon_interactions/interactions_manager.py __name:=interactions __log:=/home/turtlebot/.ros/log/4ad22d60-053e-11e8-ab0e-0023146ef6f0/interactions-13.log].
log file: /home/turtlebot/.ros/log/4ad22d60-053e-11e8-ab0e-0023146ef6f0/interactions-13*.log

[WARN] [WallTime: 1517262629.658955] Inbound TCP/IP connection failed: connection from sender terminated before handshake header received. 0 bytes were received. Please check sender for additional details.

Interactions-13.log
turtlebot@herschel:~/.ros/log/b9187144-061f-11e8-9d56-0023146ef6f0$ cat interactions-13.log
[rospy.client][INFO] 2018-01-30 19:43:37,084: init_node, name[/interactions], pid[21471]
[xmlrpc][INFO] 2018-01-30 19:43:37,090: XML-RPC server binding to 0.0.0.0:0
[rospy.init][INFO] 2018-01-30 19:43:37,092: ROS Slave URI: [http://herschel.local:45130/]
[xmlrpc][INFO] 2018-01-30 19:43:37,092: Started XML-RPC server [http://herschel.local:45130/]
[rospy.impl.masterslave][INFO] 2018-01-30 19:43:37,093: _ready: http://herschel.local:45130/
[xmlrpc][INFO] 2018-01-30 19:43:37,111: xml rpc node: starting XML-RPC server
[rospy.registration][INFO] 2018-01-30 19:43:37,112: Registering with master node http://copernicus.local:11311
[rospy.init][INFO] 2018-01-30 19:43:37,193: registered with master
[rospy.rosout][INFO] 2018-01-30 19:43:37,194: initializing /rosout core topic
[rospy.rosout][INFO] 2018-01-30 19:43:37,239: connected to core topic /rosout
[rospy.simtime][INFO] 2018-01-30 19:43:37,287: /use_sim_time is not set, will not subscribe to simulated time [/clock] topic
[rospy.internal][INFO] 2018-01-30 19:43:37,510: topic[/rosout] adding connection to [/rosout], count 0
[rosout][ERROR] 2018-01-30 19:43:53,538: Interactions : timed out trying to find the rapp manager start_rapp, stop_rapp services and status topic [unable to communicate with the master [no provider]]
[rospy.core][INFO] 2018-01-30 19:43:53,553: signal_shutdown [atexit]
[rospy.internal][INFO] 2018-01-30 19:43:53,599: topic[/rosout] removing connection to /rosout
[rospy.impl.masterslave][INFO] 2018-01-30 19:43:53,600: atexit

Seems there's an "Interactions and rapp manager" issue?

Asked by RobotRoss on 2018-01-29 17:32:19 UTC

Comments

Please use the preformatted text (101010) button next time. Otherwise, this question was unreadable.

Asked by jayess on 2018-01-29 17:49:23 UTC

First thing that pops out to me is that you're using both ROS_HOSTNAME and ROS_IP and giving a hostname to ROS_IP. These are mutually exclusive and ROS_HOSTNAME will take precedence if both are used. See http://wiki.ros.org/ROS/EnvironmentVariables#ROS_IP.2BAC8-ROS_HOSTNAME

Asked by jayess on 2018-01-29 17:53:32 UTC

Could you solve this problem?

Asked by ximena on 2018-04-13 10:19:18 UTC

Answers