I have been having issues with working with the remote apis, ZeroMQ and B0remote api. For the latter, it used to work some weeks ago, but I can't say for sure what changed during the time it started giving errors. For ZeroMQ, it just doesn't work.
I get the following error on my zeromq client side: with code from coppeliarobotics here
as well as this when I runsim = client.getobject('sim')
AttributeError: 'RemoteAPIClient' object has no attribute 'getobject'
Code: Select all
cmake ..
The other areas of concern are framed green in the snapshot here: error snapshot.-- CoppeliaSim: LIBPLUGIN_DIR: /home/jubril/Downloads/CoppeliaSim/programming/libPlugin.
-- CoppeliaSim: COPPELIASIM_ROOT_DIR: /home/jubril/Downloads/CoppeliaSim.
-- Found CoppeliaSim installation at /home/jubril/Downloads/CoppeliaSim.
-- Checking CoppeliaSim header version...
-- CoppeliaSim headers version 4.2.0 rev6
CMake Error at /home/jubril/Downloads/CoppeliaSim/programming/libPlugin/cmake/FindCoppeliaSim.cmake:17 (message):
Found CoppeliaSim version 4.2.0.6 but 4.3.0.0 required.
Call Stack (most recent call first):
/home/jubril/Downloads/CoppeliaSim/programming/libPlugin/cmake/FindCoppeliaSim.cmake:136 (coppeliasim_find_error)
CMakeLists.txt:15 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/jubril/Downloads/CoppeliaSim/programming/zmqRemoteApi/build/CMakeFiles/CMakeOutput.log".
Not that I have cloned ZeroMQ remote into CoppeliaSim/programming, added the compatibility add-on to CoppeliaSim/ and cbor.lua and simZMQ.lua into CoppeliaSim/lua.
These are the System details:
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
CoppeliaSim Edu, Version 4.2.0. (rev. 6) 64bit (serialization version 23) (Qt Version 5.12.5, GCC)