Search found 41 matches
- 22 Jul 2021, 13:44
- Forum: General questions
- Topic: set model to a new position but it's orientation isn't correct
- Replies: 5
- Views: 4914
Re: set model to a new position but it's orientation isn't correct
It helps! Appreciate!
- 22 Jul 2021, 09:53
- Forum: General questions
- Topic: set model to a new position but it's orientation isn't correct
- Replies: 5
- Views: 4914
Re: set model to a new position but it's orientation isn't correct
Hello, well, your code tries to set the new position/orientation of the model itself to something different from its initial state, i.e. your code contains: if handle==lineTracer then -- Set the model's new position/orientation: sim.setObjectPosition(lineTracer,-1,{X[b+1][2],0,0.0275}) sim.setObjec...
- 21 Jul 2021, 15:31
- Forum: General questions
- Topic: can't connect the joystick
- Replies: 11
- Views: 7249
Re: can't connect the joystick
Thank you so much! I've solve this problem!
- 21 Jul 2021, 15:30
- Forum: General questions
- Topic: time interval of data recording
- Replies: 5
- Views: 6831
Re: time interval of data recording
You must have used a threaded script, which runs asynchronously. Use a non-threaded script, instead; in that case sysCall_sensing() is called exactly once per timestep. You can also achieve the same level of control in a threaded script by using sim.setThreadAutomaticSwitch() and sim.switchThread()...
- 21 Jul 2021, 15:28
- Forum: General questions
- Topic: set model to a new position but it's orientation isn't correct
- Replies: 5
- Views: 4914
set model to a new position but it's orientation isn't correct
Hello, I've succeeded in setting my model to a new position. But it's orientation was different from it's initial state. For example, it's initial beta[deg] is 0, after it get to the new place, it's beta[deg] will change to -0.16734. The code is following: firstly, memorize the initial state: ------...
- 21 Jul 2021, 09:26
- Forum: General questions
- Topic: real-time simulation and high fps
- Replies: 8
- Views: 10779
- 20 Jul 2021, 02:20
- Forum: General questions
- Topic: can't connect the joystick
- Replies: 11
- Views: 7249
Re: can't connect the joystick
Thank you fferri, I've down the source, and could you please tell me how to rebuild the plugin? I just changed the extension into .dll, then the console output showed "failed to...ExtJoystick plugin". I guess there is a way to build the plugin....
- 16 Jul 2021, 10:51
- Forum: General questions
- Topic: can't connect the joystick
- Replies: 11
- Views: 7249
Re: can't connect the joystick
But I've downloaded the plugin from this forum. Should I move the downloaded file into some corresponding folder?
- 16 Jul 2021, 10:34
- Forum: General questions
- Topic: can't connect the joystick
- Replies: 11
- Views: 7249
Re: can't connect the joystick
[CoppeliaSimClient] loading the CoppeliaSim library... [CoppeliaSimClient] done. [CoppeliaSimClient:loadinfo] launching CoppeliaSim... [CoppeliaSim:loadinfo] CoppeliaSim V4.2.0., (rev. 1), flavor: 1 [CoppeliaSim:loadinfo] Legacy machine ID: 2241-71F3-390A-8C4A-F7E3-9405 [CoppeliaSim:loadinfo] Machin...
- 16 Jul 2021, 07:59
- Forum: General questions
- Topic: can't connect the joystick
- Replies: 11
- Views: 7249
Re: can't connect the joystick
Check the console output to see if there are some relevant messages. You should see [CoppeliaSim:loadinfo] plugin 'Joy': loading... [CoppeliaSim:loadinfo] plugin 'Joy': load succeeded. or otherwise a fail message. Thank you. I've checked the console, and the messages are: [string "LineTracer@c...