Issues with CSV file

Typically: "How do I... ", "How can I... " questions
Post Reply
alpha_particle28
Posts: 2
Joined: 07 Jun 2024, 14:22

Issues with CSV file

Post by alpha_particle28 »

Hi, I'm new to both robotics and Coppeliasim and have taken the course Modern Robotics on Coursera. As a part of course 2, we are required to simulate the motion of UR5 using inverse kinematics. The custom scene is already provided, and we simply need to run the CSV file to simulate the motion of the manipulator.
This is the error that is being displayed. I have entered the correct path for the CSV file.
I'm uploading the drive folder, which has the error message, scene, and csv file.
Please help me out.
https://drive.google.com/drive/folders/ ... sp=sharing
fferri
Posts: 1334
Joined: 09 Sep 2013, 19:28

Re: Issues with CSV file

Post by fferri »

Use the full path to the CSV file.

If the file is in the same directory as the scene file, you can do:

Code: Select all

local fullPath = sim.getStringParam(sim.stringparam_scene_path) .. '/file.csv'
alpha_particle28
Posts: 2
Joined: 07 Jun 2024, 14:22

Re: Issues with CSV file

Post by alpha_particle28 »

Thanks, it kinda worked now. But some issues still persist. I have uploaded 2 more screenshots in the drive. So, the result bar does show that the file exists, but the manipulator does not move at all. What changes do I need to make henceforth, in order to make sure it moves to the desired location according to my python code?
Post Reply