hadabot / hadabot_main

Content used in collaboration with various Hadabot blog posts to get guide you through learning ROS2.
https://blog.hadabot.com
GNU General Public License v3.0
38 stars 19 forks source link

uhadabot.hbz upload fails from webtool #33

Open kingb opened 1 year ago

kingb commented 1 year ago

After using the web tool to upload (successfully connects to /dev/ttyUSB0), no lights blinks, and a check of the file system shows:

picocom /dev/ttyUSB0 -b115200

picocom v3.1

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
hangup is      : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,
logfile is     : none
initstring     : none
exit_after is  : not set
exit is        : no

Type [C-a] [C-h] to see available commands
Terminal ready

>>> import os
>>> os.listdir()
['boot.py', 'webrepl_cfg.py']
>>> 

Using #32 to bypass the previous problem, I tried uploading the uhadabot.hbz with the web utility. I'm not sure what I should be looking for, but it doesn't seem to be working as the light doesn't blink as the web application says it should, and listing the directory on the ESP32 doesn't show any new information.

A-Marzouk commented 1 year ago

I faced the same issue, the blue led didn't blink. I just skipped this step and continued to upload the uhadabot.hbz file and it worked fine and connected to my wifi (2.4GHz).