Skip to content

Commit b433fb2

Browse files
committed
Add getters on velocity message
1 parent 9bc8047 commit b433fb2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/main/java/aero/t2s/modes/decoder/df/df17/AirborneVelocityGroundspeed.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,20 @@ public void apply(Track track) {
9393
.setVy(yVelocity);
9494
}
9595
}
96+
97+
public boolean isVxAvailable() {
98+
return xVelocityAvailable;
99+
}
100+
101+
public int getVx() {
102+
return xVelocity;
103+
}
104+
105+
public boolean isVyAvailable() {
106+
return yVelocityAvailable;
107+
}
108+
109+
public int getVy() {
110+
return yVelocity;
111+
}
96112
}

0 commit comments

Comments
 (0)