Search found 67 matches

by RobAtLab
13 Oct 2020, 16:21
Forum: General questions
Topic: Programmatic access to video recoring functions? And saving a file so it records video when next opened?
Replies: 5
Views: 1068

Programmatic access to video recoring functions? And saving a file so it records video when next opened?

Is it possible to tick the "Launch at next simulation start" video recorder option, close V-REP then open that file again and have it strart recording. Especially in circumstances where one saves the file, but then launches future sims using the command line: ./vrep.sh -g100 ~/V-REP_PRO_ED...
by RobAtLab
07 Oct 2020, 17:48
Forum: General questions
Topic: Starting a sim from halfway through?
Replies: 3
Views: 667

Re: Starting a sim from halfway through?

Given how lua is an interpreted language where a variable can spring in to being anywhere, not a compiled one like C where special easily recognisable declaration statements exists within the code, is there any trick for easily locating the variables. The code my robots run is quite complex and find...
by RobAtLab
28 Sep 2020, 16:48
Forum: General questions
Topic: Placing coloured circles on the ground
Replies: 4
Views: 1052

Re: Placing coloured circles on the ground

Thanks, very silly error on my part.
by RobAtLab
28 Sep 2020, 16:44
Forum: General questions
Topic: Starting a sim from halfway through?
Replies: 3
Views: 667

Starting a sim from halfway through?

I'd like to take a "copy" of a v-rep sim from mid-action, part way through a process. I'd like to save this state of the whole simulation, including the values of all variables within all child scripts on all objects with such scripts. I'd then like to be able to take copies of this saved ...
by RobAtLab
07 Sep 2020, 16:18
Forum: General questions
Topic: Placing coloured circles on the ground
Replies: 4
Views: 1052

Re: Placing coloured circles on the ground

I've just tried this, I get an error: One of the function's argument type is not correct. (sim.createPureShape) when I try to do: local SizeTable={0.1,0.1,0.0001} local PrecTable={12,12} local FoodHandle=sim.createPureShape(2,18,sizeTable,0,PrecTable) to make a flattened cylinder, edges marked, mass...
by RobAtLab
04 Sep 2020, 16:44
Forum: General questions
Topic: Creating disc objects? And putting scripts on them at creation time
Replies: 1
Views: 318

Creating disc objects? And putting scripts on them at creation time

I need an object in my scene to create disc objects which can then do things for themselves. I want this object to be able to create the discs, then load them with a script. I already know what this script will be, but it has a few variables in it which can have different valeus set at the moment of...
by RobAtLab
24 Aug 2020, 15:01
Forum: General questions
Topic: Placing coloured circles on the ground
Replies: 4
Views: 1052

Placing coloured circles on the ground

How can I get robots be able to lay down coloured circles on the ground which other robots can then detect with a vision sensor as they drive over, I guess this is related to how your drawing line marker model works but don't quite understand it's principle of operation. Also is there an easy way th...
by RobAtLab
22 Nov 2019, 16:24
Forum: General questions
Topic: Khepera K3 model, how is the UI done?
Replies: 3
Views: 970

Re: Khepera K3 model, how is the UI done?

Just for quick testing if there an easy way to write lua script, much like that used on the bubblerob tutorial which, like the khepera's UI, lets the UI only appear when the robot is selected. I only need basic sliders like the bubbleRob uses and I can get those working fine. The one change I want t...
by RobAtLab
16 Nov 2019, 22:37
Forum: General questions
Topic: How to build a cable with robot
Replies: 5
Views: 2589

Re: How to build a cable with robot

You could upload to a dropbox, google drive or other such cloud storage platform, then put a link to it here.
by RobAtLab
16 Nov 2019, 22:35
Forum: Bug reports
Topic: Multiple V-REP instances running on same computer conflict, cannot have lua scripts write to files from latter instance
Replies: 1
Views: 4443

Multiple V-REP instances running on same computer conflict, cannot have lua scripts write to files from latter instance

I've tried running separate V-REP sims in parallel on the same (linux) computer. I find that even if two separate copies folders are used for V-REP_PRO_EDU_V3_X_Linux for each sim to run in, hence two separate terminal windows launched, one in each folder, then weird behaviours occur between the two...