Open dimitriasilveria opened 1 year ago
possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
One possible solution: https://www.hostinger.com.br/tutoriais/arquivo-sudoers
sudo docker build -t teste_ino --build-arg CACHEBUST=$(date +%s) .
sudo docker run -it --privileged -v /dev:/dev -v /etc/localtime:/etc/localtime TZ=America/Sao_Paulo --name teste_ino teste_ino bash
caminho para SerialClient.py: /rosserial/rosserial_python/src/rosserial_python/SerialClient.py
funcionou no meu pc: https://github.com/frankjoshua/rosserial_arduino_lib/tree/master
Tried to run rosserial inside of a docker container on a intel nuc, and the same error kept returning "Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino". We tested several times on intel nuc, until we decide to test inside a docker container in my pc. It worked fine so probably is a permission problem. Possible solution:
Error: Cannot open /dev/ttyUSB0: Permission denied Solution: sudo su //type your password cd / cd dev chown username ttyUSB0