ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
the error is caused by LDS_MODEL = os.environ['LDS_MODEL']
a missing environment variable.
Try
export LDS_MODEL="none"
before running
ros2 launch turtlebot3_bringup robot.launch.py
that solved it for me. (mine turtlebot3 does not have a lidar, that's why I went with "none", you might need to figure it out). Note that on Foxy there is no such variable.