Skip to content

A fix over the DH of Franka Emika ttt model in CoppeliaSim. Alongside with a test-suite and explanation between matlab robot toolbox, dqrobotics and CoppeliaSim (V-REP) interface.

License

Notifications You must be signed in to change notification settings

hwyao/CoppeliaSim_Franka_ModelFix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoppeliaSim_Franka_ModelFix

This repository provides a fix for Franka Emika model in CoppeliaSim. It also includes a test suite to ensure consistency between Matlab Robotics System toolbox, dqrobotics toolbox, CoppeliaSim(V-REP) interface provided by dqrobotics, and the official CoppeliaSim API interface.

For more details about the modifications made to the model and the potential problems that could arise if the model is not repaired, please refer to the Modification Details.
Additionally, there is a detailed explanation of key points to consider when using the API in the Usage Analysis.

Quick Start

Navigate to "/model" folder to look for the .ttt scene or .ttm model and pick the one you need.
Navigate to "/docs" folder for further information over all these stuffs.
Navigate to "/src/robots" folder to see classes that implement the same reaction with different functions.

Test suite usage

  1. Requirements:
  1. clone the repository.
git clone https://github.com/hwyao/CoppeliaSim_Franka_ModelFix
  1. Copy paste the Coppelia remote API for Matlab in the repository folder.

remoteApi.* could be found in:
$coppeliaFolder/programming/legacyRemoteApi/remoteApiBindings/lib/lib/$yourSystem/

remApi.m and remApiProto.m could be found in:
$coppeliaFolder/programming/legacyRemoteApi/remoteApiBindings/matlab/matlab/

  1. Start the CoppeliaSim and load the fixed .ttt scene.

  2. Prepare the environment folder.

prepareEnvironment
  1. Run the test.
    Use the GUI with Test Browser (strongly suggested).
    Or run:
run(testsuite("testFKM"))  % run the full fkm test

Or edit and run:

testFilter  % run the filtered test. You can select the part you want.

Tips:

  • If you want to use the raw interface instead of the one provided by dqrobotics, you may meet:
ERROR: No public property 'vrep' for class 'DQ_VrepInterface'.

You need to set the vrep property of the DQ_VrepInterface class to public. This modification will also be useful for your other research.

edit DQ_VrepInterface % open the file DQ_VrepInterface.m of dqrobotics toolbox
% line 81: (Access = private) change to (Access = public)

Author's word

If you find this repository helpful, please consider starring it and sharing it with your colleagues working on robotics. This would help us reach and assist more people.

We also encourage further discussions, contributions, and integrations. Your input is highly valued and welcome.

About

A fix over the DH of Franka Emika ttt model in CoppeliaSim. Alongside with a test-suite and explanation between matlab robot toolbox, dqrobotics and CoppeliaSim (V-REP) interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages