husarion / rosbot-xl-gamepad

A GitHub template for ROSbot XL: a gamepad control
Apache License 2.0
1 stars 0 forks source link

RosBot XL using Raspberry Pi cannot flash the new firmware patch #3

Open parth-20-07 opened 9 months ago

parth-20-07 commented 9 months ago

This is the error log when I run ./flash_rosbot_firmware.sh following the steps in README

husarion@husarion:~/Desktop/rosbot-xl-gamepad$ ./flash_rosbot_firmware.sh 
stopping all running containers
"docker stop" requires at least 1 argument.
See 'docker stop --help'.

Usage:  docker stop [OPTIONS] CONTAINER [CONTAINER...]

Stop one or more running containers
flashing the firmware for STM32 microcontroller in ROSbot
./flash_rosbot_firmware.sh: line 7: /usr/bin/yq: cannot execute binary file: Exec format error
Unable to find image 'flash-firmware.py:latest' locally
docker: Error response from daemon: pull access denied for flash-firmware.py, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

I have docker logged in already to my System.

delihus commented 7 months ago

Hi @parth-20-07, I could reproduce the issue. This change should fix this https://github.com/husarion/rosbot-xl-gamepad/pull/4

Best regards, JD