Search found 67 matches

by RobAtLab
21 Nov 2018, 18:50
Forum: Feature requests
Topic: Repeatable seeded pseudorandomness
Replies: 5
Views: 6772

Re: Repeatable seeded pseudorandomness

Thank you for that, any idea when the new version of V-REP with this feature will be released? P.S. I'm assuming you'll do all you can to maintain compatibility of scripts and models between the current version and that next one. I'd hate to have to redefine all my geometry, actuators and custom sen...
by RobAtLab
14 Nov 2018, 18:36
Forum: Feature requests
Topic: Repeatable seeded pseudorandomness
Replies: 5
Views: 6772

Repeatable seeded pseudorandomness

If one wants to insert deliberate randomness into a simulation using (for example) CompassAngleToDriveAlong=math.random(-180,180) but one wants the series of directions chosen by this function to be random but repeatable then in lua one would typically set math.randomseed(KnownConstantValue) beforeh...
by RobAtLab
01 Oct 2018, 18:38
Forum: General questions
Topic: Are proximity sensors actually line of sight?
Replies: 3
Views: 1891

Re: Are proximity sensors actually line of sight?

I'm pretty sure the model between the dummy and sensor is detectable, yet the sim.checkProximitySensor(thisSensor,thatDummy) command still seems to see the dummy.
by RobAtLab
28 Sep 2018, 21:21
Forum: General questions
Topic: Nested joints: how to associate both a prismatic and a revolute joint to an object
Replies: 7
Views: 3229

Re: Nested joints: how to associate both a prismatic and a revolute joint to an object

You can make the object to go between the joints visually invisible and dynamically non-respondable. You still need to give it a mass and moments of inertia but otherwise it can bne like its not there at all. The joints can be co-located in space, an object can go between things in a hierachy withou...
by RobAtLab
28 Sep 2018, 20:58
Forum: General questions
Topic: Are proximity sensors actually line of sight?
Replies: 3
Views: 1891

Are proximity sensors actually line of sight?

Excuse me, I've got some child script code running on a proximity sensor in an attempt to check whether a dummy object is within it's field of view. The key line in the child script being InFieldOfView, junkDistance, RelativePos=sim.checkProximitySensor(ThisSensor,thatDummy) If InFieldOfView==1 I th...
by RobAtLab
24 Aug 2018, 15:51
Forum: General questions
Topic: Change volume colour of proximity sensor from script
Replies: 1
Views: 1454

Change volume colour of proximity sensor from script

Through the GUI one can click on a proximity sensor in the hierachy, then "adjust volume colour" in the "scene object properties" dialog box, then change things like ambient colour or visual pulsation frequency. Is there any way to do this from within a child script, I'm using pr...
by RobAtLab
31 Jul 2018, 15:04
Forum: General questions
Topic: Car Simulation
Replies: 3
Views: 5018

Re: Car Simulation

Does that model still exist anywhere? I'm trying to implement a very basic simulation of a wheeled vehicle with front wheel sterring, rear wheel drive and a really crude approximation of a differential gearbox, I can see that the manta car model has it buty in that model the details of steering and ...
by RobAtLab
20 Jul 2018, 17:06
Forum: Feature requests
Topic: Tutorial on creating automatic V-REP simulations for statistical studies
Replies: 3
Views: 5694

Re: Tutorial on creating automatic V-REP simulations for statistical studies

Are you effectively saying to write a bash (I'm on a linux PC) script to start V-REP, run my sim, then close V-REP then start V-REP up again with new parameters fed in? Wouldn't that be quite slow, V-REP always takes several seconds between me pressing "enter" at the command line after ./v...
by RobAtLab
18 Jul 2018, 14:45
Forum: Feature requests
Topic: Tutorial on creating automatic V-REP simulations for statistical studies
Replies: 3
Views: 5694

Tutorial on creating automatic V-REP simulations for statistical studies

I need to run a large number of V-REP simulations for similar scenarios but with some starting parameters slightly varied for each. I need to do this both in cases of randomly varied (within defined limits) parameters and other cases where I will need to try a simulation with a certain parameter, th...
by RobAtLab
18 Jul 2018, 14:19
Forum: General questions
Topic: Sending integers as custom datablocks
Replies: 2
Views: 1550

Re: Sending integers as custom datablocks

Thanks for explaining that