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

Export robotlist #579

Merged
merged 3 commits into from
Jan 18, 2017
Merged

Export robotlist #579

merged 3 commits into from
Jan 18, 2017

Conversation

mathias-luedtke
Copy link
Contributor

addresses #577

@mathias-luedtke
Copy link
Contributor Author

should be used in cob_calibration_dataas well.

@fmessmer
Copy link
Member

Wow, sweet....that will help keep things consistent quite a lot!

We should do the same for ENVLIST in cob_default_env_config and then use cob_hardware_config_ROBOTLIST and cob_default_env_config_ENVLIST wherever it is used!

@mathias-luedtke
Copy link
Contributor Author

wherever it is used!

this is tricky as not all robots are configured for high-level packages.

@fmessmer
Copy link
Member

Sorry, I introduced a merge conflict when merging #578
But I can take over and try to apply the new cob_hardware_config_ROBOLIST to further repositories....

However, when using this for cob_calibration_data, we are introducing a cyclic dependency...as cob_calibration_data is used within cob_hardware_config

@mathias-luedtke
Copy link
Contributor Author

Sorry, I introduced a merge conflict

rebased

However, when using this for cob_calibration_data, we are introducing a cyclic dependency.

New package cob_supported_robots?
Or keep list in cob_calibration_data?

@fmessmer
Copy link
Member

fmessmer commented Jan 12, 2017

rebased

Also already did that in #582

New package cob_supported_robots?
Or keep list in cob_calibration_data?

I would keep the robotlist in cob_calibration_data as it is very unlikely that we forget to configure this for a new robot 😉

@mathias-luedtke
Copy link
Contributor Author

I would keep the robotlist in cob_calibration_data

This even reduces the dependencies (just xacro). I wasn't aware that cob_hardware_config depends on so many packages.

A cob_supported_robots package would not have any dependencies apart from catkin..

@floweisshardt
Copy link
Member

nice solution to mimimise maintenance effort. But I don't like the fact that we introduce dependencies to cob_hardware_config from every package (also simulation related and possibly high-level packages).

So I vote for introducing a new package cob_supported_robots. The question is where to place the package?

  • in cob_robots: Bad because of cyclic dependency from/to cob_calibration_data
  • as a standalone repository: will solve dependency structure, but will increase amount of overlays
  • in cob_calibration_data: good, we just have to make that a multi-package-repo and rename the repository

Alternative would be to use the list out of cob_calibration_data. Pro: no cyclic dependencies because cob_calibration_data has no further dependencies and it doesn't hurt if all packages depend on cob_calibration_data

@mathias-luedtke
Copy link
Contributor Author

mathias-luedtke commented Jan 13, 2017

I vote for keeping the list cob_calibration_data, because it is easier to maintain.
A dependency on xacrodoes not hurt that much.

We can migrate to cob_supported_robots later if necessary.

in cob_robots: Bad because of cyclic dependency from/to cob_calibration_data

this is not cyclic!
cob_robot -> cob_supported_robots
cob_robot -> cob_hardware_config -> cob_calibration_data -> cob_supported_robots

cyclic (with this PR):
cob_hardware_config -> cob_calibration_data -> cob_hardware_config

@mathias-luedtke
Copy link
Contributor Author

added cob_supported_robots

@mathias-luedtke
Copy link
Contributor Author

@ipa-fmw: added your changes

@fmessmer
Copy link
Member

fmessmer commented Jan 17, 2017

Once this is merged we need to update ipa320/cob_simulation#130
Do we want a cob_supported_environments package? See ipa320/cob_environments#116
Also, we want to make use of it in cob_calibration_data

@fmessmer
Copy link
Member

So, we are going to keep the robotlist in cob_default_robot_behavior and cob_moveit_config because those are not implemented for all supported robots, correct?

@@ -15,4 +15,6 @@

<depend>roslaunch</depend>

<build_depend>cob_supported_robots</build_depend>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why build_depend? other packages have test_depend defined

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

due to using robotlist in install tags

@@ -16,6 +16,8 @@
<depend>roslaunch</depend>
<depend>rostest</depend>

<build_depend>cob_supported_robots</build_depend>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why build_depend? other packages have test_depend defined

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

due to using robotlist in install tags

@floweisshardt floweisshardt merged commit 11bad29 into ipa320:indigo_dev Jan 18, 2017
@fmessmer
Copy link
Member

cob_calibration_data is done in ipa320/cob_calibration_data#115

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

Successfully merging this pull request may close these issues.

3 participants