A DQ Robotics interface based on the ZeroMQ remote API to connect with CoppeliaSim.
- Install the DQ Robotics library.
- Add to the path the DQ_CoppeliaSimInterface class.
- Add to the path the ZMQ client for Matlab.
- Open CoppeliaSim before running any example.
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.