Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ur10_robot_arm:drawing_with_the_ur10 [2021/03/02 07:13] – [Define the real world position of the canvas] formlab | ur10_robot_arm:drawing_with_the_ur10 [2021/03/03 01:15] (current) – [Troubleshooting] formlab | ||
---|---|---|---|
Line 34: | Line 34: | ||
- Right click the python script and choose '' | - Right click the python script and choose '' | ||
- | - Change the variable '' | + | - Change the variable '' |
- | - Change the variable '' | + | - Change the variable '' |
- Press ctrl + s to save the file and go back to RoboDK. //Keep in mind that this file is updated in RoboDK, but not in the file explorer. Save the changes to the file explorer if you want to keep them for the future.// | - Press ctrl + s to save the file and go back to RoboDK. //Keep in mind that this file is updated in RoboDK, but not in the file explorer. Save the changes to the file explorer if you want to keep them for the future.// | ||
Line 56: | Line 56: | ||
* P3 should be somewhere on the canvas to the right. | * P3 should be somewhere on the canvas to the right. | ||
- | //Tip: if you're using a spring-loaded pen holder, add a spacer to the spring, so the pen is retracted a little bit. Then almost touch the canvast with the pen when probing. | + | //Tip: if you're using a spring-loaded pen holder, add a spacer to the spring, so the pen is retracted a little bit. Then almost touch the canvast with the pen when probing. Remove the spacer before drawing. |
// | // | ||
- **Move the physical robot** to one of the 3 points | - **Move the physical robot** to one of the 3 points | ||
Line 82: | Line 82: | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | * **After 'Run Python script', | ||
+ | * Use the line <code python> RDK.ShowMessage(" | ||
+ | * To display variables, use this method: <code python> msg_str = " | ||
+ | * It might help to temporary load an older version of the python script, and loading the new one again after that. It sounds impossible, but it helped here before... | ||