I’m getting a import error multiple times. Fixed it once but i can’t remember how i did that. Is there someone who can help me?
What exactly are you trying to import? Is it a class in launch_ros.actions? If so use
from launch_ros.actions import Node
or whatever it is. Also post the exact error. If you created a new package, make sure you catkin_make
first and source ~/catkin_ws/devel/setup.bash
in EVERY SHELL, otherwise, it doesnt know where launch_ros is.
1 Like
Thanks, I forgot to use colcon build
.
1 Like
Many thanks for helping out as usual! Your input was quite helpful, as we can all see
In ROS2, among others, we use:
~/ros2_ws/
colcon build
source ~/ros2_ws/install/setup.bash
You might want to check the course out!
Way to go. Go go go pushing your ROS2 learning .