Comments (4)
@blackhorsewu
I could not find this functionality with the urx package but I was able to run this using a socket connection with the robot manually. Follow the below link for more reference
https://www.zacobria.com/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3/index.php/universal-robots-script-client-server-example/
Cheers!
from python-urx.
@blackhorsewu I could not find this functionality with the urx package but I was able to run this using a socket connection with the robot manually. Follow the below link for more reference https://www.zacobria.com/universal-robots-knowledge-base-tech-support-forum-hints-tips-cb2-cb3/index.php/universal-robots-script-client-server-example/ Cheers!
@ShanMallinathan Thank you very much for your reply. My problem is how can I read the result? It should be a Boolean, either True or False. How can this be sent back to my PC running python?
from python-urx.
@blackhorsewu
Store the boolean in a variable in the URScript and send it to the server (PC) using the socket_send_string command. receive it on your PC using recv(). I tried it in the simulator and it worked just fine.
from python-urx.
@blackhorsewu Store the boolean in a variable in the URScript and send it to the server (PC) using the socket_send_string command. receive it on your PC using recv(). I tried it in the simulator and it worked just fine.
@ShanMallinathan
Thank you very much and I will try it.
from python-urx.
Related Issues (20)
- Does the latest package support a Polyscope version higher than 5.1(for e-series)?
- Issue in getting the status of digital inputs and digital outputs. HOT 1
- How to kill the socket connection HOT 1
- movej <wait=True> not working HOT 2
- getting collections has no attribute Iterable HOT 1
- Some functions does not work without error HOT 1
- Problem of urx.urrobot.RobotException: Robot stopped HOT 2
- pip install urx (install error) HOT 2
- AttributeError: 'PoseVector' object has no attribute 'tolist' HOT 11
- What versions of URX and Math3D are needed to be compatible and avoid errors?
- Python3.11 Support HOT 1
- Robot Movement Error with Rotary Encoder
- Analog sensor issue
- Entering negative x, y, z values for move j results in TimeOut
- 'PoseVector' object is not iterable when using movel HOT 3
- Data packet timeout HOT 1
- Is urx compatible with all Universal Robots series robotic arms๏ผ
- (yiye) zp@zp-ros:~/catkin_ws$ rosrun motion_planing test.py Traceback (most recent call last): File "/home/zp/catkin_ws/devel/lib/motion_planing/test.py", line 15, in <module> exec(compile(fh.read(), python_script, 'exec'), context) File "/home/zp/catkin_ws/src/motion_planing/scripts/test.py", line 2, in <module> import urx ModuleNotFoundError: No module named 'urx'
- robot.set_csys(new_csys) won't set new coordinate system
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-urx.