Hardware tests with nimbro network make the router lag #162
-
Hello, However, if we do one of the listed below (individually, starting from the default configuration), the tmux sessions start to lag or even completely freeze. Sometimes the WI-FI router completely stops working and has to be turned OFF and ON. This makes us lose control of the UAVs and they have to be manually landed with the transmitter.
It seems that to make it work, almost nothing should be printed in the tmux sessions and the amount of information that can be communicated with the nimbro network should not be more than the equivalent of ‘’mpc_tracker/predicted_trajectory’’ at a rate of 5 Hz (and ideally only at a rate of 2 Hz) + the other topics in the nimbro file. We want to make hardware tests with our controller and tracker with 2 UAVs communicating the following: In simulation (on two different computers using the nimbro network with the router) it works fine with a rate of 20 Hz. But it doesn’t in hardware. Is it because it is too much for the router when it has to ssh both tmux sessions as well ? My questions are :
Thanks for your help, Martin |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
After having removed as much printing as possible (in our own codes) in the tmux sessions (Removed unnecessary prints + Period of prints on 10 seconds), the communication of the desired messages is possible at a rate of 20 Hz. However, the freezing of the sshing/router still happens on some occasions, but a higher communication rate does not seem to lead to more frequent freezes. The frequency of occurrence of these freezes are acceptable, it is just important to be ready to take over manually in case it happens. It was also noted that the quality of communication is lower at the start, but also when arming the UAVs and during the takeoff. During flight, it works fine. If you have any recommendation to improve the communication further, don't hesitate to mention it. Sincerely, Martin |
Beta Was this translation helpful? Give feedback.
After having removed as much printing as possible (in our own codes) in the tmux sessions (Removed unnecessary prints + Period of prints on 10 seconds), the communication of the desired messages is possible at a rate of 20 Hz. However, the freezing of the sshing/router still happens on some occasions, but a higher communication rate does not seem to lead to more frequent freezes. The frequency of occurrence of these freezes are acceptable, it is just important to be ready to take over manually in case it happens.
It was also noted that the quality of communication is lower at the start, but also when arming the UAVs and during the takeoff. During flight, it works fine.
If you have any rec…