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

Build error: JointConstSharedPtr used from urdf and no more boost #18

Open
geiser1u opened this issue Jun 22, 2021 · 0 comments
Open

Build error: JointConstSharedPtr used from urdf and no more boost #18

geiser1u opened this issue Jun 22, 2021 · 0 comments

Comments

@geiser1u
Copy link

I raise this issue mainly to help people who like me would like to use this plugin with the latest version of ros_control. I struggled to find the source of the build error I got so I think it might be helpful for others.
Since the ros_control issue referenced at this address: https://github.com/ros-controls/ros_control/pull/251/files, an urdf JointConstSharedPtr is used compared to the boost one which was previously used. This leads to build error because steer_bot_hardware_gazebo assumes that the boost version is used. To fix this issue, the line 63 in the source code must be replaced by the following:
urdf::JointConstSharedPtr urdf_joint = urdf_model->getJoint(name);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant