Skip to content

Commit

Permalink
chore: Tried out the 'Just map the torques to the RPM range' approach…
Browse files Browse the repository at this point in the history
… and it failed
  • Loading branch information
hedaniel7 committed Feb 16, 2024
1 parent 1f85a32 commit d83df73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gym_pybullet_drones/control/MPCCasADiControl.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def computeControl(self,
psi = x_step_0[5] # psi-angle, Euler angles
#target_rotation = np.array([float(phi), float(theta), float(psi)])'''

## Just map it to the range approach
## Just map it to the range approach -> This seems to not work

#target_torques = np.array([float(tau_phi_step_0) * 3200 / 1.257, float(tau_theta_step_0) * 3200 / 1.257, float(tau_psi_step_0) * 3200 / 0.2145])

Expand Down

0 comments on commit d83df73

Please sign in to comment.