示例#1
0
void CalculateRudderAngle(void)
{
    rudderSensorData.RudderPositionAngle = PotToRads(rudderSensorData.PotValue, rudderCalData.StarLimitValue, rudderCalData.PortLimitValue);
}
示例#2
0
void CalculateBallastAngle(void)
{
    ballastSensorData.BallastPositionAngle = PotToRads(ballastSensorData.PotValue, ballastCalData.StarLimitValue, ballastCalData.PortLimitValue);
}