<div dir="ltr">Can one of you write down all that stuff (wording, exact mathematical meaning, conventions in naming variables in the code, ...) right now (not &quot;later when I have the time&quot;) in a document in the &quot;conventions and guidelines part&quot; of the wiki, and refer to it in the doxygen documentation of the RigidBodyState as well as the transformer ?<div>
<br></div><div>Sylvain</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 22, 2014 at 7:53 PM, Alexander Duda <span dir="ltr">&lt;<a href="mailto:Alexander.Duda@dfki.de" target="_blank">Alexander.Duda@dfki.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Before, the change was made vizikt3d was showing the transformations in<br>
reversed order and was not aligned with the transformer configuration.<br>
This should be fixed by now.<br>
<br>
The only thing you have to do is to correctly configure the transformer.<br>
Nothing has changed here.<br>
<br>
All tranformations are given as source_in_target which is unfortunately<br>
called source_to_target in our code being ambiguous because no one knows<br>
if the transformation is transforming samples or coordinate systems (in<br>
our case samples).<br>
<br>
Alex<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 05/22/2014 07:24 PM, Javier Hidalgo Carrió wrote:<br>
&gt; Hi Alex,<br>
&gt;<br>
&gt; The visualization stays the same. But the interpretation of the<br>
&gt; transformer configuration changes for vizkit3d only.<br>
&gt;&gt;<br>
&gt;&gt; Former:<br>
&gt;&gt; static_transform(Eigen::Vector3.new(0.0,0.0,3.0),<br>
&gt;&gt; Eigen::Quaternion.from_euler(Eigen::Vector3.new(Math::PI,0,0),2,1,0),&quot;world&quot;<br>
&gt;&gt;<br>
&gt;&gt; =&gt; &quot;body&quot;)<br>
&gt;&gt;<br>
&gt;&gt; must no be written as:<br>
&gt;&gt; static_transform(Eigen::Vector3.new(0.0,0.0,3.0),<br>
&gt;&gt; Eigen::Quaternion.from_euler(Eigen::Vector3.new(Math::PI,0,0),2,1,0),&quot;body&quot;<br>
&gt;&gt;<br>
&gt;&gt; =&gt; &quot;world&quot;)<br>
&gt; It works for me when using static transformations. But, regarding<br>
&gt; dynamic transformations:<br>
&gt; Does it also apply to the dynamic transformations given by a rbs on an<br>
&gt; output port?<br>
&gt;<br>
&gt; Former:<br>
&gt; dynamic_transform &quot;vicon.pose_samples&quot;, &quot;world&quot; =&gt; &quot;body&quot;<br>
&gt; with rbs.sourceFrame = &quot;world&quot;<br>
&gt; with rbs.targetFrame = &quot;body&quot;<br>
&gt;<br>
&gt; must now be written as:<br>
&gt; dynamic_transform &quot;vicon.pose_samples&quot;, &quot;body&quot; =&gt; &quot;world&quot;<br>
&gt; with rbs.sourceFrame = &quot;body&quot;<br>
&gt; with rbs.targetFrame = &quot;world&quot;<br>
&gt;<br>
&gt; However, in the transformer_broadcaster the frames for dynamic<br>
&gt; transformation are called from_frame and to _frame.<br>
&gt; I am not making it work with the new interpretation. Did anyone<br>
&gt; already try it?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Javier.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; to have the same visualization in vizkit3d (this is aligned with the<br>
&gt;&gt; transformer)<br>
&gt;&gt;<br>
&gt;&gt; Greets Alex<br>
&gt;<br>
&gt;<br>
<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">--<br>
Dipl.-Ing. Alexander Duda<br>
Unterwasserrobotik<br>
Robotics Innovation Center<br>
<br>
Hauptgeschäftsstelle Standort Bremen:<br>
  DFKI GmbH<br>
  Robotics Innovation Center<br>
  Robert-Hooke-Straße 1<br>
  28359 Bremen, Germany<br>
<br>
  Tel.:     <a href="tel:%2B49%20421%20178%2045-6620" value="+49421178456620">+49 421 178 45-6620</a><br>
  Zentrale: <a href="tel:%2B49%20421%20178%2045-0" value="+49421178450">+49 421 178 45-0</a><br>
  Fax:      <a href="tel:%2B49%20421%20178%2045-4150" value="+49421178454150">+49 421 178 45-4150</a> (Faxe bitte namentlich kennzeichnen)<br>
  E-Mail:   <a href="mailto:Alexander.Duda@dfki.de">Alexander.Duda@dfki.de</a><br>
<br>
  Weitere Informationen: <a href="http://www.dfki.de/robotik" target="_blank">http://www.dfki.de/robotik</a><br>
  -----------------------------------------------------------------------<br>
  Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH<br>
  Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern<br>
  Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster<br>
  (Vorsitzender) Dr. Walter Olthoff<br>
  Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes<br>
  Amtsgericht Kaiserslautern, HRB 2313<br>
  Sitz der Gesellschaft: Kaiserslautern (HRB 2313)<br>
  USt-Id.Nr.:    DE 148646973<br>
  Steuernummer:  19/673/0060/3<br>
<br>
_______________________________________________<br>
Rock-dev mailing list<br>
<a href="mailto:Rock-dev@dfki.de">Rock-dev@dfki.de</a><br>
<a href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev" target="_blank">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev</a><br>
</div></div></blockquote></div><br></div>