Search found 1016 matches
- 10 Apr 2024, 16:45
- Forum: General questions
- Topic: How to Import a URDF file
- Replies: 5
- Views: 129
Re: How to Import a URDF file
It is really transparent (opacity = 0) or it is in a hidden layer?
- 10 Apr 2024, 09:04
- Forum: General questions
- Topic: How can I limit the working space of the robot?
- Replies: 1
- Views: 82
Re: How can I limit the working space of the robot?
There is an option to avoid joint limits in simIK.setGroupFlags: simIK.group_avoidlimits : joint limits are actively avoided A more customizable approach to drive the robot configuration towards "better" poses could be of introducing a secondary task, e.g. to attract the elbow up, without ...
- 10 Apr 2024, 08:56
- Forum: General questions
- Topic: Rotate an object from API
- Replies: 5
- Views: 139
Re: Rotate an object from API
eulerAngles = sim.getObjectOrientation(shapeHandle, sim.handle_world) eulerAngles[3] = eulerAngles[3] + amount sim.setObjectOrientation(shapeHandle, eulerAngles, sim.handle_world) Notes: sim.handle_world is the default, so it is not required to specify it; objects rotate around their origin. Arbitr...
- 08 Apr 2024, 10:25
- Forum: General questions
- Topic: Java ZMQ Remote API
- Replies: 14
- Views: 250
Re: Java ZMQ Remote API
Make sure to use the latest version of CoppeliaSim. You are using an old version. In the latest version of Example.java there are more examples. About your other question: Object[] is an array of Object which is the superclass of all types, indicating a no better specified type. Object[] is used as ...
- 08 Apr 2024, 09:59
- Forum: General questions
- Topic: Java ZMQ Remote API
- Replies: 14
- Views: 250
Re: Java ZMQ Remote API
ConfigCallBack callback = (configs1, vel1, accel1, sim) -> { int i = 0; for (int joint : joints) { if (sim.isDynamicallyEnabled(joint)) { sim.setJointTargetPosition(joint, configs1.get(i)); } else { sim.setJointPosition(joint, configs1.get(i)); } i++; } }; this.getClient().getSim().moveToConfig( -1...
- 08 Apr 2024, 09:53
- Forum: General questions
- Topic: Java ZMQ Remote API
- Replies: 14
- Views: 250
Re: Java ZMQ Remote API
The point is that
just wanted to make sure wether you understand the Java ZMQ remote API client interface...
sim
, simT
and the result of RemoteAPIClient.getSim()
are all the same thing which you are fetching three times.just wanted to make sure wether you understand the Java ZMQ remote API client interface...
- 08 Apr 2024, 08:19
- Forum: General questions
- Topic: Java ZMQ Remote API
- Replies: 14
- Views: 250
- 08 Apr 2024, 08:16
- Forum: General questions
- Topic: DH parameters
- Replies: 2
- Views: 78
Re: DH parameters
The concept of robot configuration aims to conveniently represent a robot as a vector of joint positions. If the robot geometry is the same (same DH params, same joints ranges & orientation), the same robot configuration vector will describe the same pose both in CoppeliaSim and in Robotics Tool...
- 08 Apr 2024, 08:11
- Forum: General questions
- Topic: How to input the data of RGB image gotten by Coppeliasim into Matlab
- Replies: 1
- Views: 76
Re: How to input the data of RGB image gotten by Coppeliasim into Matlab
From zmqRemoteApi/clients/matlab/synchronousImageTransmission.m:
Code: Select all
[img, resX, resY] = sim.getVisionSensorCharImage(visionSensorHandle); % display image in MATLAB: imshow(flip(permute(reshape(img, 3, resY, resX), [3 2 1]), 1));
- 08 Apr 2024, 08:05
- Forum: General questions
- Topic: How to create custom ui
- Replies: 4
- Views: 124
Re: How to create custom ui
That's not correct.
You have to add
You have to add
simUI = require 'simUI'
instead. Plugins have to be loaded explicitly (implicit loading is only a backwards compatibility feature).