ur10_robot_arm:drawing_with_the_ur10_v2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ur10_robot_arm:drawing_with_the_ur10_v2 [2023/02/08 04:31] – [Set-Up] formlabur10_robot_arm:drawing_with_the_ur10_v2 [2023/02/08 07:10] (current) – [Connect the computer to the robot] formlab
Line 12: Line 12:
  
 ==== Set-Up ==== ==== Set-Up ====
-  * Install the software + 
-    * Make sure Rhino and Grasshopper 7 are installed +=== Install the software === 
-    * Install the [[https://www.food4rhino.com/en/app/robots|Robots plugin]]: + 
-      * 'HD/Users/username/Library/Application Support/McNeel/Rhinoceros/packages/7.0/Robots/Robots.dll' +  * Make sure Rhino and Grasshopper 7 are installed 
-    * Download the [[https://github.com/visose/robots/tree/libraries|Robot library]] and install locally +  * Install the [[https://www.food4rhino.com/en/app/robots|Robots plugin]]: 
-      * Place at least one pair of XML & 3DM files inside a folder named 'Robots' in the 'Documents' folder: +    ''HD/Users/username/Library/Application Support/McNeel/Rhinoceros/packages/7.0/Robots/Robots.dll'
-      * 'HD/Users/username/Robots/' +  * Download the [[https://github.com/visose/robots/tree/libraries|Robot library]] and install locally. There's an online library as well, but it seems like the ''KU Leuven'' file is not in that list. 
-  * **Open Grasshopper file** +    * Place at least one pair of XML & 3DM files inside a folder named ''Robots'' in the ''Documents'' folder: 
-    * Researchers > Unfold > ''UR10 plotter 02.gh''.  +    ''HD/Users/username/Robots/'
-    * Rhino starts up and automatically loads the connected file ''UR10 plotter 02.3dm''+ 
-    In the Grasshopper file, the logic is defined +=== Open Grasshopper file === 
-    The Rhino file is used to load and position vector images, so Grasshopper can use it. + 
-  * **Turn on the robot** +  * Researchers > Unfold > ''UR10 plotter 02.gh''.  
-  * **Define the TCP** +  * Rhino starts up and automatically loads the connected file ''UR10 plotter 02.3dm''
-    * Use the wizard on the teaching pendant + 
-    * Set the current TCP as default +In the Grasshopper file, the logic is defined. \\  
-    * Save the settings in the installation tab+The Rhino file is used to load and position vector images, so Grasshopper can use it. 
-  * **Connect the computer to the robot** + 
-    * Use an ethernet cable going over a switch. Connecting directly to the robot doesn't work. +=== Connect the robot to Grasshopper === 
-    * Use the MiniDisplay to Ethernet adapter that is labeled Formlab. I had another one (the same model) fail, which is annoying to debug. + 
-  * **Get the current pose into Grasshopper** +Turn on the robot
-    * On the top of the sketch, switch to ''Real Robot'' + 
-    * In the section ''Get data from real robot'', enable geometry display. +== Connect the computer to the robot == 
-    * Press ''Get Robot Position''. You should see a 3D rendering of the physical position of the robot in Rhino. + 
-      * Verify if it's the same pose as the real robot. +  * Use an ethernet cable going over a switch. Connecting directly to the robot doesn't work. 
-    * This defines the **home position** of the robot. +  **Don't connect to the LAN of KASK.** The robot won't be able to connect to the network. Use a separate switch or remove all the connections except the one going to the robot and the computer. 
-  * **Define the work frame** +  * If you use a laptop: Use the MiniDisplay to Ethernet adapter that is labeled Formlab. I had another one fail (the same model), which is annoying to debug. 
-    * Touch the TCP of the robot arm on 3 points of the work frame: left bottom, right bottom, right top. + 
-    * After every position, in Grasshopper, click on ''Get Point'' in the 'Construct Frame With Robot' section. +  * IP address: 192.168.185.99 
-    * When done, two grey area's show up in Rhino. +  Subnet masker: 0.0.0.0 
-      * The light grey area is the place where the drawing will happen +  Default Gateway: 0.0.0.0 
-      * The dark blue area is the place to put the vector image. Look at the numbers (0, 1, 2) for orientation. +  * Preferred DNS Server: 0.0.0.0 
-  * **Load vector file** +  * Alternative DNS Server: 0.0.0.0 
-    * in Rhino, import a vector file (SVG for example) + 
-    * Position it in the dark blue rectangle. Look at the numbers (0, 1, 2) for orientation. + 
-    * In Grasshopper, on the left of the plotting section select the curve-object under 'vector image'.  +== Define the TCP == 
-      * Right-click on it and select ''set curve'' or ''set multiple curves'' and select them in Rhino. Then click OK.+ 
 +  * Use the wizard on the teaching pendant 
 +  * Set the current TCP as default 
 +  * Save the settings in the installation tab. 
 +  
 + 
 +== Get the current pose into Grasshopper == 
 + 
 +  * On the top of the sketch, switch to ''Real Robot'' 
 +  * In the section ''Get data from real robot'', enable geometry display. 
 +  * Press ''Get Robot Position''. You should see a 3D rendering of the physical position of the robot in Rhino. 
 +    * Verify if it's the same pose as the real robot. 
 +  * This defines the **home position** of the robot. 
 + 
 +== Define the work frame == 
 + 
 +  * Touch the TCP of the robot arm on 3 points of the work frame: left bottom, right bottom, right top. 
 +  * After every position, in Grasshopper, click on ''Get Point'' in the 'Construct Frame With Robot' section. 
 +  * When done, two grey area's show up in Rhino. 
 +    * The light grey area is the place where the drawing will happen 
 +    * The dark blue area is the place to put the vector image. Look at the numbers (0, 1, 2) for orientation. 
 + 
 +== Load vector file == 
 + 
 +  * in Rhino, import a vector file (SVG for example) 
 +  * Position it in the dark blue rectangle. Look at the numbers (0, 1, 2) for orientation. 
 +  * In Grasshopper, on the left of the plotting section select the curve-object under 'vector image'.  
 +    * Right-click on it and select ''set curve'' or ''set multiple curves'' and select them in Rhino. Then click OK. 
   * Use the Sim time dial to simulate the program.   * Use the Sim time dial to simulate the program.
-  * **Send the program to the robot** + 
-    * Click ''Upload'' in the 'send to robot' section. +==== Draw with the Robot ====  
-    * The first time you might need to click 2x + 
-    * It is successful when a popup appears on the teaching pendant +=== Send the program to the robot === 
-  * **Run the program on the robot** + 
-    * Before the popup appears, go to the ''program'' tab and set the speed to 50%. +  * Click ''Upload'' in the 'send to robot' section. 
-    * Click ''run'' on the popup and be ready to lower the speed or press the emergency stop button. +  * The first time you might need to click 2x 
-    * The program can also be stopped by clicking on the stop-icon on the teaching pendant. +  * It is successful when a popup appears on the teaching pendant 
-    * The robot will move from it's current position to the home position, and from there to the targets defined in the program.+  
 +=== Run the program on the robot === 
 +  * Before the popup appears, go to the ''program'' tab and set the speed to 50%. 
 +  * Click ''run'' on the popup and be ready to lower the speed or press the emergency stop button. 
 +  * The program can also be stopped by clicking on the stop-icon on the teaching pendant. 
 +  * The robot will move from it's current position to the home position, and from there to the targets defined in the program.
  
  
  • ur10_robot_arm/drawing_with_the_ur10_v2.1675859517.txt.gz
  • Last modified: 2023/02/08 04:31
  • by formlab