[ros-users] Error while running a simple server client program in flowdesigner

Ashwin Kamath ashwin24udp at yahoo.com
Wed Jun 8 05:59:08 UTC 2011


i am trying to run the following tutorial:http://winnie.kuis.kyoto-u.ac.jp/HARK/wiki.cgi?page=HARK-ROS+Tutorial+2

but i get the following error and the program stops abruptly: 


[ INFO] [1307457046.525074887]: Connected to master at [localhost:11311] 
ROS node : HARK_MASTER_NODE generated... 
/dev/rtc: Permission denied 
Cannot open /dev/rtc 
ioctl: Bad file descriptor 
node_RosAddHarkIntClient_1 constructor end... 
node_RosAddHarkIntClient_1 initialized... 
node_RosAddHarkIntServer_1 initialized... 
ROS initialized... 
Segmentation fault 

since i was having issues with permissions i tried using sudo and ran the file in terminal,but i get the following error; 

ROS_ROOT is not set!  Using default rosconsole configuration values 
UINodeRepository::Scan() 
Scanning def /usr/lib/flowdesigner/toolbox 
done loading def files 
loading XML document from memory 
done! 
Building network  :MAIN 
[FATAL] [1307457375.864763327]: ROS_MASTER_URI is not defined in the environment. Either type the following or (preferrably) add this to your ~/.bashrc file in order set up your local machine as a ROS master: 

export ROS_MASTER_URI=http://localhost:11311

then, type 'roscore' in another shell to actually launch the master program. 
[FATAL] [1307457375.864837707]: BREAKPOINT HIT 
        file = /tmp/buildd/ros-cturtle-ros-1.2.6/debian/ros-cturtle-ros/opt/ros/cturtle/ros/core/roscpp/src/libros/master.cpp 
        line=70 

Trace/breakpoint trap 

i exported the ROS_MASTER_URI variable in the .bashrc file and started roscore in a new terminal.but the result is same.i still get the same error.Can some one please tell me how to resolve this issue. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110608/16f1683b/attachment-0002.html>


More information about the ros-users mailing list