Raspberry PI SSH disconects ROS after running matlab script

1 view (last 30 days)
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 Comments
Cam Salzberger
Cam Salzberger on 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 on 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.

Sign in to comment.

Answers (1)

Jagadeesh Konakalla
Jagadeesh Konakalla on 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.

Categories

Find more on Raspberry Pi Hardware in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!