Skip to content

Commit

Permalink
Merge pull request #51 from Rione/fix/kalman_ball_filter
Browse files Browse the repository at this point in the history
⚠️ change parameter
  • Loading branch information
Tamagoham authored Jul 16, 2024
2 parents b6a6654 + d83ec2e commit 31d5a10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions visionreceive.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func VisionReceive(chvision chan bool, port int, ourteam int, goalpos int, simmo
var K float64 = 20.0
var Ad_lowpass float64 = 0.818731
var Bd_lowpass float64 = 0.181269
var DeltaPmax float64 = 6 * Ts * 3
var DeltaPmax float64 = 6 * Ts * 4
var ObPosX_k_1 float64 = 0.0
var ObPosY_k_1 float64 = 0.0
var ObPosX_lowpass float64 = 0.0
Expand Down Expand Up @@ -502,7 +502,7 @@ func VisionReceive(chvision chan bool, port int, ourteam int, goalpos int, simmo
// ObVelX = ObVelX * math.Exp(-mu*(m*10))
// ObVelY = ObVelY * math.Exp(-mu*(m*10))

if Thru_Count < 30 {
if Thru_Count < 150 {
ObPosX_lowpass = Temp_lowpassX
ObPosY_lowpass = Temp_lowpassY
} else {
Expand Down

0 comments on commit 31d5a10

Please sign in to comment.