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

lrmate200id_moveit_cfg: demo of controlling LRMate200iD with Moveit on Gazebo #21

Open
wants to merge 13 commits into
base: indigo-devel
Choose a base branch
from

Conversation

wkentaro
Copy link

@wkentaro wkentaro commented Jul 6, 2016

fanuc_lrmate200id_gazebo_moveit

@wkentaro wkentaro changed the title Demonstration of controlling LRMate200iD with Moveit on Gazebo [fanuc_lrmate200id_gazebo] Demonstration of controlling LRMate200iD with Moveit on Gazebo Jul 6, 2016
@wkentaro wkentaro changed the title [fanuc_lrmate200id_gazebo] Demonstration of controlling LRMate200iD with Moveit on Gazebo Demonstration of controlling LRMate200iD with Moveit on Gazebo Jul 6, 2016
@wkentaro wkentaro changed the title Demonstration of controlling LRMate200iD with Moveit on Gazebo [fanuc_lrmate200id_moveit_config] Demonstration of controlling LRMate200iD with Moveit on Gazebo Jul 6, 2016
@wkentaro wkentaro force-pushed the gazebo-plus-moveit branch 4 times, most recently from 66120f8 to c6c4333 Compare July 6, 2016 13:47
@gavanderhoorn
Copy link
Member

Hi, thanks for the PR.

Can you tell me how this is related to #20?

- name: ""
action_ns: joint_trajectory_action
- name: joint_trajectory_controller
action_ns: follow_joint_trajectory
type: FollowJointTrajectory
joints: [joint_1, joint_2, joint_3, joint_4, joint_5, joint_6]
Copy link
Member

@gavanderhoorn gavanderhoorn Jul 6, 2016

Choose a reason for hiding this comment

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

We cannot change this file, as it is used with the default moveit_planning_execution.launch (or at least: MoveIt is configured to use it as it is via one of the included launch files).

You'd have to remap the AS topics to the 'ros-industrial specs'. See abb_experimental/abb_irb120_gazebo/launch/irb120_gazebo.launch for an example.

@gavanderhoorn
Copy link
Member

(moved to general discussion from on-commit comment)

The problem with adding an exec_depend on fanuc_lrmate200id_gazebo to fanuc_lrmate200id_moveit_config is that all users -- even those who just want to use fanuc_lrmate200id_moveit_config with real hardware -- will have to install all of Gazebo, and all its dependencies. That doesn't seem very nice - especially not when you want to run move_group on a headless machine.

In the case of the ABB IRB 120(T) and its Gazebo support package, for that reason, we chose to keep the Gazebo dependency (brought in transitively through abb_irb120_gazebo) optional, by not including it in abb_irb120_moveit_config/package.xml.

Instead, we only included the moveit_planning_execution_gazebo.launch file, and added an explanatory piece of text at the top (see abb_irb120_moveit_config/launch/moveit_planning_execution_gazebo.launch).

I'd prefer something like that for this lrmate200id package as well, and would appreciate it if you could make the necessary changes. It'd also mean renaming the gazebo_demo.launch to moveit_planning_execution_gazebo.launch.

@gavanderhoorn
Copy link
Member

There was some debate over whether the mpe_gazebo.launch file should actually not be in a different package, like the abb_irb120_gazebo package itself. Problem is that that package has no dependency on MoveIt, and it doesn't need it either, as it's perfectly possible to use Gazebo without MoveIt.

An alternative could be to create a new package, abb_irb120_gazebo_moveit_config which would contain just the mpe_gazebo.launch file, and exec_depend both on abb_irb120_moveit_config and abb_irb120_gazebo.

It would cleanly separate the dependencies, but a drawback is that it would add 1 + N packages for each N variants we want to add Gazebo support for.

The layout of abb_irb120_gazebo (and the packages in staubli_experimental) is certainly not the only way these things can be done, so I'm open to suggestions. Any ideas?

@shaun-edwards?

@gavanderhoorn gavanderhoorn changed the title [fanuc_lrmate200id_moveit_config] Demonstration of controlling LRMate200iD with Moveit on Gazebo lrmate200id_moveit_fg: demo of controlling LRMate200iD with Moveit on Gazebo Jul 6, 2016
@gavanderhoorn gavanderhoorn changed the title lrmate200id_moveit_fg: demo of controlling LRMate200iD with Moveit on Gazebo lrmate200id_moveit_cfg: demo of controlling LRMate200iD with Moveit on Gazebo Jul 6, 2016
@wkentaro
Copy link
Author

wkentaro commented Jul 6, 2016

Can you tell me how this is related to #20?

This PR depends on #20

@wkentaro
Copy link
Author

wkentaro commented Jul 6, 2016

Ok, I removed the dependency on fanuc_lrmate200id_gazebo and renamed the launch file to moveit_planning_execution_gazebo.launch.

@wkentaro wkentaro force-pushed the gazebo-plus-moveit branch 3 times, most recently from 8742e83 to f87352a Compare August 6, 2016 18:13
@akashjinandra
Copy link

Hello I'm wondering if there is a reason this hasn't been merged in yet? I think it would be very useful for the community to have a gazebo model for these robots.

@gavanderhoorn
Copy link
Member

gavanderhoorn commented Feb 4, 2021

The reason is/was that there are various aspects of the PR which weren't in a state that they were acceptable for inclusion in the repository.

I'd have to take another look to see what those were.

I think it would be very useful for the community to have a gazebo model for these robots.

while in general I agree, we have to keep in mind that Gazebo is a moving target, with sometimes very different behaviour between the different versions. What works well in one version does not have to work in others.

If we start adding Gazebo support packages for the robots here, it will significantly increase maintenance.


Edit: just took a quick look: the inertial and dynamics elements appear to only contain default values. This makes the xacro:macro compatible with Gazebo, but does not result in representative dynamic behaviour.

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

Successfully merging this pull request may close these issues.

3 participants