Skip to content

yuya-0411/dynamic-dvrk-coppeliasim-simulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamic-dvrk-coppeliasim-simulator

Requirements

Build

  • 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

$^{*}$ Please note that, at the current stage, the simulator has been validated on systems with the following configurations: CoppeliaSim 4.2.0, Eigen 3.3.9, Visual Studio 2019 (Platform Toolset v142). It is possible that build errors may arise with newer versions of the provided list of requirements. For instance, versions of CoppeliaSim >= 4.2.0 may have a different path for storing the remote API files, required to build the simulator test program.

Usage and Testing

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 45.9%
  • MATLAB 24.2%
  • C++ 20.9%
  • Lua 8.6%
  • CMake 0.4%