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

The dependencies are not well fulfilled. #117

Closed
elector102 opened this issue Jul 13, 2023 · 6 comments · Fixed by #118
Closed

The dependencies are not well fulfilled. #117

elector102 opened this issue Jul 13, 2023 · 6 comments · Fixed by #118
Labels
bug Something isn't working

Comments

@elector102
Copy link
Collaborator

elector102 commented Jul 13, 2023

Environment

  • OS Version: ubuntu 22, ros humble
  • Source, humble branch

Description

We are having some dependencies issues using humble branch on a CI. You can see the current dependencies on that image:
Screenshot from 2023-07-13 14-09-52

The problem is that andino Gazebo and andino description depend on andino control, and this dependency is fulfilled indirectly.
on the CI we run to compile and then run the test the following:
colcon build --packages-up-to andino_gazebo aws_robomaker_small_warehouse_world andino_master --event-handlers console_cohesion+
and then:
colcon test --packages-select andino_gazebo aws_robomaker_small_warehouse_world andino_master --event-handlers console_cohesion+
where andino_master are gazebo tests.
With that the dependency of andino gazebo is not fulfilled and CI fail

@elector102 elector102 added the bug Something isn't working label Jul 13, 2023
@francocipollone
Copy link
Collaborator

Thanks for filling up the issue @elector102 : Check #118

@francocipollone
Copy link
Collaborator

CI fail

What is the issue?

Now I am realizing that it is ok that andino_control is not a dependency to andino_gazebo. I think that the dependency that is missing is controller_manager

@francocipollone
Copy link
Collaborator

CI fail

What is the issue?

Now I am realizing that it is ok that andino_control is not a dependency to andino_gazebo. I think that the dependency that is missing is controller_manager

Oh yeat it is being used when finding the controller's parameters

<parameters>$(find andino_control)/config/andino_controllers.yaml</parameters>

@agalbachicar
Copy link
Member

There is another occurency:

https://github.com/Ekumen-OS/andino/blob/humble/andino_description/urdf/andino.urdf.xacro#L84-L87

That imports files from andino_control and if andino_description includes andino_control as a dependency, then you have a circle one.

#118 deals with the issue, but the urdf files need to be ordered to solve this problem.

@francocipollone
Copy link
Collaborator

There is another occurency:

https://github.com/Ekumen-OS/andino/blob/humble/andino_description/urdf/andino.urdf.xacro#L84-L87

That imports files from andino_control and if andino_description includes andino_control as a dependency, then you have a circle one.

#118 deals with the issue, but the urdf files need to be ordered to solve this problem.

<xacro:include filename="$(find ${package_name})/urdf/include/andino_control.urdf.xacro" />

Here package_name unpacks to andino_description so it isn't looking for stuff in andino_control package.
So I don't see the cycling dependency.

It is true though that if we are strict we could move the andino_control.xacro.urdf to andino_control package in order to extend the base description to ros control if needed.

However, based on taking a look at other robots descriptions, in general they add the ros control stuff within the base urdf description and it is quite accepted.

@francocipollone
Copy link
Collaborator

Pinging @agalbachicar to define the bug if any. I will close this otherwise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants