You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MoveGroupExecuteTrajectoryAction vs. MoveGroupExecuteService #201
Recently, I did an update from a very old version of MoveIt to the current version of the jade-devel branch. So far everything was working fine with the RVIZ interface and my configuration for the Jaco2.
Using RVIZ I can plan and execute path on my jaco2. However, I realized that previously working programs using the MoveGroup interface do not execute any path any more.
Instead I get the following exception (move_group.cpp Line 224):
terminate called after throwing an instance of 'std::runtime_error'
what(): No Trajectory execution capability available.
Aborted (core dumped)
Switching back to the deprecated MoveGroupExecuteService solves this issue.
Unfortunately, I did not find any information, if the Moveit config/ a controller or the usage of the MoveGroup has to be changed in order to make everything run with the TrajectoryAction.
I would be very happy if someone could give me some hints to this issue.
It seems that by default the MoveGroupExecuteService will not appear if you create the moveit config. using the setup assistant. However, at least with my config., I am not able to control the Jaco2 using the MoveGroup planning interface, if the Service is not listed in the move_group.launch file.
To communicate with my controller I use the ROS FollowJointTrajectoryAction and the
MoveItSimpleControllerManager, as described in the moveit tutorials.
I do not understand why everything works fine using RVIZ, but if I run the above program the execute_action_client_ seems not to be able to connect to the FollowJointTrajectoryActionServer which is running. Am I missing something?
I assume the cause is different, but I am now having this issue.
I am running ROS Jade on Ubuntu 14.04 and recently moved from binary to a source installation of MoveIt. When I moved to the source installation I had to rerun the setup assistant, and doing so populated the capabilities into move_group.launch.
When running MoveIt!, however, I get the following warning:
Deprecation warning: Trajectory execution service is deprecated (was replaced by an action).
Replace 'MoveGroupExecuteService' with 'MoveGroupExecuteTrajectoryAction' in move_group.launch
If I actually do make the modifications to move_group.launch, I then get the following error when trying to launch MoveIt!:
[ERROR] [1512426794.431275074]: Exception while loading move_group capability 'move_group/MoveGroupExecuteTrajectoryAction': According to the loaded plugin descriptions the class move_group/MoveGroupExecuteTrajectoryAction with base class type move_group::MoveGroupCapability does not exist. Declared types are move_group/ApplyPlanningSceneService move_group/ClearOctomapService move_group/MoveGroupCartesianPathService move_group/MoveGroupExecuteService move_group/MoveGroupGetPlanningSceneService move_group/MoveGroupKinematicsService move_group/MoveGroupMoveAction move_group/MoveGroupPickPlaceAction move_group/MoveGroupPlanService move_group/MoveGroupQueryPlannersService move_group/MoveGroupStateValidationService
Available capabilities: move_group/ApplyPlanningSceneService, move_group/ClearOctomapService, move_group/MoveGroupCartesianPathService, move_group/MoveGroupExecuteService, move_group/MoveGroupGetPlanningSceneService, move_group/MoveGroupKinematicsService, move_group/MoveGroupMoveAction, move_group/MoveGroupPickPlaceAction, move_group/MoveGroupPlanService, move_group/MoveGroupQueryPlannersService, move_group/MoveGroupStateValidationService
Is the warning erroneous in Jade (i.e. I should keep using MoveGroupExecuteService despite that it's deprecated)? How should I fix this issue?
Activity
130s commentedon Sep 10, 2016
Where do you do this exactly?
AdrianZw commentedon Sep 10, 2016
I added the deprecated MoveGroupExecuteService in the move group launch file:
It seems that by default the MoveGroupExecuteService will not appear if you create the moveit config. using the setup assistant. However, at least with my config., I am not able to control the Jaco2 using the MoveGroup planning interface, if the Service is not listed in the move_group.launch file.
To communicate with my controller I use the ROS FollowJointTrajectoryAction and the
MoveItSimpleControllerManager, as described in the moveit tutorials.
I do not understand why everything works fine using RVIZ, but if I run the above program the execute_action_client_ seems not to be able to connect to the FollowJointTrajectoryActionServer which is running. Am I missing something?
v4hn commentedon Nov 11, 2016
I'm pretty confident #335 fixed your problem @AdrianZw could you please test and verify this?
AdrianZw commentedon Nov 14, 2016
Indeed #335 fixed this problem. Thank you !
rkeatin3 commentedon Dec 4, 2017
I assume the cause is different, but I am now having this issue.
I am running ROS Jade on Ubuntu 14.04 and recently moved from binary to a source installation of MoveIt. When I moved to the source installation I had to rerun the setup assistant, and doing so populated the capabilities into move_group.launch.
When running MoveIt!, however, I get the following warning:
If I actually do make the modifications to move_group.launch, I then get the following error when trying to launch MoveIt!:
Is the warning erroneous in Jade (i.e. I should keep using MoveGroupExecuteService despite that it's deprecated)? How should I fix this issue?
Renamed "MoveGroupExecuteService" to "MoveGroupExecuteTrajectoryAction".
Renamed "MoveGroupExecuteService" to "MoveGroupExecuteTrajectoryAction".
leader1313 commentedon Sep 27, 2019
it will be fixed install ros-move-group
sudo apt-get install ros-indigo-moveit-ros-move-groupPort trajectory_rviz_plugin (moveit#201)