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

neckutrek's profile - activity

2022-11-24 21:46:52 -0500 received badge  Self-Learner (source)
2022-11-24 21:46:52 -0500 received badge  Teacher (source)
2022-11-24 21:46:03 -0500 received badge  Nice Question (source)
2022-04-06 11:54:01 -0500 received badge  Popular Question (source)
2022-04-06 11:54:01 -0500 received badge  Notable Question (source)
2021-12-02 22:41:06 -0500 received badge  Notable Question (source)
2021-12-02 22:41:06 -0500 received badge  Popular Question (source)
2021-06-01 12:52:01 -0500 received badge  Famous Question (source)
2019-07-16 02:47:25 -0500 received badge  Student (source)
2018-05-14 10:57:34 -0500 received badge  Famous Question (source)
2017-09-08 20:03:32 -0500 received badge  Notable Question (source)
2017-09-08 20:03:32 -0500 received badge  Popular Question (source)
2017-01-30 06:13:18 -0500 asked a question How to append robot model at runtime?

I need to add an obstacle to the environment after a manipulator robot has gotten into a certain configuration. I cannot add the obstacle initially as it hinders the manipulator to get to the right configuration. What's the intended way to do this in Ros?

2017-01-19 00:58:34 -0500 received badge  Notable Question (source)
2017-01-19 00:58:34 -0500 received badge  Popular Question (source)
2016-12-20 08:43:39 -0500 received badge  Enthusiast
2016-12-13 07:01:32 -0500 answered a question Not able to read data from contact sensor - gazebo 7

For neater code. (this is a direct copy of what you wrote.)

<robot xmlns:xacro="http://ros.org/wiki/xacro"> 
<xacro:macro name="gazebo_fsensor_link_v0"> 
<gazebo reference="fsensor_link"> 
  <mu1>0.2</mu1> 
  <mu2>0.2</mu2> 
  <selfcollide>true</selfcollide> 
  <material>Gazebo/Red</material> 
  <sensor type="contact" name="fsensor_link_contact_sensor" &gt;="" <!--="" <geom="">sensor_link_geom</geom> -->
    <always_on>true</always_on> 
    <update_rate>100</update_rate> 
    <contact> 
      <collision>fsensor_link_collision</collision> 
    </contact> 
    <plugin name="fsensor_link_plugin" filename="libgazebo_ros_bumper.so">
      <bumpertopicname>fsensor_link_sensor_state</bumpertopicname> 
      <framename>fsensor_link</framename> 
    </plugin> 
  </sensor> 
</gazebo> 
</xacro:macro> 
</robot>
2016-12-13 06:57:14 -0500 commented question Getting contact sensor/bumper Gazebo plugin to work

I'm having the exact same issue

2016-12-13 06:53:46 -0500 answered a question Why could the time stamp for my bumper plugin be zero?

I have the same issue. The contacts are there in gazebo7, the collisions have an effect on the robot configuration as it should, but the ContactSensor messages have their timestamp set to zero and the 'states' array (where all the contacts should be) is empty.

2016-08-02 03:37:39 -0500 asked a question Plugin doesnt appear among controller types

At the bottom of my .cpp file I have

// make the controller available to the library loader
PLUGINLIB_EXPORT_CLASS(hiqp::ROSKinematicsController, controller_interface::ControllerBase)

but when I run

rosservice call /controller_manager/list_controller_types

the ROSKinematicsController does not appear.

Shall this be sufficient for loading a controller as a plugin, or have I forgotten something?

2016-07-28 08:13:56 -0500 answered a question How to call a custom service?

The commas must be exchanged for line-breaks as such:

rosservice call /mynamespace/addTask \
'name: "mytask"
type: "TaskPoP"
behaviour: ["TaskBehFO", "10"]
priority: 1
visibility: 1
parameters: ["gripper_r_base", "0", "0", "0.1", "gripper_l_base", "1", "0", "0", "0.2"]'
2016-07-28 08:13:55 -0500 asked a question How to call a custom service?

My service (AddTask.srv) is defined as:

string       name          
string       type         
string[]     behaviour     
uint16       priority     
bool         visibility   
string[]     parameters

and my rosservice call is

rosservice call /mynamespace/addTask \
'name: "mytask", type: "TaskPoP", behaviour: ["TaskBehFO", "10"], priority: 1, visibility: 1, parameters: ["gripper_r_base", "0", "0", "0.1", "gripper_l_base", "1", "0", "0", "0.2"]'

and I get this error message:

yaml.parser.ParserError: while parsing a block mapping
  in "<string>", line 1, column 1:
    name: "mytask", type: "TaskPoP", ... 
    ^
expected <block end>, but found ','
  in "<string>", line 1, column 15:
    name: "mytask", type: "TaskPoP", behaviour: [" ...

What does the error message mean and how do I resolve it?

2016-07-28 08:13:55 -0500 asked a question How to call a custom service?

My service (AddTask.srv) is defined as:

string       name          
string       type         
string[]     behaviour     
uint16       priority     
bool         visibility   
string[]     parameters

and my rosservice call is

rosservice call /mynamespace/addTask \
'name: "mytask", type: "TaskPoP", behaviour: ["TaskBehFO", "10"], priority: 1, visibility: 1, parameters: ["gripper_r_base", "0", "0", "0.1", "gripper_l_base", "1", "0", "0", "0.2"]'

and I get this error message:

yaml.parser.ParserError: while parsing a block mapping
  in "<string>", line 1, column 1:
    name: "mytask", type: "TaskPoP", ... 
    ^
expected <block end>, but found ','
  in "<string>", line 1, column 15:
    name: "mytask", type: "TaskPoP", behaviour: [" ...

What does the error message mean and how do I resolve it?