-
CoppeliaSim simulation software
$^{*}$ -
Eigen
$^{*}$ - (optional) Visual Studio
$^{*}$
-
Set the environment variables "EIGEN" and "VREPx64_coppelia" with the corresponding paths in your system (e.g., EIGEN="C:\Users\[username]\Software\eigen-3.3.9\eigen-3.3.9" and VREPx64_coppelia="C:\Program Files\CoppeliaRobotics\CoppeliaSimEdu")
-
If you use Visual Studio, open the file dvrkDynModelLib.sln in the folder dvrkDynModelLib and build the solution with the following configuration: x64-Release
-
Otherwise, build the library with the dynamic model of the PSM and the test executable with CMake through the provided CMakeLists
-
Open one of the CoppeliaSim scene located in scenes
-
Run the executable dvrkDynModelLib_test. The simulation in CoppeliaSim will start automatically
-
Select the trajectory to be executed by the arm on the right. Please note that if you want to execute the offline joint trajectories in (option 4), you must paste the .csv file located in data to the path of your executable. In addition, set the simulation time step in CoppeliaSim to dt=5.0ms to comply with the sample time of the data logged in the .csv file.