I get the following error when bringing up the pr2 (i.e. roslaunch /etc/ros/robot.launch
)
ERROR below:
File "/opt/ros/indigo/lib/pr2_computer_monitor/hd_monitor.py", line 77, in get_hddtemp_data
hd_sock.connect((hostname, port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 111] Connection refused
It looks like the problem is with the hostname/port number specified as:
def get_hddtemp_data(hostname = 'localhost', port = 7634):
check the file at: https://github.com/PR2/pr2_robot/blob/indigo-devel/pr2_computer_monitor/scripts/hd_monitor.py
I'm not sure how to fix it though.