Search found 6 matches

by jlouis2k4
13 Oct 2015, 20:19
Forum: General questions
Topic: Simulating mud/ earth/ soil
Replies: 1
Views: 1197

Simulating mud/ earth/ soil

Hello there! I am trying to create a simulation using the excavator provided and a dumptruck. What would be the best way of showing "soil" dug by the excavator? The terrain does not need to deform. Ideally a soil object would be able to able to take the excavator buckets shape and then spr...
by jlouis2k4
25 Sep 2015, 20:27
Forum: General questions
Topic: Multiple Joystick Control
Replies: 8
Views: 4033

Re: Multiple Joystick Control

This is the code as I have it now: void launchThreadIfNeeded() { static bool a=true; if (!_inJoyThread||a) { a=false; _joyThreadEnded=false; _joyThreadLaunched=false; joyGoodToRead=false; CreateThread(NULL,0,_joyThread,NULL,THREAD_PRIORITY_NORMAL,NULL); while (!_joyThreadLaunched) Sleep(2); while (_...
by jlouis2k4
25 Sep 2015, 01:04
Forum: General questions
Topic: Multiple Joystick Control
Replies: 8
Views: 4033

Re: Multiple Joystick Control

Thank you for your reply! Without modifying the code, simExtJoyGetCount returned 1, even though I had 2 joysticks plugged in. You are right about it not being safe. The thread was launched everytime once I started reading values and that eventually led to a crash. I then modified the code so that it...
by jlouis2k4
23 Sep 2015, 19:29
Forum: General questions
Topic: Multiple Joystick Control
Replies: 8
Views: 4033

Re: Multiple Joystick Control

Hello there! It's been a year since I visited this thread, but I wanted to follow up on it. I did get two joysticks to shows up on simExtJoyGetCount(); but only after I meddled with the plugin code. I commented out the // if (!_inJoyThread) in void launchThreadIfNeeded() Is this safe? Please let me ...
by jlouis2k4
09 Jun 2014, 17:12
Forum: General questions
Topic: Multiple Joystick Control
Replies: 8
Views: 4033

Re: Multiple Joystick Control

Thanks for the reply.

I will try out the source after getting DirectX. To answer your question, simExtJoyGetCount returns 1.

Thanks,
Joe
by jlouis2k4
08 Jun 2014, 23:54
Forum: General questions
Topic: Multiple Joystick Control
Replies: 8
Views: 4033

Multiple Joystick Control

Hello there, I have been trying to use joysticks with v-rep (with the v_repExtJoystick dll) on windows. It works fine with 1 but does not recognize more than that. Is it possible to control multiple joysticks? Also, when I tried compiling the source code for the dll, it tells me that the v_repExtJoy...