I have been facing this weird problem for over three weeks and have tried a lot of different ways to tackle it but still can’t solve the problem.
The setup:
I am using the Jetson Nano for my drone so I have connected my Pixhawk FCU to the Nano via USB.
I have also connected a ZED Mini camera using USB.
I have powered the Nano using a 4-cell LiPo battery via the barrel jack. There is a Power Distribution Board in between to make sure constant 5V is supplied to the Nano.
I had initially connected a WiFi dongle to the Nano, but later on, switched to the Intel WiFi adapter.
The problem:
I SSH to the Nano via my laptop and run MAVROS (ROS) node and the ZED ROS wrapper. I also run my own node which is a simple PID controller. But as soon as I start the ZED wrapper, the SSH connection becomes very slow or just stops responding. I start pinging the Nano from another terminal and see that there is no ping response or it says “Destination Host Unreachable”. I also have monitored the system’s memory usage via ‘htop’ and it doesn’t use any more than 50% on all the cores.
But interestingly, if I have connected the Nano to a display via HDMI, the system is working fine on that end. I can operate from there. I tried changing the power supply to an adapter, changed the WiFi dongle, changed the SD card, turned off the network power saver, added a fan on the heatsink, but the problem still persists.
The problem also isn’t consistent, I can test my stuff on a few lucky days with absolutely no lag, but a lot of times I face this problem and can’t find a fix to it. I know the description seems a little weird but if you need any more logs then please tell me but I desparately need to fix this issue.
Thank you for your time.