<font color='black' size='2' face='arial'><font color="black" face="arial" size="2">

<div> <font face="Arial, Helvetica, sans-serif">Mrinal,<br>
<br>
I did what you suggested, and made a new node containing only the distance test code, and, to my surprise, it worked.<br>
<br>
Doing some debugging, and finding differences between my two tests, I discovered that the error was a single line I added to<br>
my CMakeLists.txt file:<br>
<b><br>
set_target_properties(distance_test PROPERTIES COMPILE_FLAGS "${OPENRAVE_CXXFLAGS}")</b><br>
</font>
</div>



<div> <br>

</div>



<div style="clear: both;"></div>



<div> This was there to allow me to use OpenRAVE classes in my application, but it seems that this was what was causing the errors.<br>
<br>
My guess is, certain OpenRAVE headers configure bullet differently.<br>
<br>
Thanks,<br>
<br>
Matt Klingensmith<br>

</div>



<div> <br>

</div>



<div style="font-family: arial,helvetica; font-size: 10pt; color: black;">-----Original Message-----<br>

From: Mrinal Kalakrishnan <mail@mrinal.net><br>

To: User discussions <ros-users@code.ros.org><br>

Sent: Mon, Nov 22, 2010 9:18 pm<br>

Subject: Re: [ros-users] PropagationDistanceField usage?<br>

<br>








<div id="AOLMsgPart_0_ba8ab2d5-8c2c-46f6-92b0-ba0d2635a15e" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">

<pre style="font-size: 9pt;"><tt>Hi Matt,<br>

<br>

On Mon, Nov 22, 2010 at 4:00 PM, Matt Klingensmith <<a href="mailto:matthewk1989@aol.com">matthewk1989@aol.com</a>> wrote:<br>

> Unfortunately the code you gave me produces the same results in cturtle (a<br>

> diagonal line in the xz plane at a 45 degree angle). I thought that it might<br>

> have been an issue with tf, so I used static_transform_publisher to publish<br>

> the points to the origin at zero rotation, and still had the same results.<br>

<br>

I'm not sure what the issue is. I'm getting the expected results under<br>

cturtle as well.<br>

The following images show the iso-surface at different distances, for<br>

a line of points on the y axis. As expected, they are cylinders of<br>

growing diameter.<br>

<br>

<a href="http://www-clmc.usc.edu/%7Ekalakris/ros/df1.png" target="_blank">http://www-clmc.usc.edu/~kalakris/ros/df1.png</a><br>

<a href="http://www-clmc.usc.edu/%7Ekalakris/ros/df2.png" target="_blank">http://www-clmc.usc.edu/~kalakris/ros/df2.png</a><br>

<a href="http://www-clmc.usc.edu/%7Ekalakris/ros/df3.png" target="_blank">http://www-clmc.usc.edu/~kalakris/ros/df3.png</a><br>

<br>

If you can send me a minimal node that I can compile that reproduces<br>

your problem, I'd be happy to look at it.<br>

<br>

- Mrinal<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>

</tt></pre>
</div>

 <!-- end of AOLMsgPart_0_ba8ab2d5-8c2c-46f6-92b0-ba0d2635a15e -->

</div>

</font></font>