(Groovy | 12.04 | armv7l) Can't run 'roscore' nor 'roslaunch'
Am installing ROS Groovy (from source) on a Tablet, whose Kernel is armv7l, and am having no luck when running the following command:
root@localhost:~# roscore
… logging to /home/ubuntu/.ros/log/---bunch-of-numbers----/roslaunch-localhost-22058.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
Traceback (most recent call last):
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/__init__.py", line 265, in main
p.start()
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/parent.py", line 257, in start
self._start_infrastructure()
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/parent.py", line 206, in _start_infrastructure
self._load_config()
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/parent.py", line 121, in _load_config
self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port, verbose=self.verbose)
File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/config.py", line 408, in load_config_default
config.master.uri = rosgraph.network.create_local_xmlrpc_uri(port)
File "/opt/ros/groovy/lib/python2.7/dist-packages/rosgraph/network.py", line 281, in create_local_xmlrpc_uri
return 'http://%s:%s/'%(get_host_name(), port)
File "/opt/ros/groovy/lib/python2.7/dist-packages/rosgraph/network.py", line 266, in get_hostname
hostname = get_local_addresses()
File "/opt/ros/groovy/lib/python2.7/dist-packages/rosgraph/network.py", line 173, in get_local_address
addrs = get_local_addresses()
File "/opt/ros/groovy/lib/python2.7/dist-packages/rosgraph/network.py", line 211, in get_local_addresses
ifaces = ifaddrs.getifaddrs()
File "/opt/ros/groovy/lib/python2.7/dist-packages/rosgraph/ifaddrs.py", line 147, in getifaddrs
addr += "%02x:" % si.sll_addr[i]
IndexError: invalid index
My Environment is:
root@localhost:~# export | grep ROS
declare -x ROS_DISTRO="groovy"
declare -x ROS_ETC_DIR="/opt/ros/groovy/etc/ros"
declare -x ROS_MASTER_URI="h t t p://localhost:11311" <-- ROS ANSWERS DOES NOT LET ME PUBLISH LINKS
declare -x ROS_PACKAGE_PATH="/home/ubuntu/ros_ws:/opt/ros/groovy/share:/opt/ros/groovy/stacks"
declare -x ROS_ROOT="/opt/ros/groovy/share/ros"
I am connected through VNC and my interface configuration is:
root@localhost:~# ifconfig
only lo
and eth0
appear.
Any suggestions to get roscore
and roslaunch
to work?
Instead of [SOLVED]'ing you might post the resolution as an answer and mark it as accepted, that's how it works here.