Society of Robots - Robot Forum

Software => Software => Topic started by: TheSkyFall on March 28, 2013, 02:57:24 PM

Title: Send Commands to iClebo Kobuki robot
Post by: TheSkyFall on March 28, 2013, 02:57:24 PM
Hello everyone,

Actually, I'm new to robotics and any hardware related stuff. I got iClebo Kobuki robot http://kobuki.yujinrobot.com/ (http://kobuki.yujinrobot.com/) , and I just want to send some basic commands to it (Forward, Backward, Turn Right... etc.). I'm working on Windows 7, and I'm using C#. The problem is that the robot's driver only works on Linux. I can connect the robot to my laptop using usb or parallel port, so my question is how can I send commands to control the robot?

Any advice?
thanks in advance.
Title: Re: Send Commands to iClebo Kobuki robot
Post by: newInRobotics on April 08, 2013, 07:17:39 AM
Apparently they are working on Windows drivers, until they are out, Your only choices are to work on Linux or write Your own drivers for Windows (which, I assume, is not something You can do). Without correct drivers, OS does not know how to communicate with the device connected. In case You missed it:
--> http://kobuki.yujinrobot.com/documentation/get-started (http://kobuki.yujinrobot.com/documentation/get-started)

Also, API provided by manufacturer is a C++ API and not C#, so You cannot call functions directly, You have to have a wrapper to wrap unmanaged code inside managed code. Here's a tutorial on how to do it:
--> http://www.multicoreconsulting.co.uk/blog/c-snippets/how-to-call-unmanaged-cplusplus-from-csharp/ (http://www.multicoreconsulting.co.uk/blog/c-snippets/how-to-call-unmanaged-cplusplus-from-csharp/)
Title: Re: Send Commands to iClebo Kobuki robot
Post by: jwatte on April 08, 2013, 10:58:37 AM
The documentation claims that the communications are just serial:
http://yujinrobot.github.io/kobuki/doxygen/enFtdiGuide.html (http://yujinrobot.github.io/kobuki/doxygen/enFtdiGuide.html)
Thus, you should be able to download generic FTDI drivers and install them for this device through the Device Manager.
Then, look at their serial protocol, and send those commands to that serial port.
Title: Re: Send Commands to iClebo Kobuki robot
Post by: TheSkyFall on April 11, 2013, 11:30:14 PM
Thank you guys. Looks like I have to wait for Windows drivers :(