grl icon indicating copy to clipboard operation
grl copied to clipboard

Controlling LBR IIWA incorporating kinect

Open usman2k opened this issue 7 years ago • 10 comments

I need to do small task with LBR IIWA Kuka and using kinect 3d camera. I need to command manipulator by kinect. I know it is a hand eye calibration but how can i make interference between kinect and manipulator by using C++ codes.

usman2k avatar Dec 19 '17 13:12 usman2k

I think tcp ip will work.

| | 宋韬 | | 邮箱:[email protected] |

签名由 网易邮箱大师 定制

On 12/19/2017 21:20, usman2k wrote:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

songtao43467226 avatar Dec 19 '17 13:12 songtao43467226

Thanks for you kind response... But I am talking about C++ codes

usman2k avatar Dec 19 '17 15:12 usman2k

I'm assuming you know how to program in C++ here, but you will need to combine two libraries in a single program.

Have you ever used either V-REP or ROS?

ahundt avatar Dec 19 '17 15:12 ahundt

Well, I want to do my task without ROS. I am familiar with vrep. Which two libraries ... As i guess one is opencv?

usman2k avatar Dec 20 '17 07:12 usman2k

sure, GRL is designed to be used without ROS and that is easy to set up, but it will take a lot more work to integrate kinect data accurately without ROS. The difficulty won't be with making the kuka move but getting good data from the kinect that tells the kuka the right place to go. To command robots accurately in absolute position/orientation you need to calibrate the depth camera. Additionally, hand eye calibration of the robot cannot be done until the kinect camera is calibrated first.

What kind of vision are you doing? Are you developing an application or doing research?

How accurate do you need your motion to be and how will you detect the objects? Note that kinect is fairly low resolution and kinectv2 point clouds can be inaccurate and fail when there are reflections.

I need more details to give you a sound recommendation, but if you just need to grab kinect frames in C++ code you can use https://github.com/stevenlovegrove/Pangolin, and if you just need to command the robot to go somewhere in joint space you can use the KukaDriver class. If you need to command the robot in cartesian space the best way to do that will again depend on your problem.

ahundt avatar Dec 20 '17 13:12 ahundt

First of all , I need to thank you for you kind response. I am doing my research and I need to do some material handling task and I have two queries. Firstly, How can learn C++ coding for robotics specifically for IIWA KUKA... And secondly, I dont know how to make interfarance between manipulator and camera (How can I merge object detection coding with manipulator coding). Well, I already did kinect (object detection) task.

usman2k avatar Dec 20 '17 13:12 usman2k

So you have a kuka and kinect object detection code?

What language is the detection code in?

What kind of material and do you have a gripper?

ahundt avatar Dec 20 '17 13:12 ahundt

I have object detection code in C++ but I dont have code for robot. My object is powder coated car part (black color). yes I have gripper.

usman2k avatar Dec 20 '17 13:12 usman2k

Well the easiest way to get started is to build and install grl and try running the V-REP simulation. That will let you drive the robot to a series of locations. Once you get that working and you are able to drive the robot to a series of cartesian positions you can go to the next step.

This can be done easily with V-REP's integrated lua API (for a first test).

After that, you can decide if you want to write a C++ V-REP plugin for the vision sensor or if you want to write something custom. Based on what you describe I think a simple plugin would be the way to go for getting things to work quickly.

http://www.coppeliarobotics.com/helpFiles/index.html

Are you able to install GRL?

ahundt avatar Dec 21 '17 19:12 ahundt

Thanks again for yoUr kind response... Yes I can install GRL by follow GRL manual. But Is it possible that first I will make simulation through V-rep using C++ code (add GRL library) without connect with actual manipulator.

usman2k avatar Dec 23 '17 08:12 usman2k