Page 1 of 1

Error while reading CSV File

Posted: 09 Jun 2023, 08:51
by suanumolu
Hello, I am a new user to Coppelia Sim. I am currently working on a coursera course called Modern Robotics. I installed the sim, and I was asked to download a scene and a corresponding csv file which provided the scene with movement instructions. When I play this file (the scene) and am prompted to enter the csv file's path, I enter it, and receive this following error:

[simExtUI:warning] unknown UI XML attribute 'value' in widget 'label'
"fname=","/Users/suryatejaanumolu/Downloads/V-REP_scenes/Scene4_base_motions/yb5.csv"
File exists!
[/WorldFrame/youBot@childScript:error] [string "/WorldFrame/youBot@childScript"]:76: attempt to index a nil value (local 'fout')
stack traceback:
[string "/WorldFrame/youBot@childScript"]:76: in function 'parseCSVFile'
[CoppeliaSim:error] External call to simCallScriptFunction failed ('parseCSVFile'): error in script function.
[sandboxScript:info] simulation stopping...
[sandboxScript:info] Simulation stopped.

I am stuck here, and I am not sure what I am doing wrong. Help?

Re: Error while reading CSV File

Posted: 09 Jun 2023, 12:59
by coppelia
Hello,

please post the scene and csv file, so that we can try this.

Cheers

Re: Error while reading CSV File

Posted: 09 Jun 2023, 13:31
by suanumolu
Hi, How do I do this?

Re: Error while reading CSV File

Posted: 12 Jun 2023, 08:55
by coppelia
you can post a link to your dropbox or similar cloud hosted file.

Cheers

Re: Error while reading CSV File

Posted: 16 Jun 2023, 16:29
by joe.campbell.ads
Hi, here is the link to a Dropbox folder containing the relevant files

https://www.dropbox.com/sh/l9z8engd8hp3 ... GJyta?dl=0

Scene4_youBot_csv.ttt is the relevant scene, and Scene4_example.csv is the relevant csv files

Re: Error while reading CSV File

Posted: 19 Jun 2023, 07:20
by coppelia
I do not have any problem with the scene and CSV files you provided: no error message. Make sure to run the latest CoppeliaSim.

Additionally, keep in mind that the files you provided did not originate from us, and we do not know what purpose/application they were made for.

Cheers