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

TkrA's profile - activity

2018-12-13 07:38:52 -0500 marked best answer joint state publisher's zeros parameter

Hello!

Could somebody please provide me a correct yaml file for ros joint state publisher's zeros parameter?

In the description of joint_state_publisher it is written:

zeros (Dict mapping Strings to Floats, default: {})

Dictionary to specify some joints' 'zero position' (since hydro)

I thought of something like this, but it's not working:

zeros:
joint1: {0.5}
joint2: {0.6}

Here you have the joint state publisher's code

2016-10-28 05:23:31 -0500 received badge  Famous Question (source)
2016-09-30 17:09:10 -0500 received badge  Famous Question (source)
2016-03-11 06:00:30 -0500 received badge  Famous Question (source)
2016-03-11 06:00:30 -0500 received badge  Notable Question (source)
2015-12-16 02:47:05 -0500 received badge  Famous Question (source)
2015-12-05 05:42:11 -0500 received badge  Famous Question (source)
2015-10-28 07:02:48 -0500 received badge  Notable Question (source)
2015-10-28 07:02:48 -0500 received badge  Popular Question (source)
2015-08-09 08:16:11 -0500 received badge  Popular Question (source)
2015-07-31 05:27:01 -0500 received badge  Famous Question (source)
2015-07-17 02:08:50 -0500 received badge  Notable Question (source)
2015-06-23 08:27:37 -0500 received badge  Popular Question (source)
2015-06-17 16:41:34 -0500 received badge  Notable Question (source)
2015-06-16 18:57:40 -0500 received badge  Student (source)
2015-06-16 18:55:53 -0500 received badge  Popular Question (source)
2015-06-15 17:39:45 -0500 asked a question Python call callback function on input change

Some basic programming question:

My node is subscribed to the /joint_states topic, more exactly /joint_states/position[5]. I am trying to publish a message, each time the joint6's state has changed. The /joint_states topic has a high rate 0.1 sec/ published messages, so right now i publish the same value, 10x a sec. I would like to call the callback function only on input change.

Does python have some special function for that?

Any ideas?

btw: i would have a much easier task if i could publish fake_gripperarm_controller using demo.launch from my MoveIt! package

2015-06-15 16:18:30 -0500 received badge  Notable Question (source)
2015-06-15 12:57:31 -0500 received badge  Teacher (source)
2015-06-15 12:49:14 -0500 answered a question How find bag files in Ubuntu

It was saved in your current directory, don't you remember what was your current directory, when you saved the bag file? In a package where you were working or something..

2015-06-15 10:26:56 -0500 asked a question Pick and place - All supplied grasps failed

After editind the calvin_pick_n_place sample code taken from here: calvin_pick_n_place I edited it to fit to my robot, i get the following error message:

[ WARN] [1434379985.286830973]: All supplied grasps failed. Retrying last grasp in verbose mode.

Re-added last failed plan for pipeline 'pick'. Queue is now of size 1
[ INFO] [1434379985.301709750]: IK failed
[ INFO] [1434379985.315278096]: IK failed
[ INFO] [1434379985.329729096]: IK failed
[ INFO] [1434379985.329869337]: Sampler failed to produce a state
[ INFO] [1434379985.330069502]: Manipulation plan 23 failed at stage 'reachable & valid pose filter' on thread 3
[ INFO] [1434379985.330713788]: Pickup planning completed after 1.288632 seconds

Please help me, what could be done here?

2015-06-15 03:40:44 -0500 received badge  Popular Question (source)
2015-06-15 02:48:46 -0500 commented question Moveit_commander pick.py error

rospack find moveit_ros_planning_interface retuned:

/home/***/moveit/src/moveit_ros/planning_interface
2015-06-14 20:30:04 -0500 received badge  Notable Question (source)
2015-06-14 16:09:50 -0500 asked a question group.move() weird pose of detached object

Hi!

I am currently working on a pick and place application, using move_group interface. After bringing the gripper around the collision object, i attach it to the end effector:

group.attachObject(collision_object.id);

Then picking it another place, i detach it:

group.detachObject(collision_object.id);

When i detach it, the box stays with one edge on the groud, one in the air. How could i fix this? Please help me, Thanks

2015-06-13 11:13:07 -0500 asked a question Moveit_commander pick.py error

I am trying to run the pick.py code provided by moveit_commander package, which is currently istalled on my ROS, under catkin_ws/src. (distro- indigo) Running the original code, it gives the following error:

  File "/home/***/catkin_ws/src/moveit_commander/demos/pick.py", line 39, in <module>
    from moveit_commander import RobotCommander, PlanningSceneInterface, roscpp_initialize, roscpp_shutdown
  File "/home/***/catkin_ws/devel/lib/python2.7/dist-packages/moveit_commander/__init__.py", line 34, in <module>
    exec(__fh.read())
  File "<string>", line 4, in <module>
  File "/home/***/catkin_ws/src/moveit_commander/src/moveit_commander/move_group.py", line 40, in <module>
    from moveit_ros_planning_interface import _moveit_move_group_interface
ImportError: /home/***/moveit/devel/lib/python2.7/dist-packages/moveit_ros_planning_interface/_moveit_move_group_interface.so: undefined symbol: _ZNK6moveit18planning_interface9MoveGroup13getRobotModelEv

Here is the package i installed, and the py code:

moveit_commander

pick.py

2015-06-13 10:27:11 -0500 received badge  Popular Question (source)
2015-06-13 04:24:38 -0500 commented answer ROS MoveIt! move_group.launch

But now it gives the following error message:

[FATAL] [1434187128.984235619]: Parameter '~moveit_controller_manager' not specified. This is  needed to identify the plugin to use for interacting with controllers. No paths can be executed.
2015-06-13 04:23:46 -0500 commented answer ROS MoveIt! move_group.launch

I just edited the move_group.launch file:

  <include file="$(find torobot_moveit_final)/launch/planning_context.launch">
  <arg name="load_robot_description" value="true" />
  </include>
2015-06-12 11:06:08 -0500 commented question ROS MoveIt! move_group.launch

i just edited the post, i have the include in the beginning of the launch file. It is strange, because i didn't edited the file, it was generated by MoveIt! still, isn't working.

2015-06-12 10:47:23 -0500 asked a question ROS MoveIt! move_group.launch

When i try to run, the original move_group.launch file, generated by MoveIt!, i get the following error:

auto-starting new master
process[master]: started with pid [25531]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to aea97446-1118-11e5-a1c4-14feb5ae1f20
process[rosout-1]: started with pid [25544]
started core service [/rosout]
process[move_group-2]: started with pid [25561]
[ERROR] [1434123343.429734522]: Robot model not loaded
terminate called after throwing an instance of 'ros::InvalidNameException'
what():  Character [_] is not valid as the first character in Graph Resource Name                    [_planning/shape_transform_cache_lookup_wait_time].  
Valid characters are a-z, A-Z, / and in some cases ~.
[move_group-2] process has died [pid 25561, exit code -6, cmd /home/***/moveit/devel/lib/moveit_ros_move_group/move_group __name:=move_group __log:=/home/***/.ros/log/aea97446-1118-11e5-  a1c4-14feb5ae1f20/move_group-2.log].
log file: /home/***/.ros/log/aea97446-1118-11e5-a1c4-14feb5ae1f20/move_group-2*.log

Google has no idea, I have no idea what could be the problem:)

<include file="$(find torobot_moveit_final)/launch/planning_context.launch" /> Is included in the beginning of the launch file, which loads the robot model.