-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connecting to two different IP (2 UR Robots) #4
Comments
IEnumerator set_FlipflopSwitch2(int which)
|
at the moment, I am just switching on and off the state for Arm A and Arm B. and, this results with A copying B, and A goes to the right pose for A, and then copy B again, afterwards. |
Hi Zul, sorry for the late response, but I'm really busy. The problem is that the program "ur_data_processing.cs" contains global variables for control, data collection and also for user interface control. My advice is that you need to create another global variable to control and collect data from robot 2. It is also necessary to change the programs for collecting data from the robot joints "ur3_link{1 .. 6}.cs". Because inside the programs there is a global variable from "ur_data_processing.cs". I'm working on a new update so I'll probably add a feature to connect multiple robots at the same time. Thank you for your feedback. I hope everything is clear, if not, please email me again. Best regards, |
Hello Roman Parak, I am having a similar issue when connecting two robots using the ur_data_processing and main_ui_control. I am connecting to the dashboard server to play a program on the robots control board. When I connect to one of the robots using different global variables for the two robots, I receive no data from the joint positions (only receiving the first collected data then a WSACancelBlockingCall) `void ConnectToIP(string ipAddress)
`public class UR_Control_Dashboard : MonoBehaviour
}` |
Hi Roman Parak,
I am tring to connect to two different UR16 - on two different IPs
if I use the same ur_data_processing(https://github.com/rparak/Unity3D_Robotics_UR/blob/main/Universal_Robots_Unity_App/Assets/Scripts/UR3/ur_data_processing.cs) then, the unity arm A will follow the actual Robot Arm A, but Unity Arm B will do the same as well, before it goes to the actual Robot Arm B's pose. And, this repeats over time, sometimes A copy B, and sometime B copy A.
How do I make sure that unity amr A copy actual Robot Arm A only, and the same for Arm B?
Thanks,
Kind regards,
Zul
The text was updated successfully, but these errors were encountered: