I'm getting error while trying bringup turtlebot3 ros2 Foxy

asked 2023-04-27 04:23:02 -0600

Nomercy gravatar image

here's the error code:

ubuntu@ubuntu:~$ ros2 launch turtlebot3_bringup robot.launch.py --debug

urdf_file_name : turtlebot3_burger.urdf /opt/ros/foxy/share/hls_lfcd_lds_driver/launch/hlds_laser.launch.py:46: UserWarning: The parameter 'node_executable' is deprecated, use 'executable' instead Node( /opt/ros/foxy/share/hls_lfcd_lds_driver/launch/hlds_laser.launch.py:46: UserWarning: The parameter 'node_name' is deprecated, use 'name' instead Node( Executing <task finished="" name="Task-2" coro="&lt;LaunchService._process_one_event()" done,="" defined="" at="" opt="" ros="" foxy="" lib="" python3.8="" site-packages="" launch="" launch_service.py:274=""> result=None created at /opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py:365> took 0.386 seconds [robot_state_publisher-1] Parsing robot urdf xml string. [robot_state_publisher-1] Link base_link had 5 children [robot_state_publisher-1] Link caster_back_link had 0 children [robot_state_publisher-1] Link imu_link had 0 children [robot_state_publisher-1] Link base_scan had 0 children [robot_state_publisher-1] Link wheel_left_link had 0 children [robot_state_publisher-1] Link wheel_right_link had 0 children [turtlebot3_ros-3] terminate called after throwing an instance of 'rclcpp::exceptions::RCLError' [turtlebot3_ros-3] what(): could not create publisher: rcl node's context is invalid, at /tmp/binarydeb/ros-foxy-rcl-1.1.11/src/rcl/node.c:441

edit retag flag offensive close merge delete