Instead of connecting USB during calibration, you would like to connect Wifi to calibrate the drone via QGroundControl. Here, I choose to further connect my Wifi instead of the drone built-in Wifi.
Steps:
Insert the SD card with raspi image into Raspberry Pi board.
Connect a display, keyboard and power supply to the Raspberry Pi board. It will power up automatically.
When the login screen appears, login with user name pi and password raspberry.
Configure the raspberry pi software by sudo raspi-config.
Localisation Options → Change Timezone → Europe → London
Localisation Options → Wi-Fi Country → GB Britain (UK) [**This will disable internal WiFi]
Advanced Options → Expand Filesystem [**Expand the memory]
** Do not Update (get disable by COEX)
Reboot to update the configuration settings by sudo reboot.
Configure the font size of the terminal by sudo dpkg-reconfigure console-setup to launch Package Configuration. UTF-8 → Guess optimal character set → Terminus → 16x32
You can see the terminal text becomes bigger now.
Configure Wi-Fi Settings from Access point mode to Client mode.
Disable the dnsmasq service by sudo systemctl stop dnsmasq and sudo systemctl disable dnsmasq.
Enable DHCP client on the wireless interface to obtain IP address. Remove these lines from /etc/dhcpcd.conf file. By sudo vim /etc/dhcpcd.conf, press d+d to delete the select line, interface wlan0 and static ip_address=192.168.11.1/24.
Delete WiFi dictionary in /etc/wpa_supplicant/wpa_supplicant.conf. Add your own WiFi.
Restart the dhcpcd service by sudo systemctl restart dhcpcd.
Restart. sudo reboot
You can now ssh from your laptop to the raspi. If your laptop and raspi are in the same Wifi, open your terminal, type ssh pi@192.168.x.xxx (check your laptop ip via ifconfig | grep inet. Search your pi address via nmap -sP 192.168.x.0/24.) Login via password raspberry.
Optional -- LED strip
Disable LED strip support in ~/catkin_ws/src/clover/clover/launch/clover.launch by <name="led" default="false"/>.
Change number of LEDs turned on in ~/catkin_ws/src/clover/clover/launch/led.launch, by <param name="led_count" value="30"/>.
Change pinout to LED strip in ~/catkin_ws/src/clover/clover/launch/led.launch, by <param name="gpio_pin" value="21"/>.
Disable LED strip notifications set in ~/catkin_ws/src/clover/clover/launch/led.launch, by <arg name="led_notify" default="false"/>.