<?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=19&amp;t=14079" />

<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>2014-09-15T06:37:04+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=19&amp;t=14079</id>
<entry>
<author><name><![CDATA[hamid_m]]></name></author>
<updated>2014-09-15T06:37:04+01:00</updated>
<published>2014-09-15T06:37:04+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=14079&amp;p=43395#p43395</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=14079&amp;p=43395#p43395"/>
<title type="html"><![CDATA[Re: Read HaViMo on C (READ_GRID).]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=14079&amp;p=43395#p43395"><![CDATA[
Hi,<br /><br />READ_GRID is followed by two parameters:<br /><br />1- Address:  it is multiplied by 16 internally to reach more than 256 bytes of memory<br />2- Number of bytes to read.<br /><br />for example to read the complete third line (address 64,length 32) parameters are: 4,32<br /><br />Hamid.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=609">hamid_m</a> — Mon Sep 15, 2014 6:37 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PandaVazquez]]></name></author>
<updated>2014-08-08T19:23:39+01:00</updated>
<published>2014-08-08T19:23:39+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=14079&amp;p=43354#p43354</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=14079&amp;p=43354#p43354"/>
<title type="html"><![CDATA[Read HaViMo on C (READ_GRID).]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=14079&amp;p=43354#p43354"><![CDATA[
Hi.<br /><br />I understand that, it's possible to read the results of the two algorithms made by HaViMo on C.<br /><br />Using the HaViMo instructions table and the dynamixel library, the reading code is something like this.<br />First I have to send the instruction (CAP_GRID) to capture the image and make the algorithm, and  then send the instruction to read the results (READ_GRID), but the main question is: <span style="font-weight: bold">What parameters should i use whit the READ_GRID instruction? </span><br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>dxl_set_txpacket_id(100);<br />dxl_set_txpacket_instruction(0x15); //CAP_GRID instruction<br />dxl_set_txpacket_lenght(2);<br />dxl_tx_packet();<br />dxl_ping(100);<br />While( dxl_get_result( ) != COMM_RXSUCCESS ){ }<br /><br />dxl_set_txpacket_id(100);<br />dxl_set_txpacket_instruction(0x16); //READ_GRID instruction<br />dxl_set_txpacket_parameter(0, ? ); // Here is where I don't know<br />dxl_set_txpacket_parameter(1, ? ); // what parameters use<br />dxl_set_txpacket_lenght(4);<br />dxl_txrx_packet();<br /><br />length=dxl_get_rxpacket_lenght();<br /><br /><br /></code></dd></dl><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=7854">PandaVazquez</a> — Fri Aug 08, 2014 7:23 pm</p><hr />
]]></content>
</entry>
</feed>