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 minimal_launch sucessful connect to turtlebot, rapp manger error, which doesn't allow remo_con 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 ...
Please use the preformatted text (
101010
) button next time. Otherwise, this question was unreadable.First thing that pops out to me is that you're using both
ROS_HOSTNAME
andROS_IP
and giving a hostname toROS_IP
. These are mutually exclusive andROS_HOSTNAME
will take precedence if both are used. See http://wiki.ros.org/ROS/EnvironmentVa...Could you solve this problem?