上传固件时遇到 Fail to open port 1 : /dev/ttyACM0

PC上的Arduino IDE
ubuntu的下不能识别到 /dev/ttyACM0端口
 
Sketch uses 181904 bytes (23%) of program storage space. Maximum is 786432 bytes.
Global variables use 46380 bytes of dynamic memory.
opencr_ld ver 1.0.2
opencr_ld_main
>>
file name : /tmp/arduino_build_524798/turtlebot3_core.ino.bin
file size : 179 KB
Fail to open port 1 : /dev/ttyACM0
Fail to jump to boot
ser_open: unable to open port: No such file or directory
树莓派
 
 
ubuntu@Turtlebot3:~$ wget https://github.com/ROBOTIS-GIT ... r.bz2 && tar -xvf opencr_update.tar.bz2 && cd ./opencr_update && ./update.sh $OPENCR_PORT $OPENCR_MODEL.opencr && cd ..
--2019-12-21 18:55:41--  https://github.com/ROBOTIS-GIT ... r.bz2
Resolving github.com (github.com)... 13.229.188.59
Connecting to github.com (github.com)|13.229.188.59|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent. ... r.bz2 [following]
--2019-12-21 18:55:43--  https://raw.githubusercontent. ... r.bz2
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.64.133, 151.101.128.133, 151.101.192.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.64.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 400241 (391K) [application/octet-stream]
Saving to: 'opencr_update.tar.bz2'
opencr_update.tar.b 100%[===================>] 390.86K  245KB/s    in 1.6s   
2019-12-21 18:55:48 (245 KB/s) - 'opencr_update.tar.bz2' saved [400241/400241]
opencr_update/burger_turtlebot3_core.ino.bin
opencr_update/released_1.2.2.txt
opencr_update/waffle_turtlebot3_core.ino.bin
opencr_update/open_manipulator.opencr
opencr_update/opencr_ld_shell_arm
opencr_update/update.sh
opencr_update/
opencr_update/waffle.opencr
opencr_update/opencr_ld_shell_x86
opencr_update/open_manipulator_turtlebot3_core.ino.bin
opencr_update/burger.opencr
armv7l
arm
OpenCR Update Start..
opencr_ld_shell ver 1.0.0
opencr_ld_main
[  ] file name  : waffle.opencr
[  ] file size  : 178 KB
[  ] fw_name    : waffle
[  ] fw_ver      : 1.2.2
ser_open: unable to open port: No such file or directory
Fail to open port 1 : /dev/ttyACM0
[NG] Fail to jump to boot
[  ] file name  : waffle.opencr
[  ] file size  : 178 KB
[  ] fw_name    : waffle
[  ] fw_ver      : 1.2.2
ser_open: unable to open port: No such file or directory
Fail to open port 1 : /dev/ttyACM0
[NG] Fail to jump to boot
[  ] file name  : waffle.opencr
[  ] file size  : 178 KB
[  ] fw_name    : waffle
[  ] fw_ver      : 1.2.2
ser_open: unable to open port: No such file or directory
Fail to open port 1 : /dev/ttyACM0
[NG] Fail to jump to boot

启动机器人
 
 
ubuntu@Turtlebot3:~$ roslaunch turtlebot3_bringup turtlebot3_robot.launch
... logging to /home/ubuntu/.ros/log/2be68ad8-2542-11ea-bb88-0d9da910ead3/roslaunch-Turtlebot3-1776.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://localhost:43713/

SUMMARY
========

PARAMETERS
* /rosdistro: kinetic
* /rosversion: 1.12.14
* /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)

auto-starting new master
process[master]: started with pid [1786]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 2be68ad8-2542-11ea-bb88-0d9da910ead3
process[rosout-1]: started with pid [1801]
started core service [/rosout]
process[turtlebot3_core-2]: started with pid [1805]
process[turtlebot3_lds-3]: started with pid [1814]
process[turtlebot3_diagnostics-4]: started with pid [1819]
[INFO] [1577077677.732867]: ROS Serial Python Node
[INFO] [1577077677.757668]: Connecting to /dev/ttyACM0 at 115200 baud
[ERROR] [1577077677.765907]: Error opening serial: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] 
[turtlebot3_core-2] process has finished cleanly
log file: /home/ubuntu/.ros/log/2be68ad8-2542-11ea-bb88-0d9da910ead3/turtlebot3_core-2*.log
已邀请:

要回复问题请先登录注册