move nav_2d_msgs & nav_2d_utils out of nav2_dwb_controller#5390
move nav_2d_msgs & nav_2d_utils out of nav2_dwb_controller#5390adivardi wants to merge 1 commit intoros-navigation:mainfrom
Conversation
|
This pull request is in conflict. Could you fix it @adivardi? |
|
@adivardi, your PR has failed to build. Please check CI outputs and resolve issues. |
As they are used by other packages as well Signed-off-by: Adi Vardi <adi.vardi@enway.ai>
|
@adivardi, your PR has failed to build. Please check CI outputs and resolve issues. |
|
I understand the impulse, but these packages are specific to DWB even if they don't have a I did just check and it looks like we use them in the |
|
I think nav_2d_utils can be removed actually we have this in nav2_util already OdomSubscribr and tf_help can be moved to nav2_util, as they are used in many parts of the code Are Twist2dto3d and 3dto2d needed? I think we can remove the 2d one(?) |
I moved them out because they are used in By |
|
@mini-1235 it is probably likely that some or all of these can be removed, you're right. I didn't spend much time on that since it wasn't critical. If you felt inclined to do so, I'll never argue with maintaining less code 😉 These were just how David implemented DWB back in the Locus @adivardi I see. My preference would actually be on @mini-1235 's direction of moving any useful utilities to nav2_utils, updating non-DWB packages to use Nav2's main util package, and remove the package possibly if the migration within DWB is desirable. Sorry, that was my mistake in being precise. By 'remove' I meant to remove the use of these packages in other non-DWB packages so it is isolated back into DWB again. |
|
Closing with the new PR taking priority |
Basic Info
Description of contribution in a few bullet points
Move nav_2d_msgs & nav_2d_utils out of nav2_dwb_controller, as they are used by other packages as well.
Motivation:
Description of documentation updates required from your changes
None
Description of how this change was tested
Built from nav2 source with full build,
--packages-up-to nav2_controller,--packages-up-to nav2_dwb_controllerFuture work that may be required in bullet points
For Maintainers:
backport-*.