You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There may be a misunderstanding or misuse of the Gazebo motor model plugin parameters. Specifically, the “maxRotVelocity” parameter, which is described as the “Maximum rotational velocity command in units of rad/s”, seems to be leading to unintended results in the thrust calculation.
The thrust force is computed using the following equation:
thrust = realMotorVelocity * realMotorVelocity * this->motorConstant;
Here, the variable realMotorVelocity is defined as:
double realMotorVelocity = motorRotVel * this->rotorVelocitySlowdownSim;
Consequently, at full throttle, the resulting force calculation is:
(maxRotVelocity * 10)^2 * motorConstant.
Based on my calculations, the resulting force in Gazebo appears significantly higher than expected. I am uncertain if I am misinterpreting a specific aspect of the model or if there is an issue with the parameter setup. In my calculation the thrust force is very high. Also drone climbs very fast. I think there is a problem. Any guidance or insight into this discrepancy would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
As observed, the ESC PWM values are approximately 250, while the joystick input remains below the halfway mark. Despite this moderate input, the drone exhibits rapid ascent behavior. The custom parameters currently in use are as follows:
Environment
Description
The thrust force is computed using the following equation:
thrust = realMotorVelocity * realMotorVelocity * this->motorConstant;
Here, the variable realMotorVelocity is defined as:
double realMotorVelocity = motorRotVel * this->rotorVelocitySlowdownSim;
Consequently, at full throttle, the resulting force calculation is:
(maxRotVelocity * 10)^2 * motorConstant.
Based on my calculations, the resulting force in Gazebo appears significantly higher than expected. I am uncertain if I am misinterpreting a specific aspect of the model or if there is an issue with the parameter setup. In my calculation the thrust force is very high. Also drone climbs very fast. I think there is a problem. Any guidance or insight into this discrepancy would be greatly appreciated.
The text was updated successfully, but these errors were encountered: