Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Run C++ Code in RoboDk API for C++

#1
Hi,
I am currently working with a Kuka KR3 R540, with the KR CR 4 compact. I got it set up so far as to send PTP Movements from my Laptop to the Kuka, so there is a working connection. To integrate the Kuka into a existing system, we need it running on C++. But I am not able to get it set up for running C++ code.
I followed the instruction closely, but maybe I am missing out something. 
So how do I insert C++ code into the RoboDK station ? Or how to send C++ code via RoboDK to the Kuka? 

Thanks in advance.


By the way, thanks for the awesome documentation !!

Edit: I also failed to find the "RoboDK-API-Cpp-Sample.pro" as stated in the RoboDK API for C++ Dokumentation ...
#2
I recommend you to take a look at the C++ section of the RoboDK API GitHub repository:
https://github.com/RoboDK/RoboDK-API/tre...er/C%2B%2B

You'll find an example in C++. This example requires using Qt.

You can also use the RoboDK API .Net version (NuGet Package) and integrate it in Microsoft Visual Studio for C++ without Qt dependencies:
https://www.nuget.org/packages/RoboDkApi/
#3
Hi, thanks for your reply. I already read the documentation on github, i guess I already read anything in the internet about c++ and RoboDK...
Well, I still can't get it running. Do you think it would be possible to make a Tutorial on youtube like for the other programming languages ? 
Or just a step by step manual on how to get e.g. the hexagon example running?

And could you tell me where to finde the "RoboDK-API-Cpp-Sample.pro" ?

Have a great weekend. Many thanks !!
#4
Okay nevermind, I found what I was searching for and got it all running over the weekend. Thanks for your help!
#5
(10-19-2019, 08:33 AM)heislersakul Wrote: Hi, thanks for your reply. I already read the documentation on github, i guess I already read anything in the internet about c++ and RoboDK...
Well, I still can't get it running. Do you think it would be possible to make a Tutorial on youtube like for the other programming languages ? 
Or just a step by step manual on how to get e.g. the hexagon example running?

And could you tell me where to finde the "RoboDK-API-Cpp-Sample.pro" ?

Have a great weekend. Many thanks !!

(10-21-2019, 07:14 AM)heislersakul Wrote: Okay nevermind, I found what I was searching for and got it all running over the weekend. Thanks for your help!

Hi, i have ran into the same issue could you please provide me with your solution.Thank you in advance
#6
What issues are you having?
#7
(09-17-2024, 01:01 PM)Albert Wrote: What issues are you having?

Thanks for quick reply i got the example running with qt creator but is it possible to run it with visual studio.If so what do i have to do?. As it doesn't seems to connect although i have added all the dependencies. A detailed explanation will be well appreciated. 

Thanks.
#8
You should be able to open the PRO file with Qt Creator and then run the sample project.

We also have an example using Visual Studio if you use the C API (not C++).
  




Users browsing this thread:
1 Guest(s)