Controlling roboclaws from a C++ Application
Posted: Thu Feb 14, 2019 7:21 am
Hello,
I am trying to control two 2x60A roboclaws in packet serial (direct USB connection to PC) through a C++ application (specifically, a Qt C++ application). The libraries provided for roboclaw are in C# and Python. I have spent some time reading up how to use a C# .dll in C++ (COM interop) but it seems like those solutions either wont work in Qt or I'm not smart enough to understand how to make them work. I also tried to find C++ roboclaw libraries to no avail.
My questions:
1. Are there any available C++ roboclaw libraries out there?
2. Has anyone had experience using C# .dll or Python classes within C++ (maybe even within Qt)?
3. Would anyone have any tips to point me in the right direction for using C# .dll or Python classes within C++?
It might be worth to mention that the end product of this project should be platform independent (windows/MAC) but getting it started in windows is still great.
Thanks!
I am trying to control two 2x60A roboclaws in packet serial (direct USB connection to PC) through a C++ application (specifically, a Qt C++ application). The libraries provided for roboclaw are in C# and Python. I have spent some time reading up how to use a C# .dll in C++ (COM interop) but it seems like those solutions either wont work in Qt or I'm not smart enough to understand how to make them work. I also tried to find C++ roboclaw libraries to no avail.
My questions:
1. Are there any available C++ roboclaw libraries out there?
2. Has anyone had experience using C# .dll or Python classes within C++ (maybe even within Qt)?
3. Would anyone have any tips to point me in the right direction for using C# .dll or Python classes within C++?
It might be worth to mention that the end product of this project should be platform independent (windows/MAC) but getting it started in windows is still great.
Thanks!