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

Can't build on Foxy distro #39

Closed
kong2983 opened this issue Oct 27, 2020 · 5 comments
Closed

Can't build on Foxy distro #39

kong2983 opened this issue Oct 27, 2020 · 5 comments

Comments

@kong2983
Copy link

I tried to build this package. However, it is impossible to build because the package compatibility is not appropriate. If you try to build by cloning the latest version of the ros2_control package, you cannot build it because there is no joint_state_handle package.
Is there any way to solve this problem?

@ahcorde
Copy link
Collaborator

ahcorde commented Oct 27, 2020

Hi @kong2983,

Some new changes are happening right now in ros2_control.

For now you can compile the current gazebo_ros2_control, ros2_control and ros2_controller master branch with the branch of this PR #34 (comment) (ahcorde/update/ros2_control).

Let me know if you have some issue compiling this branch.

@kong2983
Copy link
Author

kong2983 commented Nov 2, 2020

I have confirmed that the example works normally.
Thank you for the reply!

@kong2983 kong2983 closed this as completed Nov 2, 2020
@heike380
Copy link

heike380 commented Nov 2, 2020

Hi @kong2983,

how did you build the "ahcorde/update/ros2_control"-branch?
I built the "ahcorde/update/ros2_control" with docker (docker build -t gazebo_ros2_control .), but still got the error that "JointStateHandle" wasn't found.

Thanks.

@kong2983
Copy link
Author

kong2983 commented Nov 2, 2020

@heike380

The "ahcorde/update/ros2_control"-branch does not use JointStateHandle.
It seems that the master branch is installed while building with docker.
I didn't build with docker. Try again with the command below.

git clone -b ahcorde/update/ros2_control --single-branch https://github.com/ros-simulation/gazebo_ros2_control
git clone https://github.com/ros-controls/ros2_control
git clone https://github.com/ros-controls/ros2_controllers

@heike380
Copy link

heike380 commented Nov 2, 2020

@kong2983

Thanks! Perfect, now it builds.

I just adapted "git clone https://github.com/ros-simulation/gazebo_ros2_control" to "git clone -b ahcorde/update/ros2_control --single-branch https://github.com/ros-simulation/gazebo_ros2_control" in the Dockerfile.

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

3 participants