PX4 starts automatically after the RB5 has connected to a network and an IP is obtained.
By default, we look for an IP address of
192.168 on the
This is specified in a systemd service file here:
You’ll notice we speficy an IP and an interface in this file in the
ExecStart line. You can adjust as needed:
[Unit] Description=rb5-net-check After=sscrpcd.service Requires=sscrpcd.service [Service] Type=oneshot ExecStart=/usr/bin/rb5-net-check wlan0 192.168 RemainAfterExit=yes [Install] WantedBy=multi-user.target
Assuming the network is acquired, PX4 automatically starts.
systemctl status rb5-px4-start
If it is not running, it can be enabled to run on boot using the following:
systemctl enable rb5-px4-start
It can also be disabled from running at boot using:
systemctl disable rb5-px4-start
More information about the services is located here
The startup configuration is specified here:
The service that starts PX4 up on bootup is here: