How to control the thrust and torque of quadrotor through /mavros/actuator_control

Hi! I want to issue thrust and torque control commands directly to the drone through mavros. When I use my self-designed controller to obtain the control quantity of the quadcopter, how should I map it to the torque command interval required by the /mavros/actuaor_control topic, which is (-1,1) and the thrust is (0,1). What is the specific mapping relationship?