turtlebot3 icon indicating copy to clipboard operation
turtlebot3 copied to clipboard

Robot_launch.py process has died [pid 6524, exit code -11

Open muratcngncr opened this issue 3 years ago • 2 comments

ISSUE TEMPLATE ver. 0.4.0

  1. Which TurtleBot3 platform do you use?

    • [x] Burger
    • [ ] Waffle
    • [ ] Waffle Pi
  2. Which ROS is working with TurtleBot3?

    • [ ] ROS 1 Kinetic Kame
    • [ ] ROS 1 Melodic Morenia
    • [ ] ROS 1 Noetic Ninjemys
    • [ ] ROS 2 Dashing Diademata
    • [ ] ROS 2 Eloquent Elusor
    • [ ] ROS 2 Foxy Fitzroy
    • [x] etc (ROS 2 Galactic Geochelone)
  3. Which SBC(Single Board Computer) is working on TurtleBot3?

    • [ ] Intel Joule 570x
    • [ ] Raspberry Pi 3B+
    • [ ] Raspberry Pi 4
    • [x] etc (nvidia jetson nano)
  4. Which OS you installed on SBC?

    • [ ] Raspbian distributed by ROBOTIS
    • [x] Ubuntu MATE (16.04/18.04/20.04)
    • [ ] Ubuntu preinstalled server (18.04/20.04)
    • [ ] etc (Please specify your OS here)
  5. Which OS you installed on Remote PC?

    • [ ] Ubuntu 16.04 LTS (Xenial Xerus)
    • [ ] Ubuntu 18.04 LTS (Bionic Beaver)
    • [x] Ubuntu 20.04 LTS (Focal Fossa)
    • [ ] Windows 10
    • [ ] MAC OS X (Specify version)
    • [ ] etc (Please specify your OS here)
  6. Specify the software and firmware version(Can be found from Bringup messages)

    • Software version: [x.x.x]
    • Firmware version: [x.x.x]
  7. Specify the commands or instructions to reproduce the issue.

    • ros2 launch turtlebot3_bringup robot.launch.py
  8. Copy and Paste the error messages on terminal.

    • [INFO] [launch]: All log files can be found below /home/turtle/.ros/log/2022-03-29-16-47-01-147040-nano-6518 [INFO] [launch]: Default logging verbosity is set to INFO urdf_file_name : turtlebot3_burger.urdf [INFO] [robot_state_publisher-1]: process started with pid [6520] [INFO] [hlds_laser_publisher-2]: process started with pid [6522] [INFO] [turtlebot3_ros-3]: process started with pid [6524] [hlds_laser_publisher-2] [INFO] [1648561622.295262462] [hlds_laser_publisher]: Init hlds_laser_publisher Node Main [hlds_laser_publisher-2] [INFO] [1648561622.295478921] [hlds_laser_publisher]: port : /dev/ttyUSB0 frame_id : base_scan [turtlebot3_ros-3] [INFO] [1648561622.298224546] [turtlebot3_node]: Init TurtleBot3 Node Main [turtlebot3_ros-3] [INFO] [1648561622.299198244] [turtlebot3_node]: Init DynamixelSDKWrapper [turtlebot3_ros-3] [INFO] [1648561622.299656369] [DynamixelSDKWrapper]: Succeeded to open the port(/dev/ttyACM0)! [turtlebot3_ros-3] [INFO] [1648561622.300054962] [DynamixelSDKWrapper]: Succeeded to change the baudrate! [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 [robot_state_publisher-1] [INFO] [1648561622.334444754] [robot_state_publisher]: got segment base_footprint [robot_state_publisher-1] [INFO] [1648561622.334650535] [robot_state_publisher]: got segment base_link [robot_state_publisher-1] [INFO] [1648561622.334697358] [robot_state_publisher]: got segment base_scan [robot_state_publisher-1] [INFO] [1648561622.334732515] [robot_state_publisher]: got segment caster_back_link [robot_state_publisher-1] [INFO] [1648561622.334766629] [robot_state_publisher]: got segment imu_link [robot_state_publisher-1] [INFO] [1648561622.334799806] [robot_state_publisher]: got segment wheel_left_link [robot_state_publisher-1] [INFO] [1648561622.334832098] [robot_state_publisher]: got segment wheel_right_link [turtlebot3_ros-3] [INFO] [1648561622.336185900] [turtlebot3_node]: Start Calibration of Gyro [turtlebot3_ros-3] [INFO] [1648561627.336755552] [turtlebot3_node]: Calibration End [turtlebot3_ros-3] [INFO] [1648561627.337585860] [turtlebot3_node]: Add Motors [turtlebot3_ros-3] [INFO] [1648561627.339866851] [turtlebot3_node]: Add Wheels [turtlebot3_ros-3] [INFO] [1648561627.343783297] [turtlebot3_node]: Add Sensors [turtlebot3_ros-3] [INFO] [1648561627.348878188] [turtlebot3_node]: Succeeded to create battery state publisher [turtlebot3_ros-3] [INFO] [1648561627.351185746] [turtlebot3_node]: Succeeded to create imu publisher [turtlebot3_ros-3] [INFO] [1648561627.357559726] [turtlebot3_node]: Succeeded to create sensor state publisher [turtlebot3_ros-3] [INFO] [1648561627.358280379] [turtlebot3_node]: Succeeded to create joint state publisher [turtlebot3_ros-3] [INFO] [1648561627.358355653] [turtlebot3_node]: Add Devices [turtlebot3_ros-3] [INFO] [1648561627.358396389] [turtlebot3_node]: Succeeded to create motor power server [turtlebot3_ros-3] [INFO] [1648561627.360852308] [turtlebot3_node]: Succeeded to create reset server [turtlebot3_ros-3] [INFO] [1648561627.361543372] [turtlebot3_node]: Succeeded to create sound server [turtlebot3_ros-3] [INFO] [1648561627.362515998] [turtlebot3_node]: Run! [turtlebot3_ros-3] [INFO] [1648561627.375690650] [diff_drive_controller]: Init Odometry [turtlebot3_ros-3] [INFO] [1648561627.384176787] [diff_drive_controller]: Run! [turtlebot3_ros-3] [ERROR] [1648561628.299265974] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561628.599038786] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561629.799641194] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561630.599384885] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561630.999659598] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561633.799939459] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561634.600401591] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561636.150324467] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561637.100348102] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561639.350652772] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561640.300515497] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561641.700659924] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561642.100819170] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561643.501185715] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561647.251855985] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561648.751456301] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561650.151062921] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561650.351496135] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561650.701595144] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561654.201461125] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561655.451807444] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561656.401633573] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561656.751588850] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561657.602552967] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561659.051131452] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561660.151564752] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561661.301915161] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561661.601494035] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561661.951574564] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561665.202295694] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561665.701683930] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561667.301810407] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561668.101594994] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561668.651781098] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561670.801702627] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561671.951467834] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561673.issue051711111] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561673.851588217] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561674.702311482] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561677.602197210] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561677.701821892] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561679.251843052] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561680.001746121] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561684.101650246] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561685.301905293] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561690.101822838] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561691.501759228] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561692.052408905] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561692.352129824] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561693.502350854] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561694.752273153] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561696.952526172] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561697.803289349] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [turtlebot3_ros-3] [ERROR] [1648561700.754069682] [DynamixelSDKWrapper]: Failed to read[[TxRxResult] Incorrect status packet!] [ERROR] [turtlebot3_ros-3]: process has died [pid 6524, exit code -11, cmd '/opt/ros/galactic/lib/turtlebot3_node/turtlebot3_ros -i /dev/ttyACM0 --ros-args --params-file /opt/ros/galactic/share/turtlebot3_bringup/param/burger.yaml'].
  9. Please describe the issue in detail.

    • Hi, i just started to work with ROS2 , when i launch the robot.launch.py file starts to giving DynamixelSDKWrapper Failed to read [TxRxResult] Incorrect status packet!] error and after while turtlebot3_ros node died. Until the turtlebot3_ros node died i can able to move my turtlebot and also i can take all the sensors data.

muratcngncr avatar Mar 29 '22 13:03 muratcngncr

Hi @muratcngncr. Thank you for your questions.

Unfortunately, Please note that the nvidia jetson nano + ROS 2 Galactic version has not been tested as it is not an officially supported platform.

Please check whether Dynamixel works through Dynamixel Wizard 2.0. After uploading "usb to dxl" to OpenCR1.0, connect Dynamixel Wizard 2.0. After connecting Dynamixel Wizard 2.0, please check using functions such as firmware recovery and self-diagnosis.

Thank you.

ROBOTIS-Ashe avatar Mar 30 '22 01:03 ROBOTIS-Ashe

Unable to launch turtlebot3_bringup

  • Ubuntu 20.04 LTS (Focal Fossa)

  • ROS 2 Foxy Fitzroy

ros2 launch turtlebot3_bringup robot.launch.py

ERROR:

[INFO] [launch]: All log files can be found below /home/loye/.ros/log/2022-09-10-13-16-05-502716-loye-18011 [INFO] [launch]: Default logging verbosity is set to INFO Task exception was never retrieved future: <Task finished name='Task-2' coro=<LaunchService._process_one_event() done, defined at /opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py:226> exception=InvalidLaunchFileError('py')> Traceback (most recent call last): File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_sources/any_launch_file_utilities.py", line 53, in get_launch_description_from_any_launch_file return loader(launch_file_path) File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_sources/python_launch_file_utilities.py", line 68, in get_launch_description_from_python_launch_file return getattr(launch_file_module, 'generate_launch_description')() File "/home/loye/turtlebot3_ws/install/turtlebot3_bringup/share/turtlebot3_bringup/launch/robot.launch.py", line 33, in generate_launch_description LDS_MODEL = os.environ['LDS_MODEL'] File "/usr/lib/python3.8/os.py", line 675, in getitem raise KeyError(key) from None KeyError: 'LDS_MODEL'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py", line 228, in _process_one_event await self.__process_event(next_event) File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_service.py", line 248, in __process_event visit_all_entities_and_collect_futures(entity, self.__context)) File "/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 45, in visit_all_entities_and_collect_futures futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context) File "/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 45, in visit_all_entities_and_collect_futures futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context) File "/opt/ros/foxy/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 38, in visit_all_entities_and_collect_futures sub_entities = entity.visit(context) File "/opt/ros/foxy/lib/python3.8/site-packages/launch/action.py", line 108, in visit return self.execute(context) File "/opt/ros/foxy/lib/python3.8/site-packages/launch/actions/include_launch_description.py", line 130, in execute launch_description = self.__launch_description_source.get_launch_description(context) File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_source.py", line 84, in get_launch_description self._get_launch_description(self.__expanded_location) File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_sources/any_launch_description_source.py", line 53, in _get_launch_description return get_launch_description_from_any_launch_file(location) File "/opt/ros/foxy/lib/python3.8/site-packages/launch/launch_description_sources/any_launch_file_utilities.py", line 56, in get_launch_description_from_any_launch_file raise InvalidLaunchFileError(extension, likely_errors=exceptions) launch.invalid_launch_file_error.InvalidLaunchFileError: Caught exception when trying to load file of format [py]: 'LDS_MODEL'

AbisoyeAkinloye avatar Sep 10 '22 12:09 AbisoyeAkinloye