Closed GPrathap closed 11 months ago
Did you copy from the Humble or main branch? main targets rolling. I believe this is your issue 😉
try humble on for size
Hi, I'm having a similar trouble. I'm following this, so I installed the versions of the packages listed in the guide for Humble, which is the ROS2 version I have, but when I try to launch the file I obtain the same error on the substitution.
Indeed, if I look at the documentation for nav2_common.launch.ReplaceString
, there is no condition
field.
Ensure that all branches are humble,
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)
I noticed that in /opt/ros/humble/lib/python3.10/site-packages/launch_ros/actions/init.py It is defined as
PushRosNamespace
not asPushROSNamespace
When I update, i.e., checked out the humble branch, it I got the following error
[ERROR] [launch]: Caught exception in launch (see debug for traceback): ReplaceString.__init__() got an unexpected keyword argument 'condition'
Is this a bug?
Bug report
Required Info: