/tty/ASM0 error

asked 2021-07-27 11:15:05 -0600

ishitwa2000 gravatar image

updated 2021-07-27 12:14:35 -0600

Here is the error:

.. logging to /home/ros/.ros/log/3ed63bd2-ed98-11eb-86cd-7facfb5a27e2/roslaunch-ros-VirtualBox-4814.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ros-VirtualBox:40533/

SUMMARY
========

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.15.11
 * /turtlebot3_core/baud: 115200
 * /turtlebot3_core/port: /dev/ttyACM0
 * /turtlebot3_core/tf_prefix: 
 * /turtlebot3_lds/frame_id: base_scan
 * /turtlebot3_lds/port: /dev/ttyUSB0

NODES
  /
    turtlebot3_core (rosserial_python/serial_node.py)
    turtlebot3_diagnostics (turtlebot3_bringup/turtlebot3_diagnostics)
    turtlebot3_lds (hls_lfcd_lds_driver/hlds_laser_publisher)

ROS_MASTER_URI=http://localhost:11311

process[turtlebot3_core-1]: started with pid [4828]
process[turtlebot3_lds-2]: started with pid [4829]
process[turtlebot3_diagnostics-3]: started with pid [4830]
[ERROR] [1627402275.338424825]: An exception was thrown: open: No such file or directory
[turtlebot3_lds-2] process has died [pid 4829, exit code 255, cmd /opt/ros/noetic/lib/hls_lfcd_lds_driver/hlds_laser_publisher __name:=turtlebot3_lds __log:=/home/ros/.ros/log/3ed63bd2-ed98-11eb-86cd-7facfb5a27e2/turtlebot3_lds-2.log].
log file: /home/ros/.ros/log/3ed63bd2-ed98-11eb-86cd-7facfb5a27e2/turtlebot3_lds-2*.log
[INFO] [1627402276.101253]: ROS Serial Python Node
[INFO] [1627402276.116334]: Connecting to /dev/ttyACM0 at 115200 baud
[ERROR] [1627402276.122689]: Error opening serial: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
[ERROR] [1627402279.130124]: Error opening serial: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
[ERROR] [1627402282.138732]: Error opening serial: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
edit retag flag offensive close merge delete

Comments

Are you using a virtualbox? Can you check by ls -l /dev whether the file ttyACM0 exists or not?

Andromeda gravatar image Andromeda  ( 2021-07-27 15:27:42 -0600 )edit

Yes I am using VM Ware. I have listed all files in /dev but I can't find ttyACMO0, this is the problem...😔

ishitwa2000 gravatar image ishitwa2000  ( 2021-07-27 22:46:22 -0600 )edit

Please someone answer...

ishitwa2000 gravatar image ishitwa2000  ( 2021-07-28 01:42:38 -0600 )edit

List all the tty serial port that you have. My intuition says to me, that you need to configure your VirtualBox... that should be the problem

Andromeda gravatar image Andromeda  ( 2021-07-28 02:07:18 -0600 )edit

Okay @Andromeda, I will try that

ishitwa2000 gravatar image ishitwa2000  ( 2021-07-28 04:47:09 -0600 )edit