ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

CharlieMAC's profile - activity

2022-02-25 08:49:08 -0500 received badge  Famous Question (source)
2020-12-13 05:34:20 -0500 received badge  Famous Question (source)
2020-11-12 13:50:04 -0500 received badge  Popular Question (source)
2020-07-05 09:38:29 -0500 received badge  Notable Question (source)
2020-06-05 04:03:04 -0500 asked a question Trying to simulate Schunk SVH fingers

Trying to simulate Schunk SVH fingers Hello Everone, I´m trying to simulate the dynamics of the Schunk SVH Hand using O

2020-02-24 05:01:59 -0500 received badge  Citizen Patrol (source)
2020-01-22 07:35:34 -0500 commented question schunk_svh_driver: A trouble during reset

Maybe it´s because you are launching it with the flag simulation. If you have a real robot you should use either no flag

2019-12-12 08:12:04 -0500 received badge  Popular Question (source)
2019-12-05 05:52:11 -0500 received badge  Notable Question (source)
2019-12-05 05:08:42 -0500 edited question Custom hardware interface: no member named getHandle

Custom hardware interface: no member named getHandle Hello Everyone! I´m trying to write a custom hardware interface an

2019-12-05 05:06:49 -0500 asked a question Custom hardware interface: no member named getHandle

Custom hardware interface: no member named getHandle Hello Everyone! I´m trying to write a custom hardware interface an

2019-10-17 10:21:35 -0500 received badge  Famous Question (source)
2019-09-13 16:51:04 -0500 marked best answer How accurate is the current read by /svh_controller/channel_currents?

Hello everyone!

I´m working with a real SVH 5-Finger hand from Schunk and I have performed a lot of tests regarding to the current. As it was pointed out before, there is no force feedback on the hand so the current is the only relevant variable to measure how much "effort" is applied to an object.

I´m working on developing a grasp controller based on the current of the hand, therefore I´m using the topic /svh_controller/channel_currents provided by the driver. My question is wether this topic is reliable enough and if it contains an accurate measurement of the current consumption. Or in other words, should I use another method to obtain the current?

Best regards,

Charlie

2019-05-31 02:20:08 -0500 marked best answer Subscribing to multiple topics using one (meta)callback

Hello Guys,

I have 13 different topics of the same class (control_msgs::JointControllerState) that I would like to subscribe to using ROSCPP. If I follow the standard procedure, I would need to define 13 different callbacks, which will be pretty similar to each other. This would make my code to be more extensive and harder to maintain. Is it possible to create one common callback (like a meta callback) for all these topics? I do not need any sort of sync.

I have been thinking of creating an array of subscribers and callbacks. Using typedef I created a array of pointers to functions (the callbacks), but the problem comes when I need to assign a specific topic to each of the callbacks.

Any suggestions? Thanks in advance,

Charlie

2019-05-31 02:20:08 -0500 received badge  Scholar (source)
2019-05-29 02:15:27 -0500 received badge  Notable Question (source)
2019-05-29 02:05:13 -0500 commented answer Subscribing to multiple topics using one (meta)callback

@PeteBlackerThe3rd, how could I do this if my callback is class method?

2019-05-28 09:23:21 -0500 received badge  Popular Question (source)
2019-05-28 07:16:16 -0500 asked a question Subscribing to multiple topics using one (meta)callback

Subscribing to multiple topics using one (meta)callback Hello Guys, I have 13 different topics of the same class (contr

2019-05-28 07:16:13 -0500 asked a question Subscribing to multiple topics using one (meta)callback

Subscribing to multiple topics using one (meta)callback Hello Guys, I have 13 different topics of the same class (contr

2019-04-01 04:03:10 -0500 received badge  Popular Question (source)
2019-01-02 02:18:37 -0500 commented answer Moveit benchmarking: cannot connect to warehouse database

I´m facing the same problem, even though the package is already installed.

2018-09-14 17:30:49 -0500 marked best answer Could not initialize ethercat driver Robotiq 3-Finger Gripper

Related Question: Here

Hi everyone! I'm trying to control a Robotiq 3 Finger Gripper using ROS kinetic, but when execute roslaunch, it gives me an error saying that the EtherCAT driver couldn't be initialized (additionally, SOEM won't start). I have followed all the steps that appear in the related question above, as well as all the necessary steps in order to install the EtherCAT driver from EtherLab (Manual: Here).

I have some sort of communication with the gripper, but ROS isn't able to bring the driver on. Here is an output of the command ethercat master:

Every 0,5s: ./ethercat master                                                                Mon Nov 20 14:31:53 2017

Master0
  Phase: Idle
  Active: no
  Slaves: 1
  Ethernet devices:
    Main: 78:d0:04:24:7e:33 (attached)
      Link: UP
      Tx frames:   1027480
      Tx bytes:    63272028
      Rx frames:   1027480
      Rx bytes:    63272028
      Tx errors:   0
      Tx frame rate [1/s]:    125    124    125
      Tx rate [KByte/s]:      7.3    7.3    7.3
      Rx frame rate [1/s]:    125    124    125
      Rx rate [KByte/s]:      7.3    7.3    7.3
    Common:
      Tx frames:   1027480
      Tx bytes:    63272028
      Rx frames:   1027480
      Rx bytes:    63272028
      Lost frames: 0
      Tx frame rate [1/s]:    125    124    125
      Tx rate [KByte/s]:      7.3    7.3    7.3
      Rx frame rate [1/s]:    125    124    125
      Rx rate [KByte/s]:      7.3    7.3    7.3
      Loss rate [1/s]:          0     -0      0
      Frame loss [%]:         0.0   -0.0    0.0
  Distributed clocks:
    Reference clock: Slave 0
    Application time: 0
                      2000-01-01 00:00:00.000000000

Which says to me that there is some sort of communication between the gripper and the computer. Here is the output of the ethercatctl status command:

Checking for EtherCAT master 1.5.2 
Master0  running

Here is my s_model_ethercat.launch file:

<launch>
  <arg name="gripper_name" default="gripper" />
  <arg name="slave_number" default="1" />
  <arg name="activate" default="True" />
  <arg name="ifname" default="eoe0s0" />

  <node pkg="robotiq_s_model_control" type="s_model_ethercat_node" name="gripper_server" output="screen">
      <param name="ifname" type="str" value="$(arg ifname)" />
      <param name="activate" type="bool" value="$(arg activate)" />
      <param name="slave_number" type="int" value="$(arg slave_number)"/>

      <remap from="output" to="/$(arg gripper_name)/output" />
      <remap from="input" to="/$(arg gripper_name)/input" />
    </node>
</launch>

I must recall that the EtherCAT driver won't be initialized no matter which network interface I use (eoe0s0 is created when I load the ethercat module, but the phyisical one is enp4s0). I suspect that ROS can't initialize the driver because it doesn't know where it is. Here is a reduced output of roslaunch robotiq_s_model_control s_model_ethercat.launch verobse:

[ INFO] [1511182084.984832728]: Initializing etherCAT master
[ERROR] [1511182084.984891375]: Could not initialize ethercat driver
terminate called after throwing an instance of 'robotiq_ethercat::EtherCatError'
  what():  Could not initialize SOEM
[gripper_server-1] process has died [pid 31098, exit code -6, cmd /home/spluser/catkin_ws/devel/lib/robotiq_s_model_control/s_model_ethercat_node output:=/gripper/output input:=/gripper/input __name:=gripper_server __log:=/home/spluser/.ros/log/2284fc32-cddc-11e7-b70a-78d004247e32/gripper_server-1.log].
log file: /home/spluser ...
(more)
2018-09-05 05:19:45 -0500 received badge  Supporter (source)
2018-09-05 05:18:52 -0500 commented question Do i need to download Linux?

I´d say you should open a new question including your third question, but elaborate it, because it could lead to opinion

2018-09-05 04:33:08 -0500 edited question How accurate is the current read by /svh_controller/channel_currents?

How accurate is the current read by /svh_controller/channel_currents Hello everyone! I´m working with a real SVH 5-Fing

2018-09-05 04:33:02 -0500 edited question How accurate is the current read by /svh_controller/channel_currents?

How accurate is the current read by /svh_controller/channel_currents Hello everyone! I´m working with a real SVH 5-Fing

2018-09-05 04:33:02 -0500 received badge  Editor (source)
2018-09-05 04:32:52 -0500 edited question How accurate is the current read by /svh_controller/channel_currents?

How accurate is the current read by channel_currents Hello everyone! I´m working with a real SVH 5-Finger hand from Sch

2018-09-05 04:31:38 -0500 asked a question How accurate is the current read by /svh_controller/channel_currents?

How accurate is the current read by channel_currents Hello everyone! I´m working with a real SVH 5-Finger hand from Sch

2018-06-01 00:34:59 -0500 received badge  Famous Question (source)
2018-04-19 05:58:39 -0500 received badge  Famous Question (source)
2018-03-19 01:25:46 -0500 received badge  Notable Question (source)
2018-02-01 12:50:23 -0500 received badge  Student (source)
2018-02-01 12:50:08 -0500 received badge  Popular Question (source)
2018-01-30 00:48:06 -0500 received badge  Notable Question (source)
2017-12-22 02:55:46 -0500 received badge  Enthusiast
2017-12-08 08:52:00 -0500 asked a question Building packages with QTCreator on non homogeneous workspaces

Building packages with QTCreator on non homogeneous workspaces Hi everyone! I'm trying to configure QTCreator as the ID

2017-12-07 05:44:32 -0500 received badge  Popular Question (source)
2017-11-27 09:30:07 -0500 answered a question Could not initialize ethercat driver Robotiq 3-Finger Gripper

I have solved the problem by executing the roslaunch command with root privileges, using the following commands: $sudo

2017-11-20 07:54:49 -0500 asked a question Could not initialize ethercat driver Robotiq 3-Finger Gripper

Could not initialize ethercat driver Robotiq 3-Finger Gripper Related Question: Here Hi everyone! I'm trying to control

2017-11-20 07:54:48 -0500 commented answer Robotiq 3-finger gripper

I have followed all the steps in order to control de Robotiq hand using Ethercat, even those that you mention in your an