Raspberry PI SSH disconects ROS after running matlab script

1 Ansicht (letzte 30 Tage)
Dominika Krason
Dominika Krason am 5 Feb. 2022
Hi,
I have something of unusual problem, about two weeks ago I started having problems with my RPI and I still cant find the solution so I hope some of you will be able to help. I can connect to PuTTY with no problem, initialise ROS also with no problem and then run my script. After running it the SSH conection is lost every single time. Putty error was "Network error connection abort" I downloaded then Solar putty and at first there was no problem but then the same thing started happening only the message is "Disconnect (host hard reset!)". The RPI itself never stops running and the internet pings are not distrupted while this errors occurs. Ive tried updating the softwarre and enabling TCP 's with values 5,40 even 300, doesnt make any change and I dont know what to do anymore. Please share your suggestions.
  2 Kommentare
Cam Salzberger
Cam Salzberger am 7 Feb. 2022
Hello Dominika,
Can you clarify what script you are running that causes the connection issue? You're talking about a MATLAB script running on your host machine, not a script running on your Raspberry Pi?
What functionality is the script using from ROS Toolbox? Particularly, is it making use of rosdevice?
-Cam
Dominika Krason
Dominika Krason am 9 Feb. 2022
Thanks for the reply, I've actually solved the problem. Turns out cable from my power supply stopped giving current of 2.4A and started oscillating from 0.5 to 1.5A. I suspect that it just needed more power to work with matlab and after running script once it was giving out.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jagadeesh Konakalla
Jagadeesh Konakalla am 22 Jun. 2022
Turns out cable from power supply stopped giving current of 2.4A and started oscillating from 0.5 to 1.5A. I suspect that it just needed more power to work with matlab and after running script once it was giving out.

Kategorien

Mehr zu Raspberry Pi Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by