On 10-5-2016 17:32, Tiago Simoes wrote:
> Hello
[..]
> *Gijs : *I understand, I will analyze what is the best option, then I will
> say that I have chosen. However, the FANUC LR Mate 200ID, R-30iB Mate
> controller I'm using has a gripper actuated by a RO [7] = ON or OFF. To
> achieve actuate the gripper must change the state of the I/O. You could tell
> me a method to modify using the ROS Industrial?
[..]
Ah, that is something different from what I understood from your earlier
discussion with Victor.
For access to the controller's IOs, you can either use a fieldbus (which
I recommend, if you have the hardware and the options), or a
software-only method.
We do have a candidate REP for software-only access to a ROS-Industrial
driver spec compatible controller driver, but no implementations have
been released. The first implementation will (most likely) be for the
Fanuc driver, but it might take some time (it's being tested).
In the meantime, I wrote a small tool -- that is independent of
simple_message -- that should allow you to do what you want, as long as
you don't have too strict requirements for determinism and performance
(and your controller has the required options installed). See [1].
For simple 'gripper open', 'gripper close' type of actions this is
probably sufficient. In any other case, please use a fieldbus.
For use with ROS, I can imagine a simple Python Action server that
exposes a GripperCommand action interface and uses http.client (for
instance) to interact with the controller.
If you have any additional questions, let me know.
Gijs
[1]
https://github.com/gavanderhoorn/fanuc_ros_cgio