Skip to content

Refactored launch files#1118

Merged
orduno merged 5 commits intoros-navigation:masterfrom
orduno:multi-robot/refactor_launch
Sep 18, 2019
Merged

Refactored launch files#1118
orduno merged 5 commits intoros-navigation:masterfrom
orduno:multi-robot/refactor_launch

Conversation

@orduno
Copy link
Copy Markdown
Contributor

@orduno orduno commented Sep 13, 2019


Basic Info

Info Please fill out this column
Ticket(s) this addresses #1078
Primary OS tested on Ubuntu 18.04
Robotic platform tested on TB3 simulation

Description of contribution in a few bullet points

Did some refactoring of nav2_bringup:

  • Improved launch file re-use: simulation_launch ➡️ bringup_launch ➡️ localization_launch & navigation_launch
  • Use launch_ros.actions.Node mechanism to launch the nodes instead of ExecuteProcess.
  • Fix launching full simulation.

I'm setting priority as high since running in simulation is currently broken (other than system test).


Future work that may be required in bullet points

@orduno orduno added the 1 - High High Priority label Sep 13, 2019
@orduno orduno added this to the September milestone Sep 13, 2019
@orduno orduno self-assigned this Sep 13, 2019
@orduno orduno force-pushed the multi-robot/refactor_launch branch from 781d2a5 to 6d5ddd9 Compare September 13, 2019 22:43
@orduno orduno changed the title Refactored launch files including TB3 simulation Refactored launch files Sep 13, 2019
Copy link
Copy Markdown
Collaborator

@mkhansenbot mkhansenbot left a comment

Choose a reason for hiding this comment

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

Overall, this is really good, but I have a few comments and suggestions.

Copy link
Copy Markdown

@bpwilcox bpwilcox left a comment

Choose a reason for hiding this comment

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

We had a short discussion about this last week, but should we consider moving the world, map, and the nav2_simulation_launch.py into a separate 'turtlebot3_example' directory under nav2_bringup? As is, we are still providing some defaults that are turtlebot3-specific in the launch files. I think separating out those files would make it more clear to the user. To that end, I think the base launch files would not provide any defaults that are specific to the turtlebot3 environment.

@orduno
Copy link
Copy Markdown
Contributor Author

orduno commented Sep 16, 2019

@mkhansen-intel @SteveMacenski I've pushed changes to address your feedback.

Does everyone agree with @bpwilcox recommendations? i.e. to:

  1. Remove TB3 specific defaults from localization_launch, navigation_launch and bringup_launch.
  2. Create a turtlebot3 folder with sub-folders for launch (tb3_simulation_launch), maps, params, and world.

@mkhansenbot
Copy link
Copy Markdown
Collaborator

@mkhansen-intel @SteveMacenski I've pushed changes to address your feedback.

Does everyone agree with @bpwilcox recommendations? i.e. to:

1. Remove TB3 specific defaults from `localization_launch`, `navigation_launch` and `bringup_launch`.

2. Create a `turtlebot3` folder with sub-folders for launch (`tb3_simulation_launch`), maps, params, and world.

I'm good with this

@SteveMacenski
Copy link
Copy Markdown
Member

Ive got no blockers on this but I don’t know the launch API well enough to give any meaningful feedback

@orduno
Copy link
Copy Markdown
Contributor Author

orduno commented Sep 17, 2019

@mkhansen-intel I've addressed your last feedback.

@bpwilcox Matt and I had an offline discussion on your proposal. We would like to make those changes on a separate PR.

@bpwilcox
Copy link
Copy Markdown

@orduno That's okay if you want to do a follow-up PR, but I was thinking that those changes aren't very independent from this PR, considering you are creating and moving directories here.

@orduno
Copy link
Copy Markdown
Contributor Author

orduno commented Sep 17, 2019

I'm thinking that factoring out TB3 dependencies logically corresponds to a separate PR.

Can I get your approval to merge this?

Copy link
Copy Markdown
Collaborator

@mkhansenbot mkhansenbot left a comment

Choose a reason for hiding this comment

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

I approve, and agree the refactoring of TB3 into another folder can be a follow up, let's get this in

@orduno orduno merged commit 44dcd60 into ros-navigation:master Sep 18, 2019
savalena pushed a commit to savalena/navigation2 that referenced this pull request Jul 5, 2024
* Refactored launch files including fixes for
launching TB3 in simulation.
Forsyth-Creations pushed a commit to Forsyth-Creations/navigation2 that referenced this pull request Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 - High High Priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "--ros-args -r" arguments for Eloquent

4 participants