Raspberry PI SSH disconects ROS after running matlab script

1 次查看(过去 30 天)
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 个评论
Cam Salzberger
Cam Salzberger 2022-2-7
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 2022-2-9
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.

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Raspberry Pi Hardware 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by