<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=5&amp;t=14180" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2015-10-05T09:27:48+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=14180</id>
<entry>
<author><name><![CDATA[andrefleitao]]></name></author>
<updated>2015-10-05T09:27:48+01:00</updated>
<published>2015-10-05T09:27:48+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=14180&amp;p=43605#p43605</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=14180&amp;p=43605#p43605"/>
<title type="html"><![CDATA[Re: Problem with random function in CM530]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=14180&amp;p=43605#p43605"><![CDATA[
Hi<br /><br />Have you tried using srand instead of rand?<br /><br /><!-- m --><a class="postlink" href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.kui0002a/c51_srand.htm">http://infocenter.arm.com/help/index.js ... _srand.htm</a><!-- m --><br /><br />andrefleitao<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=7978">andrefleitao</a> — Mon Oct 05, 2015 9:27 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[zboroujeni]]></name></author>
<updated>2015-09-23T14:03:36+01:00</updated>
<published>2015-09-23T14:03:36+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=14180&amp;p=43599#p43599</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=14180&amp;p=43599#p43599"/>
<title type="html"><![CDATA[Problem with random function in CM530]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=14180&amp;p=43599#p43599"><![CDATA[
Hello, <br /><br />I am trying to run random function with CM530. I configured my work space as link below. I work with eclipse -OS: windows 7. <br /><a href="http://support.robotis.com/en/software/embeded_c/cm530.htm" class="postlink">http://support.robotis.com/en/software/embeded_c/cm530.htm</a><br />I can compile me program successfully. But when I run the program at CM530, it hangs on line :<br /><dl class="codebox"><dt>Code: </dt><dd><code>int a=rand();</code></dd></dl><br />Do you have any idea how can I solve the problem? <br />I change also my makefile and add -mfpu=vfp -msoft-float in COMPILE_OPTS.<br />I tried also to compile the program with arm-non-eabi as line below suggested:<br /><a href="http://forums.trossenrobotics.com/showthread.php?6039-Math-h-lib-with-Bioloid-CM-530-and-C" class="postlink">http://forums.trossenrobotics.com/showthread.php?6039-Math-h-lib-with-Bioloid-CM-530-and-C</a><br />But the same problem occurred. It hangs on line rand() function. <br /><br />Thank you in advance for your help and considerations. <br />Best,<br />Zargol<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2286">zboroujeni</a> — Wed Sep 23, 2015 2:03 pm</p><hr />
]]></content>
</entry>
</feed>