Search found 5 matches

by 3mayuge3
27 Jan 2019, 06:05
Forum: General questions
Topic: Using simxCallScriptFunction in headless mode
Replies: 2
Views: 492

Re: Using simxCallScriptFunction in headless mode

Thank you for your reply.

Ok, I' ll check simulation and scene again. Thank you for your advice.
by 3mayuge3
24 Jan 2019, 04:34
Forum: General questions
Topic: Using simxCallScriptFunction in headless mode
Replies: 2
Views: 492

Using simxCallScriptFunction in headless mode

Hello, I have one question about headless mode. I would like to call my function written in child script when the simulation is headless mode. I using python code (remote API), so it's better to use simxCallScriptFunction. I tried that, but it didn't work well (get return code 8). In the first place...
by 3mayuge3
20 Dec 2018, 06:02
Forum: General questions
Topic: After sim.ResetDynamicObject and move a model
Replies: 1
Views: 350

After sim.ResetDynamicObject and move a model

Hello, I'm trying to control my humanoid robot via remote API (python). To control the joints, I set them "Torque/force mode" and use simxSetJointTargetVelocity. And for my task, I have to move the model instantaneously. So I checked this forum and I found a way (at least I understood like that) : 1...
by 3mayuge3
10 Dec 2018, 08:03
Forum: General questions
Topic: Synchronous operation with Python using remote API
Replies: 3
Views: 673

Re: Synchronous operation with Python using remote API

Hello, Thank you for your quick response. Oh, I didn't notice. I tried that and maybe it's done well. Actually, my final goal is to control joints of a robot at 5 ms period with remote API. For example, while python code is calculating, it is desirable that the simulation step wait. Is it possible? ...
by 3mayuge3
05 Dec 2018, 10:01
Forum: General questions
Topic: Synchronous operation with Python using remote API
Replies: 3
Views: 673

Synchronous operation with Python using remote API

Hi, I'd like to use synchronous operation with python, remote API. So I read this page ( http://www.coppeliarobotics.com/helpFiles/en/remoteApiModusOperandi.htm ) and at first wrote a simple code: import time try: import vrep except: print ('----------------------------------------------------------...