Closed jclinton830 closed 5 years ago
Three things to check:
kinetic-devel
of abb_driver
(specifically: with #155)HI @gavanderhoorn,
Thank you for the quick reply. I was trying the motion execution on manual mode. I have already tried it in Auto mode as well and it doesn't work either.
In this tutorial it is mentioned that
If T_ROB1 has existing motion-control modules, you may need to rename the main() routine in ROS_Motion.mod to ROS_main(). In this case, set the Entry point for T_ROB1 task to ROS_main().
Is this a compulsory change? When I tried this it did not work either.
I am guessing its to do it with how I run the ROS server from the teach pendant. When I go in to the production window and press PP to main, and enable the motors and press play the robot starts to execute an old piece of rapid code stored in the controller.
You'll have to make sure that the driver does not interact/interfere with other code present on the controller.
I cannot help you with that, as it's very specific to your setup.
@jclinton830: for now, I'm going to assume this is a configuration issue on your side (ie: the controller) and not something with these packages.
I'll close this issue here for now, but if you feel there is something we should change or improve then please feel free to comment here.
Hi @gavanderhoorn
I did a complete re setup of the ros workspace last night and tried again this morning on the actual robot.
Now the robot is receiving the trajectory, but a STOP command is issued before any motion is executed. I thought #62 fixed this issue. But seems like there is still a problem.
I've already commented on #41 where you also posted this (could you please not do this in the future?). From https://github.com/ros-industrial/abb/issues/41#issuecomment-446860150:
Please see How do I disable execution_duration_monitoring ?. The robot is too slow and MoveIt cancels execution of your trajectory because of that.
Edit: related: #114, #110.
Hi @gavanderhoorn,
Sorry about that will not happen again! Thanks that fixed the problem for shorter paths but the problem persists for longer motion paths. Is there a parameter that can be edited within the move_group cpp source files to solve this?
Thanks.
Thanks that fixed the problem for shorter paths but the problem persists for longer motion paths.
Then I'm guessing you changed the scale / value, but did not disable.
Is there a parameter that can be edited within the move_group cpp source files to solve this?
No. And you should not look for that either. This is configuration work, not the "edit the source code" side of things.
Did both but was still having problems, figured out it was to do with the namespaces.
I had to include move_group/trajectory_execution/
in front of both execution_duration_monitorin
g and allowed_execution_duration_scaling
Anyway I got it to work after that. Although the motions are always executed after a delay of 20 seconds after the motion is planned. Do you know what triggers this delay? It always takes 20s to execute the trajectory, I have timed it a few times.
Did both but was still having problems, figured out it was to do with the beachnamespaces.
"beachnamespaces"?
In any case: if you're using rqt_reconfigure
, you'll have to redo that every time you start everything up. Dynamic reconfiguration changes are not persisted.
Although the motions are always executed after a delay of 20 seconds after the motion is planned. Do you know what triggers this delay? It always takes 20s to execute the trajectory, I have timed it a few times.
Can you check bullet 2 in https://github.com/ros-industrial/abb/issues/158#issuecomment-446494965?
Can you check bullet 2 in #158 (comment)?
@gavanderhoorn Sorry about my late reply, I checked the branch name and it is kinetic-devel.
In any case: if you're using rqt_reconfigure, you'll have to redo that every time you start everything up. Dynamic reconfiguration changes are not persisted.
Do you think this causes an issue with the delay? If so then how do I find out if rqt_reconfigure is in use?
Still having the 20 seconds of delay before the execution of a trajectory. Any help would be much appreciated. Thank you.
Can you check bullet 2 in #158 (comment)?
@gavanderhoorn Sorry about my late reply, I checked the branch name and it is kinetic-devel.
It's important that it's not just kinetic-devel
, but actually a (very) recent checkout.
Can you make sure you have 4b11bf6b in your clone and installed on the robot?
Can you make sure you have 4b11bf6 in your clone and installed on the robot?
@gavanderhoorn After looking through the ROS_Motion.MOD file on both clone and the robot controller I can confirm that it matches with 4b11bf6.
Any other suggestions??
Just to diagnose this: can you completely remove everything related to the driver from your controller and try this version?
I don't understand the 20 seconds, as that is specified nowhere in the code (10 seconds is though).
We tried this, and that did not help either :(
Ok.
I don't understand where the 20 seconds come from, as that is not a nr used anywhere in the code afaict.
Can you please provide a complete description of:
abb_driver
(git rev-parse HEAD
) , other ABB pkgs) including local changes to pkgsroslaunch
commands, any RQT UIs used and how, how you command motion)
Hi,
I followed this tutorial to configure ROS and an ABB IRB120 robot to work together.
I then launched this launch file:
roslaunch abb_irb120_support robot_interface_download_irb120_3_58.launch robot_ip:=192.168.125.1
and then this launch file:
roslaunch abb_irb2400_moveit_config moveit_planning_execution.launch robot_ip:=192.168.125.1
Then I am able to mirror the movement of the actual robot on RViz accurately when the robot moves during jogging or running existing rapid programs in the controller.
But when planning a motion using Rviz and sending it to the robot controller, it says that Sending 20 points to MOTION task
But the robot does not move at all.
Anyone know why this might be happening? I am using ROS Kinetic and working on ubuntu 16.04.
Thanks in advance!