It is not needed.Beiguagua wrote: ↑27 Feb 2023, 12:05 you can download cppzmp frrom link: https://github.com/zeromq/cppzmq, then cmake it, you can get cppzmq_DIR
Search found 1004 matches
- 27 Feb 2023, 15:37
- Forum: General questions
- Topic: CMake Warning at build/cppzmq/examples/CMakeLists.txt:13
- Replies: 4
- Views: 1506
Re: CMake Warning at build/cppzmq/examples/CMakeLists.txt:13
- 27 Feb 2023, 15:35
- Forum: General questions
- Topic: Use c++ control conveyor's velocity sim.writeCustomTableData
- Replies: 9
- Views: 830
Re: Use c++ control conveyor's velocity
sim.writeCustomTableData(conveyor_handle, "__ctrl__", "{ vel = 0.0 }"); Third argument is not correct. See the reference of sim.writeCustomTableData: a table (map-like) object is expected. In C++, you can pass a json object constructed via an initializer-list (see here for more ...
- 27 Feb 2023, 11:53
- Forum: General questions
- Topic: CMake Warning at build/cppzmq/examples/CMakeLists.txt:13
- Replies: 4
- Views: 1506
Re: CMake Warning at build/cppzmq/examples/CMakeLists.txt:13
Is that preventing you from building the C++ zmqRemoteApi client?
You can add cmake option
You can add cmake option
-DCPPZMQ_BUILD_TESTS=OFF
to disable those cppzmq examples from being built.- 27 Feb 2023, 11:21
- Forum: General questions
- Topic: Simulate suction cups to grab objects
- Replies: 1
- Views: 310
Re: Simulate suction cups to grab objects
To rigidly attach a dynamic object to another, you need a force sensor inbetween.
There is a model for a suction cup in models/component/grippers/suction pad.ttm (which also requires a force sensor as parent).
There is a model for a suction cup in models/component/grippers/suction pad.ttm (which also requires a force sensor as parent).
- 22 Feb 2023, 16:25
- Forum: General questions
- Topic: expected delay of the ZMQ Remote API
- Replies: 7
- Views: 3765
Re: expected delay of the ZMQ Remote API
Just to clarify one thing: the ZMQ remote API server can process as many messages as there are available* on the socket queue, not just one. It really depends on how the client operates. Certainly, for your example: sim.setObjectPosition(handle,sim.handle_world,sim.getObjectPosition(handle,sim.handl...
- 20 Feb 2023, 09:45
- Forum: General questions
- Topic: Coverting URDF to GLTF - joints
- Replies: 1
- Views: 317
Re: Coverting URDF to GLTF - joints
Hi,
the glTF data only contains 3D information about meshes and recorded animation if any.
Information about joints is not part of the current (2.0) glTF standard.
the glTF data only contains 3D information about meshes and recorded animation if any.
Information about joints is not part of the current (2.0) glTF standard.
- 13 Feb 2023, 16:23
- Forum: General questions
- Topic: Is it an error about mass calculation of cylinder ?
- Replies: 2
- Views: 194
Re: Is it an error about mass calculation of cylinder ?
You are not setting radius, but diameter (bounding-box size) of 1m. The radius is half of that, i.e. 0.5.
Volume is \(V=\pi r^2 h = \frac{\pi}{4}\), hence mass is correct.
Volume is \(V=\pi r^2 h = \frac{\pi}{4}\), hence mass is correct.
- 13 Feb 2023, 16:16
- Forum: General questions
- Topic: Is it possible to use this 'sim' object as an argument in a function defined in another script?
- Replies: 2
- Views: 355
Re: Is it possible to use this 'sim' object as an argument in a function defined in another script?
Yes you can pass the
If you declare it as
sim
variable as a function parameter. What error do you get?If you declare it as
global
I think that's even more convenient, as you don't need to pass it around in all function calls. That should at least work within the same module.- 07 Feb 2023, 15:07
- Forum: General questions
- Topic: Ros2 Humble on Docker and CoppeliaSim 4.4.0
- Replies: 16
- Views: 2257
- 07 Feb 2023, 14:01
- Forum: General questions
- Topic: Ros2 Humble on Docker and CoppeliaSim 4.4.0
- Replies: 16
- Views: 2257
Re: Ros2 Humble on Docker and CoppeliaSim 4.4.0
This is the output for 'ldd libsimExtROS2Interface.so. Every lib seems to be satisfied: linux-vdso.so.1 (0x00007ffef03ac000) libstd_srvs__rosidl_typesupport_cpp.so => /opt/ros/humble/lib/libstd_srvs__rosidl_typesupport_cpp.so (0x000014a7a7c0e000) libexample_interfaces__rosidl_typesupport_cpp.so => ...