<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
	>
<channel>
	<title>ODE質問・要望募集3! へのコメント</title>
	<atom:link href="http://demura.net/9ode/376.html/feed" rel="self" type="application/rss+xml" />
	<link>http://demura.net/9ode/376.html</link>
	<description>ロボット達のサッカーW杯RoboCup，つくばチャレンジ，物理計算エンジンＯＤＥと本サイトで開発している３次元描画ライブラリirrDrawStuffなどのロボット開発プラットフォームを開発者の視点で情報発信． なお，ODE本では左下動画のようなロボットシミュレータ作成法を学びます．まずは動画をクリックして体験しよう！</description>
	<lastBuildDate>Fri, 03 Feb 2012 06:31:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ より</title>
		<link>http://demura.net/9ode/376.html/comment-page-2#comment-336</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ</dc:creator>
		<pubDate>Thu, 11 Oct 2007 00:01:33 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/376.html#comment-336</guid>
		<description>初心者さん、

エラー解決おめでとうございます。

さて、dsDrawbox(const float p[3], const float R[12], const float sides[3]);の３番目の引数について説明します。

float sides[3]はfloat型の要素数3個の配列ですが、Ｃ言語では配列を引数として受け渡すことはできないのでポインタとして受け渡します。つまり、float *sidesと同じことになります。これにconstがついているので、このポインタを介して値を変更することを禁止しています。

なお、このように仮引数を宣言すると、受け渡すポインタは要素数３個の配列を指していることが良くわかります。実際の使用例はＰ９４　プログラム3.5を参考にしてください。

また、この質問コーナーのコメントが７０を超えたので、新しい質問はODE質問・要望募集４!にお願いします。</description>
		<content:encoded><![CDATA[<p>初心者さん、</p>
<p>エラー解決おめでとうございます。</p>
<p>さて、dsDrawbox(const float p[3], const float R[12], const float sides[3]);の３番目の引数について説明します。</p>
<p>float sides[3]はfloat型の要素数3個の配列ですが、Ｃ言語では配列を引数として受け渡すことはできないのでポインタとして受け渡します。つまり、float *sidesと同じことになります。これにconstがついているので、このポインタを介して値を変更することを禁止しています。</p>
<p>なお、このように仮引数を宣言すると、受け渡すポインタは要素数３個の配列を指していることが良くわかります。実際の使用例はＰ９４　プログラム3.5を参考にしてください。</p>
<p>また、この質問コーナーのコメントが７０を超えたので、新しい質問はODE質問・要望募集４!にお願いします。</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="初心者 MonsterID Icon" height="48" width="48"/> 初心者 より</title>
		<link>http://demura.net/9ode/376.html/comment-page-2#comment-337</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="初心者 MonsterID Icon" height="48" width="48"/> 初心者</dc:creator>
		<pubDate>Wed, 10 Oct 2007 09:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/376.html#comment-337</guid>
		<description>一度ソースコード新しく書き直したところ、先ほどのエラーはなんとかなくなり、うまくmakeすることができました。
おそらくソースコードになんらかのミスがあったと思われます。
お騒がせすみませんでした。


ところで、P21、EX1.8の直方体の落下の課題ですが、
dsDrawBox()の使い方がよくわかりません。

索引で調べるととP103にあるのですが、
dsDrawbox(const float p[3], const float R[12], const float sides[3]);

位置p、姿勢Rはよいのですが&quot;sides[3]&quot;（配列？）のところをどう書き直せばよいのかがわかりません。</description>
		<content:encoded><![CDATA[<p>一度ソースコード新しく書き直したところ、先ほどのエラーはなんとかなくなり、うまくmakeすることができました。<br />
おそらくソースコードになんらかのミスがあったと思われます。<br />
お騒がせすみませんでした。</p>
<p>ところで、P21、EX1.8の直方体の落下の課題ですが、<br />
dsDrawBox()の使い方がよくわかりません。</p>
<p>索引で調べるととP103にあるのですが、<br />
dsDrawbox(const float p[3], const float R[12], const float sides[3]);</p>
<p>位置p、姿勢Rはよいのですが&#8221;sides[3]&#8220;（配列？）のところをどう書き直せばよいのかがわかりません。</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt=" MonsterID Icon" height="48" width="48"/> 匿名 より</title>
		<link>http://demura.net/9ode/376.html/comment-page-2#comment-338</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt=" MonsterID Icon" height="48" width="48"/> 匿名</dc:creator>
		<pubDate>Wed, 10 Oct 2007 04:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/376.html#comment-338</guid>
		<description>でむさん、

追加し忘れていました。

ODE Message 2: inertia must be positive definite in dMassCheck() File mass.cpp Line 48

初心者</description>
		<content:encoded><![CDATA[<p>でむさん、</p>
<p>追加し忘れていました。</p>
<p>ODE Message 2: inertia must be positive definite in dMassCheck() File mass.cpp Line 48</p>
<p>初心者</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="初心者 MonsterID Icon" height="48" width="48"/> 初心者 より</title>
		<link>http://demura.net/9ode/376.html/comment-page-2#comment-339</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="初心者 MonsterID Icon" height="48" width="48"/> 初心者</dc:creator>
		<pubDate>Wed, 10 Oct 2007 03:44:02 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/376.html#comment-339</guid>
		<description>でむさん、

&gt;&gt;ＯＳ，開発環境(mingw ? VISUAL C++ ?)を教えて頂けませんか？

開発環境はこちらのサイト（Windows　XPでのインストール）を参考に行いました。
つまり、minGWです。

Microsoft Visual C++は一切使っていません。</description>
		<content:encoded><![CDATA[<p>でむさん、</p>
<p>>>ＯＳ，開発環境(mingw ? VISUAL C++ ?)を教えて頂けませんか？</p>
<p>開発環境はこちらのサイト（Windows　XPでのインストール）を参考に行いました。<br />
つまり、minGWです。</p>
<p>Microsoft Visual C++は一切使っていません。</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ より</title>
		<link>http://demura.net/9ode/376.html/comment-page-2#comment-340</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ</dc:creator>
		<pubDate>Wed, 10 Oct 2007 03:34:33 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/376.html#comment-340</guid>
		<description>mif805さん、

返事が遅くなりすみません。

さて、cylinderと接触していないはずのboxも一という意味がよくわかりません。
判定部分のソースコードを見せて頂けますか？

また、「接触していないはず」とは２つのジオメトリの位置から接触していないといいうことでしょうか？　なお、stepsizeを小さくすると衝突判定も正確になります。</description>
		<content:encoded><![CDATA[<p>mif805さん、</p>
<p>返事が遅くなりすみません。</p>
<p>さて、cylinderと接触していないはずのboxも一という意味がよくわかりません。<br />
判定部分のソースコードを見せて頂けますか？</p>
<p>また、「接触していないはず」とは２つのジオメトリの位置から接触していないといいうことでしょうか？　なお、stepsizeを小さくすると衝突判定も正確になります。</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ より</title>
		<link>http://demura.net/9ode/376.html/comment-page-2#comment-341</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ</dc:creator>
		<pubDate>Wed, 10 Oct 2007 03:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/376.html#comment-341</guid>
		<description>初心者さん、

ＯＳ，開発環境(mingw ? VISUAL C++ ?)を教えて頂けませんか？

でむ</description>
		<content:encoded><![CDATA[<p>初心者さん、</p>
<p>ＯＳ，開発環境(mingw ? VISUAL C++ ?)を教えて頂けませんか？</p>
<p>でむ</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="初心者 MonsterID Icon" height="48" width="48"/> 初心者 より</title>
		<link>http://demura.net/9ode/376.html/comment-page-2#comment-342</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="初心者 MonsterID Icon" height="48" width="48"/> 初心者</dc:creator>
		<pubDate>Tue, 09 Oct 2007 14:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/376.html#comment-342</guid>
		<description>こんばんは、何度もすみません。

参考書のex1.9をmekeしたら以下のような２つのエラーがでました。

ODE INTERNAL ERROR 1
assrtion&quot;dMassCheck(mass)&quot;failed in dBodySetMass()[ode.cpp]

Microsoft Visual C++ Runtime Library
Runtime Error!
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application&#039;s support team for more information.

.exeファイルはできたのですが、このエラーが出て結果（シミュレーション）を見ることができない状況です。
エラーの原因はわかりますでしょうか？
よろしくお願いいたします。</description>
		<content:encoded><![CDATA[<p>こんばんは、何度もすみません。</p>
<p>参考書のex1.9をmekeしたら以下のような２つのエラーがでました。</p>
<p>ODE INTERNAL ERROR 1<br />
assrtion&#8221;dMassCheck(mass)&#8221;failed in dBodySetMass()[ode.cpp]</p>
<p>Microsoft Visual C++ Runtime Library<br />
Runtime Error!<br />
This application has requested the Runtime to terminate it in an unusual way.<br />
Please contact the application&#8217;s support team for more information.</p>
<p>.exeファイルはできたのですが、このエラーが出て結果（シミュレーション）を見ることができない状況です。<br />
エラーの原因はわかりますでしょうか？<br />
よろしくお願いいたします。</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ より</title>
		<link>http://demura.net/9ode/376.html/comment-page-2#comment-343</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ</dc:creator>
		<pubDate>Wed, 26 Sep 2007 22:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/376.html#comment-343</guid>
		<description>dcsyhisさん、

ODEはオープンソースなので、ソースコードを改変すればご自分の摩擦モデルを実装することは可能です。初歩的な質問ではないので、ODEご本家様のメーリングリストに聞かれるとよいと思います。</description>
		<content:encoded><![CDATA[<p>dcsyhisさん、</p>
<p>ODEはオープンソースなので、ソースコードを改変すればご自分の摩擦モデルを実装することは可能です。初歩的な質問ではないので、ODEご本家様のメーリングリストに聞かれるとよいと思います。</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="dcsyhi MonsterID Icon" height="48" width="48"/> dcsyhi より</title>
		<link>http://demura.net/9ode/376.html/comment-page-2#comment-344</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="dcsyhi MonsterID Icon" height="48" width="48"/> dcsyhi</dc:creator>
		<pubDate>Wed, 26 Sep 2007 11:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/376.html#comment-344</guid>
		<description>Demura さん

初歩的な質問ですいません。
ODEではクーロン摩擦モデルが採用されているとODEのサイトで知りましたが、これを
違うモデル（自分で考えたもの等）に変えることはできるんでしょうか？</description>
		<content:encoded><![CDATA[<p>Demura さん</p>
<p>初歩的な質問ですいません。<br />
ODEではクーロン摩擦モデルが採用されているとODEのサイトで知りましたが、これを<br />
違うモデル（自分で考えたもの等）に変えることはできるんでしょうか？</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ より</title>
		<link>http://demura.net/9ode/376.html/comment-page-2#comment-345</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ</dc:creator>
		<pubDate>Tue, 25 Sep 2007 06:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/376.html#comment-345</guid>
		<description>チャンさん、

EX1.1 開発環境とODEのインストール　(Windows　XP編）http://demura.net/archives/9ode/installwindowsxp.html
の
「2. MSYSのインストール
MSYSはMinimal Systemの略でMinGWを使いやすくするために必要な最小限のシステムです。MinGWと同様にここをクリックしてMSYS-1.0.10.exeをデスクトップへダウンロードしてください。」
のここをクリックしてをクリックするとMSYS-1.0.10.exeをダウンロード可能です。

チャンさんはどの記事を読まれたか教えてください。問題のある記事があるかもしれません。</description>
		<content:encoded><![CDATA[<p>チャンさん、</p>
<p>EX1.1 開発環境とODEのインストール　(Windows　XP編）http://demura.net/archives/9ode/installwindowsxp.html<br />
の<br />
「2. MSYSのインストール<br />
MSYSはMinimal Systemの略でMinGWを使いやすくするために必要な最小限のシステムです。MinGWと同様にここをクリックしてMSYS-1.0.10.exeをデスクトップへダウンロードしてください。」<br />
のここをクリックしてをクリックするとMSYS-1.0.10.exeをダウンロード可能です。</p>
<p>チャンさんはどの記事を読まれたか教えてください。問題のある記事があるかもしれません。</p>
]]></content:encoded>
	</item>
</channel>
</rss>

