Hi,<div><br></div><div>When you're logging in as root, do you source your setup.bash file to get the correct ROS configuration?</div><div><br></div><div>You could also just run:</div><div>sudo chmod 777 /dev/rtc</div><div>
<br></div><div>And then you'd be able to access the /dev/rtc as normal user.</div><div><br></div><div>Cheers,</div><div><br></div><div>Ugo</div><div><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 5:21 PM, Ashwin V Kamath <span dir="ltr"><<a href="mailto:ashwin24udp@gmail.com">ashwin24udp@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">i am trying to run the following tutorial<a href="http://winnie.kuis.kyoto-u.ac.jp/HARK/wiki.cgi?page=HARK-ROS+Tutorial+2" rel="nofollow" target="_blank">:http://winnie.kuis.kyoto-u.ac.jp/HARK/wiki.cgi?page=HARK-ROS+Tutorial+2</a><br>

<br>but i get the following error and the program stops abruptly:
<br><br><br>[ INFO] [1307457046.525074887]: Connected to master at [localhost:11311]
<br>ROS node : HARK_MASTER_NODE generated...
<br>/dev/rtc: Permission denied
<br>Cannot open /dev/rtc
<br>ioctl: Bad file descriptor
<br>node_RosAddHarkIntClient_1 constructor end...
<br>node_RosAddHarkIntClient_1 initialized...
<br>node_RosAddHarkIntServer_1 initialized...
<br>ROS initialized...
<br>Segmentation fault
<br><br>since i was having issues with permissions i tried using sudo and ran the file in terminal,but i get the following error;
<br><br>ROS_ROOT is not set!  Using default rosconsole configuration values
<br>UINodeRepository::Scan()
<br>Scanning def /usr/lib/flowdesigner/toolbox
<br>done loading def files
<br>loading XML document from memory
<br>done!
<br>Building network  :MAIN
<br>[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:
<br><br>export ROS_MASTER_URI=<a href="http://localhost:11311/" rel="nofollow" target="_blank">http://localhost:11311</a><br><br>then, type 'roscore' in another shell to actually launch the master program.
<br>[FATAL] [1307457375.864837707]: BREAKPOINT HIT
<br>        file = /tmp/buildd/ros-cturtle-ros-1.2.6/debian/ros-cturtle-ros/opt/ros/cturtle/ros/core/roscpp/src/libros/master.cpp
<br>        line=70
<br><br>Trace/breakpoint trap
<br><br>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.
<br>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Ugo Cupcic | Shadow Robot Company | <a href="mailto:ugo@shadowrobot.com" target="_blank">ugo@shadowrobot.com</a> <br>Software Engineer | 251 Liverpool Road | <br>need a Hand? | London N1 1LX | +44 20 7700 2487 <br>
<a href="http://www.shadowrobot.com/hand/" target="_blank">http://www.shadowrobot.com/hand/</a> @shadowrobot <br><br>
</div>