Skip to content

Action client initialization problem cpp #11

@DavidYaonanZhu

Description

@DavidYaonanZhu

Hi, thanks for your wonderful driver.

I want to include action client to a moveit code, I want to call the server after excuting motion command.

I do not know how to instantiate the client using RobotiqActionClient gripper = new RobotiqActionClient(action_name, wait_for_server);

When I put this inside main(), or outside of any function, the error says:

conversion from ‘RobotiqActionClient* {aka robotiq_2f_gripper_control::RobotiqActionClient*}’ to non-scalar type ‘RobotiqActionClient {aka robotiq_2f_gripper_control::RobotiqActionClient}’ requested

Could you give any hint?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions