Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1 KB

File metadata and controls

33 lines (24 loc) · 1 KB

GitHub LicenseStatic Badge

matlab-interface-coppeliasim-zmq

A DQ Robotics interface based on the ZeroMQ remote API to connect with CoppeliaSim.

Instructions for developers

  1. Install the DQ Robotics library.
  2. Add to the path the DQ_CoppeliaSimInterface class.
  3. Add to the path the ZMQ client for Matlab.
  4. Open CoppeliaSim before running any example.

How to use

clear;
close all;
clc;

cs = DQ_CoppeliaSimInterfaceZMQ();

try
    cs.connect(); 
    cs.start_simulation();
    x = cs.get_object_pose("/Floor")
    cs.stop_simulation();
catch ME
    rethrow(ME)
end

Check more examples here.