Search found 12 matches

by NandanUmrikar
25 Apr 2024, 06:14
Forum: General questions
Topic: Visual servoing
Replies: 1
Views: 492

Visual servoing

I am working on a visual servoing application where I need to control a UR5 manipulator with an image jacobian calculated for the desired end position. Can anybody tell me how to proceed with this work? How do I get it done?
by NandanUmrikar
11 Apr 2024, 13:57
Forum: General questions
Topic: Adding external image in a scene.
Replies: 1
Views: 246

Adding external image in a scene.

I want to import external image in my scene so that the vision sensor can see the image and then I can work further on it. I tried adding a planar object and assigning texture of the image, but it gives problems in sizing. If the object is smaller, the image won't fit and if I try to change the imag...
by NandanUmrikar
22 Mar 2024, 04:51
Forum: General questions
Topic: getting depth value using vision sensor
Replies: 3
Views: 2526

Re: getting depth value using vision sensor

Hello, Make sure the vision sensor has the checkbox Ignore depth info (faster) unchecked... Cheers Already checked. Everything else works fine, but the depth value won't show on the console. I tried printing other values (you can see the commented out print(radius) command) which worked perfectly, ...
by NandanUmrikar
21 Mar 2024, 06:20
Forum: General questions
Topic: getting depth value using vision sensor
Replies: 3
Views: 2526

getting depth value using vision sensor

I'm using a vision sensor for an object follower application. I used the UR5 model from the ObjectTracking example directly into my scene, which works perfectly. I need to get the depth information foe an object in the scene. I changed the code accordingly and the simulation works fine but I'm not g...
by NandanUmrikar
20 Mar 2024, 05:30
Forum: General questions
Topic: Adding graph in in a scene
Replies: 1
Views: 2538

Adding graph in in a scene

I'm want to add a graph in my scene. When I try to add anything to the graph script (including the sample codes given in the manual: https://manual.coppeliarobotics.com/en/graphs.htm) and update the status, the console displays an error message as follows: [/Graph@customizationScript:error] 69: in s...
by NandanUmrikar
19 Mar 2024, 10:04
Forum: General questions
Topic: ObjectTracking bounding box
Replies: 1
Views: 901

ObjectTracking bounding box

In the ObjectTracking example in coppeliasim, the sensor script generates a bounding box around the identified object. How do I make the bounding box into a circle/ellipse? I need this change in order to use the circular shape in further detailing. Adding the sensor script (responsible for the bound...
by NandanUmrikar
18 Mar 2024, 11:08
Forum: General questions
Topic: path following object
Replies: 4
Views: 723

Re: path following object

Thank you for the link. It is working well now. In the objectTracking example, they have used a mobile robot as the target. I want to use this moving target instead of the mobile robot. I tried simply copying the UR5 model from the tutorial (along with the script and all) into my scene and running t...
by NandanUmrikar
18 Mar 2024, 06:10
Forum: General questions
Topic: path following object
Replies: 4
Views: 723

path following object

I need to generate a scene where a moving object is being tracked. For that purpose, I need to generate a path and make an object (mostly just a spherical object) follow the generated path. In older versions of coppeliasim, there was an option in the path properties where we could directly set the p...
by NandanUmrikar
15 Mar 2024, 05:51
Forum: General questions
Topic: Color detection using blobTo3dPosition sensor
Replies: 1
Views: 121

Color detection using blobTo3dPosition sensor

I am working on a project and i need to extract the RGB values of the blobs (I have 4 blobs, red, blue, green, and white) in the scene. Inside the blobTo3dPosition sensor script, I get the coordinates but not color information. Can I get a code to get the values and to print them in a tabular form? ...
by NandanUmrikar
12 Mar 2024, 05:57
Forum: General questions
Topic: vision sensor error
Replies: 4
Views: 187

Re: vision sensor error

Following is the complete code associated with the child script for the sensor. --lua sim=require'sim' simVision=require'simVision' function sysCall_init() sensor=sim.getObject('.') sphereContainer=sim.addDrawingObject(sim.drawing_spherepts,0.03,0,-1,9999,{1,0,1}) xAngle=sim.getObjectFloatParam(sens...