Search found 48 matches

by RobAtLab
23 Nov 2018, 13:42
Forum: Feature requests
Topic: Repeatable seeded pseudorandomness
Replies: 5
Views: 1260

Re: Repeatable seeded pseudorandomness

Just to check, will there be a way to set a seed for the whole scene, then even if multiple identical robots are all running the same controller they won't all get the same sequence of random numbers? Will there also be other options to have a separate randomness source and separate randomseed on ea...
by RobAtLab
21 Nov 2018, 18:50
Forum: Feature requests
Topic: Repeatable seeded pseudorandomness
Replies: 5
Views: 1260

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: 1260

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: 279

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: 495

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: 279

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: 285

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 proximity sensor to se...
by RobAtLab
31 Jul 2018, 15:04
Forum: General questions
Topic: Car Simulation
Replies: 3
Views: 2439

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: 713

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 ./vrep.sh and...
by RobAtLab
18 Jul 2018, 14:45
Forum: Feature requests
Topic: Tutorial on creating automatic V-REP simulations for statistical studies
Replies: 3
Views: 713

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...