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

enrico's profile - activity

2023-06-16 03:39:23 -0500 commented question Moveit & singularities

Hello. Unfortunately it's been several years since I asked this question, so I remember very little (I'm not working on

2022-09-12 07:31:55 -0500 received badge  Famous Question (source)
2021-11-30 10:24:11 -0500 received badge  Taxonomist
2021-08-23 02:13:28 -0500 received badge  Nice Question (source)
2020-07-26 05:21:27 -0500 received badge  Nice Answer (source)
2020-04-03 09:20:38 -0500 received badge  Necromancer (source)
2020-04-03 09:20:38 -0500 received badge  Teacher (source)
2020-04-03 09:20:38 -0500 received badge  Self-Learner (source)
2020-02-27 14:36:09 -0500 received badge  Famous Question (source)
2019-09-09 19:36:25 -0500 marked best answer how does Moveit communicate to Gazebo?

Hi all,

I was able to simulate the UR5 and control it in simulation from RViz, fololwing these steps:

$ roslaunch ur_gazebo ur5.launch

$ roslaunch ur5_moveit_config ur5_moveit_planning_execution.launch sim:=true

$ roslaunch ur5_moveit_config moveit_rviz.launch config:=true

Now I would like to know how to control the real UR5, but first I need to know how RViz is talking to Gazebo in order to make the robot moves. Does anyone know what kind of input is needed by gazebo? Or better, what kind of information is being sent to Gazebo when I press "plan and execute" in RViz? I suspect they are the joints states, but I don't know where to read this information.

Thank you for your help in advance.


Edit: Thanks a lot for your answer, now everything is a bit more clear. But I have another question at this point. I tried to communicate with the real hardware and I was able to move the robot running "test_move.py" from the "ur_modern_driver package". After that I tried to move the robot with MoveIt! following this tutorial:

http://wiki.ros.org/universal_robot/T...

Problems arise when launching this command:

roslaunch ur5_moveit_config ur5_moveit_planning_execution.launch limited:=true

In the terminal the following lines appear:

[ WARN] [1529329845.474785699]: Waiting for /joint_trajectory_action to come up
[ WARN] [1529329851.474995251]: Waiting for /joint_trajectory_action to come up
[ERROR] [1529329857.475168563]: Action client not connected: /joint_trajectory_action

So that when i launch MoveIt (by typing roslaunch ur5_moveit_config moveit_rviz.launch config:=true) to try planning and execution, the planning is ok but the execution never works. And the same is with using the limited version (limited:=true).

Do you have any idea why this happens?

2019-03-17 03:54:03 -0500 commented question Using ROS Rviz to control the UR5 with OnRobot RG2 Gripper

Yes, in my case the problem was with Zagitta's ur_modern_driver. That pkg didn't rnu the service I needed. So instead I

2019-02-05 06:34:51 -0500 received badge  Famous Question (source)
2019-01-31 02:16:19 -0500 received badge  Notable Question (source)
2018-12-18 22:59:12 -0500 received badge  Famous Question (source)
2018-12-15 03:11:21 -0500 marked best answer how to remove collision objects from Rviz by code

Hi all,

I was wondering if a function able to remove collision objects from world do exists...

because the

planning_scene_interface.removeCollisionObjects(object_ids)

function requires at least 0.4/0.5 seconds delay to be effective on Rviz, but my target is to remove it istantaneously. I know there was a similar issue with the placement of an object in the world, because also the function

addCollisionObjects

requires that delay in order to be effective in Rviz. But this has been solved by using another function:

applyCollisionObject

So if anyone has ever dealt with these things please try to help me. Thanks in advance.

ROS Kinetic, Ubuntu version 16.04

2018-12-15 03:11:09 -0500 received badge  Famous Question (source)
2018-12-05 02:44:20 -0500 received badge  Notable Question (source)
2018-11-27 05:29:24 -0500 received badge  Famous Question (source)
2018-11-13 11:19:08 -0500 received badge  Famous Question (source)
2018-11-13 11:16:39 -0500 commented answer How to set a sequence of goals in moveit?

Yes, after you write "group.setPoseTarget(p1)" you have to write the command "group.move()". Then you do the same after

2018-10-31 14:14:27 -0500 marked best answer MoveIt: how to use class MoveGroup::MoveGroupImpl?

Hi everyone,

I would like to use the function void setReplanningDelay(double delay) belonging to class MoveGroup::MoveGroupImpl, because I need to decrease the 2 seconds default value of replan_delay_. How could I implement that function? An example of code would be really helpful.

I think another option is to manually decrease that value, but this would require installing Moveit in the workspace I guess, but I would leave this option as the last resort.

ROS version: Kinetic Ubuntu: 16.04

2018-10-25 04:25:25 -0500 received badge  Popular Question (source)
2018-10-17 07:50:04 -0500 asked a question MoveIt: how to use class MoveGroup::MoveGroupImpl?

MoveIt: how to use class MoveGroup::MoveGroupImpl? Hi everyone, I would like to use the function void setReplanningDela

2018-10-12 14:22:17 -0500 commented answer How to plan moves with gripper attached to arm?

Hi gdvhoorn, can you explain a little more in details what should be done in order to open/close the gripper via service

2018-10-12 10:44:17 -0500 received badge  Famous Question (source)
2018-10-12 05:01:34 -0500 commented question Using ROS Rviz to control the UR5 with OnRobot RG2 Gripper

Hi! How did you manage use those commands for controlling the opening and the closure of the RG2? When I try them for my

2018-10-12 04:54:06 -0500 commented answer How to set a sequence of goals in moveit?

Yes it makes sense. Thanks for the explanation

2018-10-12 04:48:51 -0500 received badge  Notable Question (source)
2018-10-12 04:31:28 -0500 received badge  Famous Question (source)
2018-10-11 16:24:02 -0500 answered a question How to set a sequence of goals in moveit?

Still don't know how to do it through Rviz interface, but there is a way through code. You can set (n) targets by using

2018-10-11 16:11:20 -0500 edited answer Moveit: adding objects to the scene using laser scanner

Given that the code above has been optimized, the problem was on the functions themselves. "addCollisionObject" and "re

2018-10-11 16:10:53 -0500 answered a question Moveit: adding objects to the scene using laser scanner

Given that the code above has been optimized, the problem was on the functions themselves. "addCollisionObject" and "re

2018-10-11 16:01:51 -0500 answered a question ur5 - real hardware communication

I bypassed the problem using ros_control instead of ur5_bringup.launch. So on the terminal, in order to connect to UR5,

2018-10-11 15:56:04 -0500 answered a question pos_based_controller fails in execution

It ended up I had to adjust the values of parameters until I got better results. In particular, im my case, good values

2018-10-09 03:36:35 -0500 marked best answer How to fix RRTstar crashing on moveit!?

Hi all

I am a beginner user of MoveIt. I have switched between every OMPL algorithm (switching among them in the context tab) but the RRTstar never runs and Moveit crashes. Any suggestions?

My Ubuntu version: 16.04 ROS Kinetic

2018-09-27 10:20:00 -0500 received badge  Notable Question (source)
2018-09-21 02:06:42 -0500 received badge  Notable Question (source)
2018-09-18 04:59:58 -0500 received badge  Popular Question (source)
2018-09-18 04:59:58 -0500 received badge  Notable Question (source)
2018-09-06 04:13:23 -0500 received badge  Popular Question (source)
2018-09-05 06:00:05 -0500 asked a question how to remove collision objects from Rviz by code

how to remove collision objects from Rviz by code Hi all, I was wondering if a function able to remove collision object

2018-08-29 08:50:13 -0500 commented answer Moveit PlanningSceneInterface addBox not showing in Rviz

Hi, as long as you know, is there a function that allows to remove the collision object immediately? Because the plannin

2018-08-26 23:21:05 -0500 received badge  Popular Question (source)
2018-08-26 09:03:08 -0500 commented question (MoveIt) PlanningSceneInterface does not add collision object

Hi, is there a function that allows to remove the collision object immediately? Because the planning_scene_interface.rem

2018-08-20 14:23:15 -0500 received badge  Notable Question (source)