Specify File-Path In MAC version of V-rep
Posted: 01 Jun 2014, 14:11
Hello,
I would like to know how to specify the file path to open via child script. In windows, if I copy pasted the file in the default installation path (C:/Programfiles(x86)/V-rep), it worked fine. But now when I want to open and read a file using v-rep child script where should I place it or do I need to modify the lua code.
The code that worked on windows to access a file in childscript was:
my_arr=openFile('models\floorSize.txt')
Now, if I want to access same file, where should i place in Applications/V-REP_PRO_EDU_V3_1_1_Mac.
With regards,
I would like to know how to specify the file path to open via child script. In windows, if I copy pasted the file in the default installation path (C:/Programfiles(x86)/V-rep), it worked fine. But now when I want to open and read a file using v-rep child script where should I place it or do I need to modify the lua code.
The code that worked on windows to access a file in childscript was:
my_arr=openFile('models\floorSize.txt')
Now, if I want to access same file, where should i place in Applications/V-REP_PRO_EDU_V3_1_1_Mac.
With regards,