Search found 13 matches
- 25 Apr 2024, 09:09
- Forum: General questions
- Topic: Vision sensor object masks
- Replies: 4
- Views: 173
Re: Vision sensor object masks
The second solution is great. thanks. Also, how can I know which color code (RGB) is assigned to which object handle? I need this to find the mask of the object.
- 21 Apr 2024, 11:02
- Forum: General questions
- Topic: Vision sensor object masks
- Replies: 4
- Views: 173
Vision sensor object masks
Hello, Does Coppeliasim provide any method to get the mask of a specific shape in a vision sensor? Basically, the objective would be to retrieve the pixels in a vision sensor that are associated with a particular object, i.e. where the object is present in the pixel coordinate of the vision sensor. ...
- 21 Apr 2024, 09:18
- Forum: General questions
- Topic: Rotate an object from API
- Replies: 5
- Views: 349
- 11 Apr 2024, 11:26
- Forum: General questions
- Topic: Rotate an object from API
- Replies: 5
- Views: 349
Re: Rotate an object from API
Thank you. I am familiar with sim.SetObjectOrientation functionality. However, the alpha, beta, omega values that you wish to pass to the function do not work as you defined it, since the object's frame is oriented relative to the world frame, and it's not a general answer to this problem. However, ...
- 09 Apr 2024, 18:06
- Forum: General questions
- Topic: Rotate an object from API
- Replies: 5
- Views: 349
Rotate an object from API
Hello,
I want to rotate a shape (a mesh) from API (Zmq), just like the option provided by the Rotation tab in the Orientation dialogue in Coppeliasim. So I want to simply rotate the object around the z-axis for some value ( z-axis of world frame, but not around the world as the center ).
Cheers,
I want to rotate a shape (a mesh) from API (Zmq), just like the option provided by the Rotation tab in the Orientation dialogue in Coppeliasim. So I want to simply rotate the object around the z-axis for some value ( z-axis of world frame, but not around the world as the center ).
Cheers,
- 23 Jan 2023, 00:07
- Forum: General questions
- Topic: Fixing gripper movement
- Replies: 1
- Views: 474
Fixing gripper movement
Hello Coppelia, I am using ROBOTIQ-85 to do a grasping task. When I close the gripper, the fingers move forward while getting closer to each other. I don't want to have this forward movement and I want the fingers to close without this. I believe there should be an easy way to fix this dynamically b...
- 03 Dec 2022, 19:23
- Forum: General questions
- Topic: relationship of perspective and orthogonal sensors
- Replies: 4
- Views: 729
Re: relationship of perspective and orthogonal sensors
Hello Coppeliasim,
I'm sorry for the inconvenience but I really can't understand the d, xAngle, and yAngle parameters in the answer you provided for me. Could you please explain them?
Thanks
I'm sorry for the inconvenience but I really can't understand the d, xAngle, and yAngle parameters in the answer you provided for me. Could you please explain them?
Thanks
- 18 Nov 2022, 12:19
- Forum: General questions
- Topic: gripper and a wall
- Replies: 1
- Views: 220
Re: gripper and a wall
Fixed it. I'm writing here for other people visiting this page.
Seemingle the dynamical properties of an object is associated with its bounding box, not the visible part. So I had to set the bounding box dimensions.
Seemingle the dynamical properties of an object is associated with its bounding box, not the visible part. So I had to set the bounding box dimensions.
- 18 Nov 2022, 12:13
- Forum: General questions
- Topic: relationship of perspective and orthogonal sensors
- Replies: 4
- Views: 729
Re: relationship of perspective and orthogonal sensors
I see. So this is it right?
could you please elaborate on parameters ?
thanks
Code: Select all
coord[1]=d*math.tan(xAngle*0.5)*(0.5-(x/(resX-1)))/0.5
coord[2]=d*math.tan(yAngle*0.5)*((y/(resY-1))-0.5)/0.5
Code: Select all
xAngle, yAngle, resX, resY
thanks
- 18 Nov 2022, 09:24
- Forum: General questions
- Topic: gripper and a wall
- Replies: 1
- Views: 220
gripper and a wall
Hello,
A gripper is supposed to grip a wall, but it seems like something is restricting it from completely doing so, and it stops midway and I can't figure out what it is. Please see the picture below :
https://drive.google.com/file/d/1LEOnPE ... share_link
Thanks
A gripper is supposed to grip a wall, but it seems like something is restricting it from completely doing so, and it stops midway and I can't figure out what it is. Please see the picture below :
https://drive.google.com/file/d/1LEOnPE ... share_link
Thanks