0
$\begingroup$

I want to make some modifications to the nav2_bringup package. Therefore, I just copied the nav2_bringup package put it in the workspace and ran the Turtlebot 3 simulator. The following error occurred. Without copies, no errors, all work fine.

https://github.com/ros-planning/navigation2/blob/main/nav2_bringup/README.md

[ERROR] [launch]: Caught exception in launch (see debug for traceback): cannot import name 'PushROSNamespace' from 'launch_ros.actions' (/opt/ros/humble/lib/python3.10/site- packages/launch_ros/actions/__init__.py)

$\endgroup$

1 Answer 1

1
$\begingroup$

Pull your config file from the humble branch, not the main branch (which targets Rolling). Your issue is API updates made to more recent distributions are not in Humble. Mirror from the humble branch instead.

$\endgroup$
1
  • $\begingroup$ Yeap, pull did not help me, however, I coped from the installed nav2 package , and then all went fine. Thank youu $\endgroup$
    – GPrathap
    Sep 28 at 7:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.