Error while reading CSV File

Typically: "How do I... ", "How can I... " questions
Post Reply
suanumolu
Posts: 2
Joined: 09 Jun 2023, 08:30

Error while reading CSV File

Post 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?

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Error while reading CSV File

Post by coppelia »

Hello,

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

Cheers

suanumolu
Posts: 2
Joined: 09 Jun 2023, 08:30

Re: Error while reading CSV File

Post by suanumolu »

Hi, How do I do this?

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Error while reading CSV File

Post by coppelia »

you can post a link to your dropbox or similar cloud hosted file.

Cheers

joe.campbell.ads
Posts: 1
Joined: 16 Jun 2023, 14:21

Re: Error while reading CSV File

Post 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

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Error while reading CSV File

Post 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

Post Reply