Skip to content

Commit

Permalink
⚠️ change parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamagoham committed Jul 16, 2024
1 parent 45d8c3b commit d83ec2e
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 d83ec2e

Please sign in to comment.