566 Ss /bin/sh -c sudo sh /home/pi/mavproxy.sh
568 S sudo sh /home/pi/mavproxy.sh
587 S sh /home/pi/mavproxy.sh
591 S sudo mavproxy.py – master=udp:127.0.0.1:14550 --out=udp:myname.ddns.net:14550 --notdr --daemon
600 Sl /usr/bin/python usr/local/bin/mavproxy.py – master=udp:127.0.0.1:14550 --out=udp:myname.ddns.net:14550 --notdr --daemon
Hope it helps to see if i am running multiple instances of mavproxy
yeah, you’re right;
rpi2 or rpi3? anything else cpu intensive stuff running?
check your cpu load;
sudo apt-get install sysstat
iostat
to identify processes with high cpu load:
sudo top
Hello Panky, i guess you would be interested in my findings since you helped me so much.
Today for the first time i had my ip changed in flight, nothing happened, as expected the system went into RTL but after 2-3 seconds connection came back and everything ok, including Mission Planner and Gstreamer, they came back to life.
I think it is because i am using a router onboard the Quad, so basicly the Raspberry never lost the connection that is phisically on ethernet to the router.
Hope you find it interesting.
There is a thing i would like to make better than it is now and i tried but my skills are still lacking a bit so i ask.
Now in rc.local i have a sleep of 60 seconds to allow the router to go online before i start Arducopter.
I would like to put a while loop in rc.local that somehow check for internet connection and exits the loop and starts Arducopter once the connection is up. Have any idea of how to implement it?
nice to hear everything goes so well with your solution and thanks for the follow up!
you can try to put scripts into /etc/network/if-up folder - your router might intialize as soon as he’s online…
I tought of that folder /etc/network/if-up but it only checks if the eth0 is up and connected to the router, not if the router is connected to internet so it fails.
So basicly, lets say this script is called “check internet” i run this new script from rc.local and keep looping it untill internet is up and start the arducopter.sh?
Can i launch 2 scripts after “then”? (arducopter and gstreamer?