-
Notifications
You must be signed in to change notification settings - Fork 56
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
Action client initialization problem cpp #11
Comments
Hi @DavidYaonanZhu, Sorry for the late answer I no longer support these packages often. Your error is more C++ related than to the Class itself. The You can instantiate the object and keep it referenced through a pointer:
Or through direct initialization by:
PS: I realized the example code in the README has an error that led you to this problem. Sorry, my bad! |
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?
The text was updated successfully, but these errors were encountered: