[choreonoid-users 00040] Re: How to make some changes about Choreonoid in VS2008

Alex Xu xuxiang2806 at gmail.com
Sat Jun 7 13:39:10 JST 2014


I’m sorry for that I didn't express my idea clearly.
I have the model file which I made it in OpenHRP3 previously.
My idea is to make the BodyPlugin more specific for industry robot.
What I want to do is to hide some buttons such as set ZMP.

Another question is I compiled the helloworldPlugin in this way.
Open VS2008 ; new a Win32 console application and then choose the dll.
I compile the HelloWorldPlugin successfully and it works in the Choreonoid.
However when I exit Choreonoid,the program will crashed.
The VS2008 shows that the reason is pointer below.
 Action* menuItem = menuManager().setPath("/View").addItem("Hello World");
The Sample1Plugin even can not load successfully.
Because when I load the Sample1Plugin,the program crashed.The reason is
also the pointer.

As the HelloWorldPlugin,I add line of code,and  the bug is removed.But I
don't know how it works.
The code was showed.

virtual bool finalize()
{          return false;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://choreonoid.org/pipermail/choreonoid-users/attachments/20140607/1a96ea29/attachment.html>


More information about the choreonoid-users mailing list