Search found 6361 matches

by coppelia
22 Feb 2018, 07:50
Forum: General questions
Topic: Serial not reading entire line
Replies: 1
Views: 59

Re: Serial not reading entire line

Hello, yes, you will have to assemble the chuncks yourself, or at least wait until the serial buffer has enough data to read and only read as many chars as one line contains. If you operate from a threaded child script, you could read in a blocking fashion, and use * as the closing string. Cheers
by coppelia
22 Feb 2018, 07:44
Forum: General questions
Topic: Gyrosensor Data transfer to another script
Replies: 4
Views: 34

Re: Gyrosensor Data transfer to another script

Hello,

have also a look at this page.

Cheers
by coppelia
22 Feb 2018, 07:43
Forum: General questions
Topic: Getting reactionforce between wheel and ground
Replies: 2
Views: 29

Re: Getting reactionforce between wheel and ground

Hello, using the API function sim.getContactInfo , you should be able to get the contact forces with the ground (using the Bullet engine, you will only be able to get the tangential forces unfortunately). You can also try to mount the wheel axes onto a force/torque sensor, maybe like: chassis --> fo...
by coppelia
22 Feb 2018, 07:35
Forum: Bug reports
Topic: Remote API Connection Timeouts
Replies: 2
Views: 31

Re: Remote API Connection Timeouts

Hello,

referring to my email earlier today, make sure that the simple remote API example run fine on your system. You can find those examples in programming/remoteApiBindings/python/python

Cheers
by coppelia
22 Feb 2018, 07:33
Forum: Bug reports
Topic: Cannot set initial velocity though Matlab API
Replies: 5
Views: 74

Re: Cannot set initial velocity though Matlab API

We'll have to look into this...

Cheers
by coppelia
20 Feb 2018, 14:35
Forum: General questions
Topic: Joint (acting as position control motor) only works at fast speeds
Replies: 4
Views: 49

Re: Joint (acting as position control motor) only works at fast speeds

Did you try to switch to the ODE engine, or the Newton engine to see if that makes a difference? The Vortex engine will probably give you best results. Each engine operates in it own specific manner with its own specific algorithms. Some use lots of approximations, others use different assumptions a...
by coppelia
20 Feb 2018, 14:29
Forum: General questions
Topic: Simulation with Python Remote API
Replies: 1
Views: 28

Re: Simulation with Python Remote API

Hello,

your threaded child script is run and exists right after. Shouldn't there be a loop in there? And I think you have not enabled the synchronous mode in your python remote API.

Cheers
by coppelia
20 Feb 2018, 14:24
Forum: General questions
Topic: Parallelogram structure
Replies: 1
Views: 21

Re: Parallelogram structure

Hello,

if you want to handle IK groups when simulation is not running, then use a customization script (make sure the IK group is flagged as explicit handling and handle it with sim.handleIkGroup).

Cheers
by coppelia
17 Feb 2018, 06:23
Forum: General questions
Topic: how to set y vector up when importing mesh from a script
Replies: 4
Views: 67

Re: how to set y vector up when importing mesh from a script

You can iterate through your imported shape vertices and detect the lowest z-coordinate. Then iterate through your road shape and detect the highest z-coordinate. Then you know how much you need to shift the imported shape. You will have to use sim.getShapeMesh . Remember that the read vertices are ...
by coppelia
17 Feb 2018, 06:16
Forum: General questions
Topic: How to detect spotlight object intensity by vision sensor of robot
Replies: 2
Views: 34

Re: How to detect spotlight object intensity by vision sensor of robot

Hello,

I don't know how the Kilobots are operating exactly, since we haven't made that model. But you will probably go through all pixels read by the vision sensor, and detect an increased luminosity somehow. For that, you can use sim.getVisionSensorCharImage.

Cheers