-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce support for Kinova Jaco2 robot #625
Conversation
Cmake file for FindJaco2.cmake ..to find JACO 2 HEADERS AND LIBRARIES. PLEASE check , edit and include for jaco2 robot. Thanks Zubair Arif Harbin Institute of Tech, HIT CHINA
…cmake Create FindJaco2.cmake
updated to add use _jaco2 option at several places in code. please check rectify and include in main code for using kinova jaco2 robot with visp.
CHANGES ARE MADE IN these FILES to include and use visp_have _jaco2 options
- This work relates PR lagadic#619 initiated by Zubair Arif research scholar at Harbin institute of technology
@engr-zubair Don't forget to |
Yes, the
|
@fspindle please check cmake/ findjaco2 file has some error, i am unable to add / find jaco 2 libraries while CMake is generating the project. if I manually add the jaco2 libraries location still it does not link while building the project inside visual studio 2017. |
This could be due to the library names that are suffixed by Try to put:
To debug, add also:
|
@fspindle dear fabien, I have changed the names as you suggested of dll files and solved the potential build issue and got the right code for findjaco2.cmake file for CMake . is there any other way to solve this issue ?, or may I suggest, if we can use dynamic linking methods like using Reference to this jaco2 .dll library in our project, will it work that way with VISP? |
…ibrary files during cmake configure process.
The Jaco SDK is working with plugins that are loaded during runtime. That's why they dont provide a classical .lib file besides the .dll library. I initiated the work. I will continue tomorrow to fix small things that I have in mind. I will let you know when it's finished so that you can play with. |
@engr-zubair The
where |
@fspindle Thanks, I have gone through the changes , and now implementing it and test it with jaco 2 robot this week, will get back to you with results and suggestions. |
@fspindle ,hello, i have checked and tested the example given in kinova jaco SDK and found that the one ' Example_Ethernet_7DOF_Kinematics' is working in msvs detecting robot on ethernet while using same paramenters as given on SDK or manual. |
Can you test my commit ? |
@engr-zubair Any updates ? |
hello, yes, i was double checking it before letting you know of the update about your code in mixt:frame . the observations are as follows;
|
You should better validate the controller implemented in
|
hi , i have tested your code as per your guidance strictly following the instructions, I got following results using your kinovajacomovecart.example and kinovarobot.cpp file ;
|
|
This comment has been minimized.
This comment has been minimized.
@fspindle , dear Fabien , I am waiting for your response, to progress further regarding the development of visual servo control (IBVS / PBVS) of kinova jaco2 robot. |
What is the value of your |
This comment has been minimized.
This comment has been minimized.
@engr-zubair Hi Zubair Arif, I am Jiqing Li, a student from ShenZhen Institutes of Advanced Technology Chinese Academy of Sciences. I am also going to do some research about Visual Servoing with Kinova Jaco2 robot and Realsense D435i. I browsed this whole pull request conversations and at the end you did not show any progress about the IBVS for the kinova Jaco2 robot. Can you share your recently progress about the IBVS for Jaco2? Hope you can find out some time to share your work. Thank you! |
hello, dear @li2jq . nice to hear from you. this code is still premature and in test phases and as per Fabien advice, I am still debugging the camera frame problem before we can move on to do visual servoying . for now this code is not supporting camera frame movement as desired, so please contribute or suggest any change which might be needed to correct this problem at present. . could you please also look at if you can connect with your kinova jaco 2 with this code through ethernet interface.? thanks. |
@engr-zubair Nice to here that camera frame, end effector and mixt frame are working as expected after a fresh code checkout and build |
@engr-zubair @fspindle , Hi Zubair and Fabian, before the visp, I only used kinova-ros to control the Jaco2, so I have no experience about the ethernet interface and also my project did not need it. Sorry, I did not spend time to do the test.
Then the MIXT_FRAME is correct, which means the XYZ linear velocity is based on the BASE_FRAME and the theta XYZ angular velocity is based on the END_EFFECTOR_FRAME。 |
@li2jq Feel free to commit your changes in this PR or create a new PR. Since I don't have access to a Jaco robot, I cannot debug on my side. |
@engr-zubair Any update is welcome. Do you finally succeed to control the Jaco arm with |
hello @fspindle ,good to hear from you its long time since the covid-19 pandemic , the labs at my university were closed . |
hello @fspindle, I succeed in testing the vpRobotJaco2 with my kinova Jaco2 j2n6s300 robot. However, I cannot reach the accuracy like your panda robot example. I guess it may be caused the kinova robot itself since at the end of the robot movement, the joint velocities are all pretty small that the kinova robot cannot operate. And below is the link that shows my robot test. Please check it and welcome any comments if you have any problems. |
Nice to hear from you. It sounds that we are very close to something that could be integrated to the next ViSP release. @li2jq I would appreciate if you can test PR #839 with your 6-DoF Jaco robot @engr-zubair I would appreciate if you can test PR #839 with your 7-DoF Jaco robot I will close this PR. We can continue to discuss on PR #839. |
@engr-zubair I introduced all the CMake matérial and files so that you can start to modify
vpRobotJaco2
class a wrapper over Jaco2 SDK. This initial work follows PR #619 that you initiate.