Error while reading CSV File
Posted: 09 Jun 2023, 08:51
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?
[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?