[ros-users] Error while running a simple server client program in flowdesigner
ugo at shadowrobot.com
Tue Jun 7 16:35:27 UTC 2011
When you're logging in as root, do you source your setup.bash file to get
the correct ROS configuration?
You could also just run:
sudo chmod 777 /dev/rtc
And then you'd be able to access the /dev/rtc as normal user.
On Tue, Jun 7, 2011 at 5:21 PM, Ashwin V Kamath <ashwin24udp at gmail.com>wrote:
> i am trying to run the following tutorial
> 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
> Scanning def /usr/lib/flowdesigner/toolbox
> done loading def files
> loading XML document from memory
> 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
> [FATAL] [1307457375.864837707]: BREAKPOINT HIT
> file =
> 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.
> ros-users mailing list
> ros-users at code.ros.org
Ugo Cupcic | Shadow Robot Company | ugo at shadowrobot.com
Software Engineer | 251 Liverpool Road |
need a Hand? | London N1 1LX | +44 20 7700 2487
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ros-users