Update ehs.py
This commit is contained in:
parent
441cd27761
commit
3073187d24
@ -1002,8 +1002,8 @@ def BDS(msg):
|
|||||||
elif sum(isBDS) == 1:
|
elif sum(isBDS) == 1:
|
||||||
return BDS[isBDS.index(True)]
|
return BDS[isBDS.index(True)]
|
||||||
else:
|
else:
|
||||||
return = [bds for (bds, i) in zip(BDS, isBDS) if i]
|
bds_ = [bds for (bds, i) in zip(BDS, isBDS) if i]
|
||||||
|
return ','.join(bds_)
|
||||||
|
|
||||||
def Vxy(V, angle):
|
def Vxy(V, angle):
|
||||||
Vx = V*np.sin(np.deg2rad(angle))
|
Vx = V*np.sin(np.deg2rad(angle))
|
||||||
|
Loading…
Reference in New Issue
Block a user