Skip to content

Commit

Permalink
Remove unused l1-norm helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewHWang1605 committed Apr 30, 2024
1 parent fd55bdf commit 1ad0e2e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ff_control/scripts/opt_ctrl_py_node
Original file line number Diff line number Diff line change
Expand Up @@ -327,12 +327,6 @@ class ThrusterOptControlNode(TrinaryThrusterController):
sum += x[i]**2
return sum

def normabs(self, x):
sum = 0
for i in range(x.shape[0]):
sum += fabs(x[i])
return sum

def unpack_wopt(self, w_opt):
w_opt = w_opt.full().flatten()
u0_opt = w_opt[6::10]
Expand Down

0 comments on commit 1ad0e2e

Please sign in to comment.