Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Dec 5, 2024
1 parent 095dccf commit d398e20
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ A collection of control functions for discrete control
Functions:
- saturation
- wrap2pi
- saturate
- limit
- merge_angles
- moving_average
Implemented as described in the PhD thesis of Uwe Fechner.
"""
Expand Down Expand Up @@ -44,7 +46,6 @@ Calculate the weighted average of two angles. The weight of beta,
factor_beta must be between 0 and 1.
"""
function merge_angles(alpha, beta, factor_beta)

x1 = sin(alpha)
y1 = cos(alpha)
x2 = sin(beta)
Expand Down

0 comments on commit d398e20

Please sign in to comment.