Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated code as of Lunar #1211

Merged
merged 3 commits into from
Nov 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
- ROS_DISTRO=melodic ROS_REPO=ros UPSTREAM_WORKSPACE=moveit.rosinstall
- ROS_DISTRO=kinetic ROS_REPO=ros-shadow-fixed UPSTREAM_WORKSPACE=moveit.rosinstall

matrix: # Add a separate config to the matrix, using clang as comiler
matrix: # Add a separate config to the matrix, using clang as compiler
include:
- env: ROS_DISTRO=melodic ROS_REPO=ros-shadow-fixed UPSTREAM_WORKSPACE=moveit.rosinstall
compiler: clang
Expand Down
1 change: 1 addition & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ API changes in MoveIt! releases
- The move_group capability ``ExecuteTrajectoryServiceCapability`` has been removed in favor of the improved ``ExecuteTrajectoryActionCapability`` capability. Since Indigo, both capabilities were supported. If you still load default capabilities in your ``config/launch/move_group.launch``, you can just remove them from the capabilities parameter. The correct default capabilities will be loaded automatically.
- Deprecated method ``CurrentStateMonitor::waitForCurrentState(double wait_time)`` was finally removed.
- Renamed ``RobotState::getCollisionBodyTransforms`` to ``getCollisionBodyTransform`` as it returns a single transform only.
- Remove deprecated class MoveGroup (was renamed to MoveGroupInterface).

## ROS Kinetic

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -522,17 +522,6 @@ class MoveGroupInterfaceWrapper : protected py_bindings_tools::ROScppInitializer
}
};

class MoveGroupWrapper : public MoveGroupInterfaceWrapper
{
public:
MoveGroupWrapper(const std::string& group_name, const std::string& robot_description, const std::string& ns = "")
: MoveGroupInterfaceWrapper(group_name, robot_description, ns)
{
ROS_WARN("The MoveGroup class is deprecated and will be removed in ROS lunar. Please use MoveGroupInterface "
"instead.");
}
};

static void wrap_move_group_interface()
{
bp::class_<MoveGroupInterfaceWrapper, boost::noncopyable> MoveGroupInterfaceClass(
Expand Down Expand Up @@ -650,7 +639,7 @@ static void wrap_move_group_interface()
MoveGroupInterfaceClass.def("set_max_velocity_scaling_factor",
&MoveGroupInterfaceWrapper::setMaxVelocityScalingFactor);
MoveGroupInterfaceClass.def("set_max_acceleration_scaling_factor",
&MoveGroupWrapper::setMaxAccelerationScalingFactor);
&MoveGroupInterfaceWrapper::setMaxAccelerationScalingFactor);
MoveGroupInterfaceClass.def("set_planner_id", &MoveGroupInterfaceWrapper::setPlannerId);
MoveGroupInterfaceClass.def("set_num_planning_attempts", &MoveGroupInterfaceWrapper::setNumPlanningAttempts);
MoveGroupInterfaceClass.def("compute_plan", &MoveGroupInterfaceWrapper::getPlanPython);
Expand All @@ -664,9 +653,6 @@ static void wrap_move_group_interface()
MoveGroupInterfaceClass.def("get_named_targets", &MoveGroupInterfaceWrapper::getNamedTargetsPython);
MoveGroupInterfaceClass.def("get_named_target_values", &MoveGroupInterfaceWrapper::getNamedTargetValuesPython);
MoveGroupInterfaceClass.def("get_current_state_bounded", &MoveGroupInterfaceWrapper::getCurrentStateBoundedPython);

bp::class_<MoveGroupWrapper, bp::bases<MoveGroupInterfaceWrapper>, boost::noncopyable> MoveGroupClass(
"MoveGroup", bp::init<std::string, std::string>());
}
}
}
Expand Down