ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
No, you can't directly run ROS 1 nodes in ROS 2, ROS 2 is a complete rewrite without built-in backwards compatibility with ROS 1. A quick search would have pointed you to the comprehensive migration guide:
https://docs.ros.org/en/foxy/Contributing/Migration-Guide.html
Having said that, you could run ROS 1 nodes next to ROS 2 using the ROS 1 bridge