Dronekit Control Motors Command


I am planning to build a rover boat using pixhawk4. But I will use Jetson Nano as the master to control the pixhawk4 with python script. Is there any python command that can control the speed of the motors individually? Or I can only control the vehicle speed? Because we are planning to design our own control system instead of using pixhawk built in controller