s-nakaoka / choreonoid

An integrated graphical robotics application framework
http://choreonoid.org
Other
94 stars 58 forks source link

Can't able to use Virtual Joystick #240

Closed DhimanAirao closed 4 years ago

DhimanAirao commented 4 years ago

In the version 1.7.0 I tried to use Tank model and make it walk through Virtual Joystick But there is no response from the Robot Model then I tried different model but it didn't work in any model. Please help me to fix this.

ssr-yuki commented 4 years ago

Do you surely use TurretController2 as a controller of Tank?

If "Yes," could you explain the problem you are facing more in detail?

DhimanAirao commented 4 years ago

Yes I am using TurretController2 as a controller of Tank. I also tried to make entire project myself even though it didn't work. Can you help me to fix this?

ssr-yuki commented 4 years ago

Oh, something wrong.

I guess you tried this tutorial, right?

I want to see console messages. Are there any warnings or errors?

DhimanAirao commented 4 years ago

Screenshot from 2020-04-27 23-24-12 This is the screenshot and there is also other problem that turret rotates continously.Please help me?

ssr-yuki commented 4 years ago

Let me summarize your problems:

Is that all?

DhimanAirao commented 4 years ago

Yes, sir. Please help me to fix it.

On Tue, Apr 28, 2020, 00:56 Yuki Onishi notifications@github.com wrote:

Let me summarize your problems:

  • Your virtual joystick does not work with TurretController2.
  • The turret rotates continuously with TankTutorial_TurretController2, and WITHOUT any joystick command.

Is that all?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/s-nakaoka/choreonoid/issues/240#issuecomment-620185198, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJLA3ERGMWBTRIBEF7PZHSDROXL67ANCNFSM4MSCYOFQ .

DhimanAirao commented 4 years ago

Also I can't able to load fire.body file located in sample/wrs2018/model it shows error as show below

Error is: The node type "FireDevice" is not defined. at line 20, column 9. -> failed.

How to fix this?

DhimanAirao commented 4 years ago

@s-nakaoka sir help me to figure out the 3 problems listed above.

s-nakaoka commented 4 years ago

You can make FireDevice available by enabling BUILD_SCENE_EFFECTS_PLUGIN in the CMake configuration.

For the above two problems, I'm not sure why the problems occur. Did you correctly follow the following manual pages? https://choreonoid.org/en/manuals/latest/simulation/tank-tutorial/index.html

It may be better to use the latest development version of Choreonoid. https://choreonoid.org/en/manuals/latest/install/build-ubuntu.html#development-version

DhimanAirao commented 4 years ago

Sir, I tried 3 different version of chorenoid but it didn't work in ny version. I follwed the tutorial perfectly . Initially I tried to use the inbuilt files but It didn't work. So secondly I tried ti create my own project but still it didn't work.

s-nakaoka commented 4 years ago

I remembered that I had such problems while using a virtual machine. If you use a virtual machine, please try to execute Choreonoid on the native Ubuntu environment.

DhimanAirao commented 4 years ago

No sir I have dual boot in my Laptop I ain't using Virtual Machine

s-nakaoka commented 4 years ago

I think it's difficult to answer to your questions because you don't provide enough information to solve the problems. I'm afraid it may be better to refer to the following page: http://www.catb.org/~esr/faqs/smart-questions.html

DhimanAirao commented 4 years ago

Sir, I had provided every information that I m able to provide. I uploaded the screenshot of what's happening while using the virtual joystick in chorenoid.

s-nakaoka commented 4 years ago

I also recommend you to test your joystick by using the jstest command. You can install it by apt install joystick.

s-nakaoka commented 4 years ago

Sorry, you used a virtual joystick. If some joystick is connected, the input from it is used

DhimanAirao commented 4 years ago

Sir also when I open Tank.cnoid file present in Sample/Simplecontroller the Turret rotates continuously without any input. How to fix this problem?

s-nakaoka commented 4 years ago

I'm not sure why the problem occurs in your environment. I'm sorry about that.

DhimanAirao commented 4 years ago

Thanks Sir for your reply. I will try to solve this problem.

DhimanAirao commented 4 years ago

Screenshot from 2020-05-01 21-41-23

Sir, made 3 plugins on during make BUILD_SCENE_EFFECTS_PLUGIN , BUILD_SCENEEDIT_PLUGIN and BUILD_SCENARIO_PLUGIN but as you can see now fire.body is getting perfectly loaded but can't able to see it in the world.

DhimanAirao commented 4 years ago

how to fix this?

s-nakaoka commented 4 years ago

FireDevice itself does not show anything just by loading it into the scene. So there is nothing wrong with what is happening in your environment.