Skip to content

pick() and place() functions in moveit_ros/planning_interface/move_group_interface/src/move_group_interface.cpp commented #1951

@atuldivekar

Description

@atuldivekar

Description

pick() and place() functions in moveit_ros/planning_interface/move_group_interface/src/move_group_interface.cpp
are commented which causes code to fail.

There is no documentation to indicate this is deprecated and tutorials such as
https://github.com/ros-planning/moveit2_tutorials/blob/main/doc/examples/pick_place/src/pick_place_tutorial.cpp
still use these functions

  • ROS Distro: Humble
  • OS Version: Ubuntu 22.04
  • Binary build for ROS2 Humble , source build for MoveIt2 Humble branch
    Cyclone DDS

Steps to reproduce

I tried to create a simple pick and place demo.

The relevant lines are :

#include <moveit/planning_scene_interface/planning_scene_interface.h>
#include <moveit/move_group_interface/move_group_interface.h>

...

move_group_interface_ptr_ = new MoveGroupInterface(node_,"panda_arm");
move_group_interface_ptr_->pick("object", grasps);

Compiler error:

error: ‘class moveit::planning_interface::MoveGroupInterface’ has no member named ‘pick’

The code for pick() etc. appears to be commented in
moveit_ros/planning_interface/move_group_interface/src/move_group_interface.cpp

If this is deprecated, this should be documented and the tutorials updated.
If deprecated, what is the alternative to use? MoveIt Task Constructor?

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions