Replies: 3 comments
-
Hi @Jishnu8, could you explain your objective from a high level? It looks like you are describing the attempted solution but would be good to understand the context, see: https://xyproblem.info/ I'm not sure I understand "streaming joint positions from a C++ file". Usually a C++ code file would contain text in the form of programming code that has to be compiled. Not sure if you want a text file format used to transfer data, such as json. |
Beta Was this translation helpful? Give feedback.
-
Hi @visose, really sorry. I should have given a high-level overview of the problem first. |
Beta Was this translation helpful? Give feedback.
-
I think you said the same thing 😆. It would be interesting to know what the purpose of this C++ program is, why you need to visualize them in Grasshopper if you are creating these robot poses in something unrelated to Rhino. In any case, the solution you are proposing regarding feeding data into Grasshopper from an outside source seems unrelated to the Robots plugin. You will have more luck finding for info about this if you search on the Grasshopper forums, without including the robots aspect. |
Beta Was this translation helpful? Give feedback.
-
Currently, I have managed to load a Kuka robot (AA - KR30) using the Robots plugin and moved it to a particular fixed joint position (or multiple joint positions) in the simulation using Grasshopper.
My goal however is to continuously stream joint positions (ideally from a C++ file) to a Kuka robot (AA - KR30) which is loaded in grasshopper using the Robots plugin. Similarly, I would also like to send the current joint positions of the Kuka robot in the simulation (in Rhino) to this same C++ file. The idea I had to accomplish the following task is to create a UPD client/server in C++ which could somehow continuously update the joint positions the Kuka robot has to move to in the Grasshopper simulation and also get the current joint positions. But I have no clue how to get started with this.
Could anyone help me with this or suggest a way to accomplish my goal?
Beta Was this translation helpful? Give feedback.
All reactions