Gripper control
Posted: 14 Jan 2016, 18:20
Hello everyone,
I'm working on a university project but i'm stuck on a point. I'm trying to control a gripper (in particular ROBOTIQ_85) in order to close and open it with an external command. To be more specific, I'm using a phantom omni haptic device to control the movements of virtual forceps on v-rep. This physical device is equipped with two hardware buttons, one of them acting like a clutch so once pressed it allows to effectively move the object. So far everything seems ok. Problems come when trying to assign to the second button the task to open and close the gripper. I can't find any function able to do this. I have a cpp code that streams 1 and 0 if the second button is pressed or not, respectively. Does a function that reads the data from the terminal than puts them into a variable to close and open the gripper, exist?
Thanks for your suppport!
I'm working on a university project but i'm stuck on a point. I'm trying to control a gripper (in particular ROBOTIQ_85) in order to close and open it with an external command. To be more specific, I'm using a phantom omni haptic device to control the movements of virtual forceps on v-rep. This physical device is equipped with two hardware buttons, one of them acting like a clutch so once pressed it allows to effectively move the object. So far everything seems ok. Problems come when trying to assign to the second button the task to open and close the gripper. I can't find any function able to do this. I have a cpp code that streams 1 and 0 if the second button is pressed or not, respectively. Does a function that reads the data from the terminal than puts them into a variable to close and open the gripper, exist?
Thanks for your suppport!