Search found 12 matches

by blackbird
25 May 2022, 17:59
Forum: General questions
Topic: Summit XL wheel control
Replies: 10
Views: 907

Re: Summit XL wheel control

The correctness of the call to sim.getObject with a relative path argument depends on where the script is located. sim.getObject'./front_left_wheel' will work from the robot's script, but not from a script outside the robot hierarchy tree. From other scripts you can use an absolute partial path, e....
by blackbird
25 May 2022, 10:21
Forum: General questions
Topic: Summit XL wheel control
Replies: 10
Views: 907

Re: Summit XL wheel control

Im taking the wheels like this is it true?

Code: Select all

motorHandles={-1,-1,-1,-1}

motorHandles[1]=sim.getObject('./front_left_wheel')
motorHandles[2]=sim.getObject('./front_right_wheel')
motorHandles[3]=sim.getObject('./back_right_wheel')
motorHandles[4]=sim.getObject('./back_left_wheel')
by blackbird
25 May 2022, 09:25
Forum: General questions
Topic: Summit XL wheel control
Replies: 10
Views: 907

Re: Summit XL wheel control

There is no error messages. When im running this code sim.setJointTargetVelocity in coppelia with lua, its working, robot is moving. Buy when im running this code in pycharm with python, code is running without error but robot is not moving.
by blackbird
24 May 2022, 17:17
Forum: General questions
Topic: Summit XL wheel control
Replies: 10
Views: 907

Re: Summit XL wheel control

I tried functions, functions has no error but robot is not moving. But functions work on lua but not on python.
by blackbird
24 May 2022, 09:47
Forum: General questions
Topic: Summit XL wheel control
Replies: 10
Views: 907

Re: Summit XL wheel control

Thanks for reply.
by blackbird
23 May 2022, 17:28
Forum: General questions
Topic: Summit XL wheel control
Replies: 10
Views: 907

Summit XL wheel control

Hi, i want to make robot go right, left, forward or stop by reading hand gesture from file. I did read hand gesture from file. I did also change the robot's position with sim.setObjectPosition but this is not what i want. from zmqRemoteApi import RemoteAPIClient print('Program started') client = Rem...
by blackbird
17 May 2022, 11:06
Forum: General questions
Topic: Read from txt file
Replies: 3
Views: 503

Re: Read from txt file

Thanks...
by blackbird
14 May 2022, 10:16
Forum: General questions
Topic: Read from txt file
Replies: 3
Views: 503

Read from txt file

Hi, i want to move robot by reading from txt file with python. How can i do that?
by blackbird
21 Mar 2022, 16:30
Forum: General questions
Topic: API function on python with Zeromqremote API
Replies: 4
Views: 330

Re: API function on python with Zeromqremote API

Ohh yes, thank you so much.

Cheers.
by blackbird
21 Mar 2022, 14:13
Forum: General questions
Topic: API function on python with Zeromqremote API
Replies: 4
Views: 330

Re: API function on python with Zeromqremote API

Yes, i want use Zeromq remote api on pycharm. Using like this: client = RemoteAPIClient() sim = client.getObject('sim') pos = sim.getObjectPosition(sim, -1) (i dont know is this correct?) It gives the following error. Traceback (most recent call last): File "C:\Program Files\CoppeliaRobotics\Co...